XForm

XForm class

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

NameDescription
deepClone()Creates deep copy of this instance.
getAngle()Represents the shape’s current angle of rotation in relation to its parent.
getDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
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. The default f
getLocPinY()Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default f
getPinPos()Specifies the pin position of the shape The value of the property is PinPosValue integer constant.
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.
setAngle()Represents the shape’s current angle of rotation in relation to its parent.
setDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
setFlipX()Indicates whether the shape has been flipped horizontally
setFlipY()Indicates whether the shape has been flipped vertically.
setHeight()Specifies the height of the shape in drawing units.
setLocPinX()Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default f
setLocPinY()Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default f
setPinPos()Specifies the pin position of the shape The value of the property is PinPosValue integer constant.
setPinX()Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
setPinY()Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
setResizeMode()Specifies the current resize behavior setting for the shape when contained in a group.
setWidth()Contains the width of the associated shape in drawing units.

deepClone()

Creates deep copy of this instance.

Returns: Object — Object

getAngle()

Represents the shape’s current angle of rotation in relation to its parent.

getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

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. The default formula for determining LocPinX is: F=‘Width* 0.5’.

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’.

getPinPos()

Specifies the pin position of the shape The value of the property is PinPosValue integer constant.

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.

setAngle()

Represents the shape’s current angle of rotation in relation to its parent.

setDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

setFlipX()

Indicates whether the shape has been flipped horizontally

setFlipY()

Indicates whether the shape has been flipped vertically.

setHeight()

Specifies the height of the shape in drawing units.

setLocPinX()

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’.

setLocPinY()

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’.

setPinPos()

Specifies the pin position of the shape The value of the property is PinPosValue integer constant.

setPinX()

Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.

setPinY()

Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.

setResizeMode()

Specifies the current resize behavior setting for the shape when contained in a group.

setWidth()

Contains the width of the associated shape in drawing units.