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

Property Description
pin_pos Specifies the pin position of the shape
pin_x Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
pin_y Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.
width Contains the width of the associated shape in drawing units.
height Specifies the height of the shape in drawing units.
loc_pin_x 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’.
loc_pin_y 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’.
angle Represents the shape’s current angle of rotation in relation to its parent.
flip_x Indicates whether the shape has been flipped horizontally
flip_y Indicates whether the shape has been flipped vertically.
resize_mode Specifies the current resize behavior setting for the shape when contained in a group.

Methods

Method Description
clone() Creates deep copy of this instance.

See Also