Control
Control class
Contains elements for the x- and y-coordinates of each control handle defined for a shape, and elements that specify the way the control handle should behave.
Constructors
| Name | Description |
|---|---|
| Control | Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| Name | String | The name of the element. |
| NameU | String | The universal name of the element. |
| ID | int | The unique ID of the element within its parent element. |
| IX | int | The zero-based index of the element within its parent element. |
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| X | DoubleValue | The x-coordinate that indicates the location of a shape’s control handle. |
| Y | DoubleValue | The y-coordinate that indicates the location of a shape’s control handle. |
| XDyn | DoubleValue | Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber |
| YDyn | DoubleValue | Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber |
| XCon | ConType | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
| YCon | ConType | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
| CanGlue | BoolValue | Determines whether a control handle can be glued to other shapes. |
| Prompt | Str2Value | Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s con |
Methods
| Name | Description |
|---|---|
| deepClone | Creates deep copy of this instance. |
Control()
Constructor.
Control.Name property
The name of the element.
Type: String
Control.NameU property
The universal name of the element.
Type: String
Control.ID property
The unique ID of the element within its parent element.
Type: int
Control.IX property
The zero-based index of the element within its parent element.
Type: int
Control.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
Control.X property
The x-coordinate that indicates the location of a shape’s control handle.
Type: DoubleValue
Control.Y property
The y-coordinate that indicates the location of a shape’s control handle.
Type: DoubleValue
Control.XDyn property
Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.
Type: DoubleValue
Control.YDyn property
Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.
Type: DoubleValue
Control.XCon property
Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
Type: ConType
Control.YCon property
Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
Type: ConType
Control.CanGlue property
Determines whether a control handle can be glued to other shapes.
Type: BoolValue
Control.Prompt property
Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s control handle.
Type: Str2Value
deepClone()
Creates deep copy of this instance.