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
| Name | Type | Description |
|---|---|---|
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| PinPos | int | Specifies the pin position of the shape The value of the property is PinPosValue integer constant. |
| PinX | DoubleValue | Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent. |
| PinY | DoubleValue | Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent. |
| Width | DoubleValue | Contains the width of the associated shape in drawing units. |
| Height | DoubleValue | Specifies the height of the shape in drawing units. |
| LocPinX | DoubleValue | Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default f |
| LocPinY | DoubleValue | Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the origin of the shape. The default f |
| Angle | DoubleValue | Represents the shape’s current angle of rotation in relation to its parent. |
| FlipX | BoolValue | Indicates whether the shape has been flipped horizontally |
| FlipY | BoolValue | Indicates whether the shape has been flipped vertically. |
| ResizeMode | ResizeMode | Specifies the current resize behavior setting for the shape when contained in a group. |
Methods
| Name | Description |
|---|---|
| deepClone | Creates 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.