XForm class

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

The XForm type exposes the following members:

Properties

PropertyDescription
pin_posSpecifies the pin position of the shape
pin_xSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
pin_ySpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
widthContains the width of the associated shape in drawing units.
heightSpecifies the height of the shape in drawing units.
loc_pin_xSpecifies 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’.
loc_pin_ySpecifies 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’.
angleRepresents the shape’s current angle of rotation in relation to its parent.
flip_xIndicates whether the shape has been flipped horizontally
flip_yIndicates whether the shape has been flipped vertically.
resize_modeSpecifies the current resize behavior setting for the shape when contained in a group.

Methods

MethodDescription
clone()Creates deep copy of this instance.

See Also