public class Image extends JavascriptObject implements Serializable
counter, JS_GLOBAL, objectIds| Constructor and Description |
|---|
Image()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
Number |
getRotation()
Returns the rotation of the image.
|
Number |
getScale()
Returns the scale of the image.
|
protected String |
renderAttributesJs() |
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
Image |
rotation(Number number)
Sets the rotation of the image.
|
Image |
scale(Number scale)
Sets the scale of the image.
|
void |
setRotation(Number rotation)
Sets the rotation of the image.
|
void |
setScale(Number scale)
Sets the scale of the image.
|
escapeQuoteJs, getJsId, getJsIdWithSuffixpublic Number getRotation()
public void setRotation(Number rotation)
rotation - New valuepublic Image rotation(Number number)
number - New valuepublic Number getScale()
public void setScale(Number scale)
scale - New valuepublic Image scale(Number scale)
scale - New valuepublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class JavascriptObjectprotected String renderAttributesJs()
public String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class JavascriptObjectCopyright © 2015. All rights reserved.