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

Properties

NameTypeDescription
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
PinPosintSpecifies the pin position of the shape The value of the property is PinPosValue integer constant.
PinXDoubleValueSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
PinYDoubleValueSpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
WidthDoubleValueContains the width of the associated shape in drawing units.
HeightDoubleValueSpecifies the height of the shape in drawing units.
LocPinXDoubleValueSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default f
LocPinYDoubleValueSpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default f
AngleDoubleValueRepresents the shape’s current angle of rotation in relation to its parent.
FlipXBoolValueIndicates whether the shape has been flipped horizontally
FlipYBoolValueIndicates whether the shape has been flipped vertically.
ResizeModeResizeModeSpecifies the current resize behavior setting for the shape when contained in a group.

Methods

NameDescription
deepCloneCreates deep copy of this instance.

XForm.Del property

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.

Type: int

XForm.PinPos property

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

Type: int

XForm.PinX property

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

Type: DoubleValue

XForm.PinY property

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

Type: DoubleValue

XForm.Width property

Contains the width of the associated shape in drawing units.

Type: DoubleValue

XForm.Height property

Specifies the height of the shape in drawing units.

Type: DoubleValue

XForm.LocPinX property

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

Type: DoubleValue

XForm.LocPinY property

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

Type: DoubleValue

XForm.Angle property

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

Type: DoubleValue

XForm.FlipX property

Indicates whether the shape has been flipped horizontally

Type: BoolValue

XForm.FlipY property

Indicates whether the shape has been flipped vertically.

Type: BoolValue

XForm.ResizeMode property

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

Type: ResizeMode

deepClone()

Creates deep copy of this instance.