XForm
Inheritance: java.lang.Object
public class XForm
Contains elements that control line attributes for a shape, such as pattern, weight, and color. These elements determine whether the line ends are formatted (for example, with an arrowhead), the size of line end formats, radius of the rounding circle applied to the line, and line cap style (round or square).
Methods
Method | Description |
---|---|
deepClone() | Creates deep copy of this instance. |
equals(Object arg0) | |
getAngle() | Represents the shape’s current angle of rotation in relation to its parent. |
getClass() | |
getDel() | A flag indicating whether the element has been deleted locally. |
getFlipX() | Indicates whether the shape has been flipped horizontally |
getFlipY() | Indicates whether the shape has been flipped vertically. |
getHeight() | Specifies the height of the shape in drawing units. |
getLocPinX() | Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. |
getLocPinY() | Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. |
getPinPos() | Specifies the pin position of the shape |
getPinX() | Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent. |
getPinY() | Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent. |
getResizeMode() | Specifies the current resize behavior setting for the shape when contained in a group. |
getWidth() | Contains the width of the associated shape in drawing units. |
hashCode() | |
notify() | |
notifyAll() | |
setAngle(DoubleValue value) | For the description of this property, please see getAngle() |
setDel(int value) | For the description of this property, please see getDel() |
setFlipX(BoolValue value) | For the description of this property, please see getFlipX() |
setFlipY(BoolValue value) | For the description of this property, please see getFlipY() |
setHeight(DoubleValue value) | For the description of this property, please see getHeight() |
setLocPinX(DoubleValue value) | For the description of this property, please see getLocPinX() |
setLocPinY(DoubleValue value) | For the description of this property, please see getLocPinY() |
setPinPos(int value) | For the description of this property, please see getPinPos() |
setPinX(DoubleValue value) | For the description of this property, please see getPinX() |
setPinY(DoubleValue value) | For the description of this property, please see getPinY() |
setResizeMode(ResizeMode value) | For the description of this property, please see getResizeMode() |
setWidth(DoubleValue value) | For the description of this property, please see getWidth() |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
deepClone()
public Object deepClone()
Creates deep copy of this instance.
Returns: java.lang.Object -
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAngle()
public DoubleValue getAngle()
Represents the shape’s current angle of rotation in relation to its parent.
Returns: DoubleValue
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getDel()
public int getDel()
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.
Returns: int
getFlipX()
public BoolValue getFlipX()
Indicates whether the shape has been flipped horizontally
Returns: BoolValue
getFlipY()
public BoolValue getFlipY()
Indicates whether the shape has been flipped vertically.
Returns: BoolValue
getHeight()
public DoubleValue getHeight()
Specifies the height of the shape in drawing units.
Returns: DoubleValue
getLocPinX()
public DoubleValue getLocPinX()
Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default formula for determining LocPinX is: F=‘Width* 0.5’.
Returns: DoubleValue
getLocPinY()
public DoubleValue getLocPinY()
Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default formula for determining LocPinY is: F=‘Height * 0.5’.
Returns: DoubleValue
getPinPos()
public int getPinPos()
Specifies the pin position of the shape
Returns: int
getPinX()
public DoubleValue getPinX()
Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
Returns: DoubleValue
getPinY()
public DoubleValue getPinY()
Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
Returns: DoubleValue
getResizeMode()
public ResizeMode getResizeMode()
Specifies the current resize behavior setting for the shape when contained in a group.
Returns: ResizeMode
getWidth()
public DoubleValue getWidth()
Contains the width of the associated shape in drawing units.
Returns: DoubleValue
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAngle(DoubleValue value)
public void setAngle(DoubleValue value)
For the description of this property, please see getAngle()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setDel(int value)
public void setDel(int value)
For the description of this property, please see getDel()
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setFlipX(BoolValue value)
public void setFlipX(BoolValue value)
For the description of this property, please see getFlipX()
Parameters:
Parameter | Type | Description |
---|---|---|
value | BoolValue |
setFlipY(BoolValue value)
public void setFlipY(BoolValue value)
For the description of this property, please see getFlipY()
Parameters:
Parameter | Type | Description |
---|---|---|
value | BoolValue |
setHeight(DoubleValue value)
public void setHeight(DoubleValue value)
For the description of this property, please see getHeight()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setLocPinX(DoubleValue value)
public void setLocPinX(DoubleValue value)
For the description of this property, please see getLocPinX()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setLocPinY(DoubleValue value)
public void setLocPinY(DoubleValue value)
For the description of this property, please see getLocPinY()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setPinPos(int value)
public void setPinPos(int value)
For the description of this property, please see getPinPos()
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setPinX(DoubleValue value)
public void setPinX(DoubleValue value)
For the description of this property, please see getPinX()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setPinY(DoubleValue value)
public void setPinY(DoubleValue value)
For the description of this property, please see getPinY()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setResizeMode(ResizeMode value)
public void setResizeMode(ResizeMode value)
For the description of this property, please see getResizeMode()
Parameters:
Parameter | Type | Description |
---|---|---|
value | ResizeMode |
setWidth(DoubleValue value)
public void setWidth(DoubleValue value)
For the description of this property, please see getWidth()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |