Control class
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.
The Control type exposes the following members:
Constructors
Properties
Property | Description |
---|
name | The name of the element. |
name_u | The universal name of the element. |
id | The unique ID of the element within its parent element. |
ix | The zero-based index of the element within its parent element. |
x | The x-coordinate that indicates the location of a shape’s control handle. |
y | The y-coordinate that indicates the location of a shape’s control handle. |
x_dyn | Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics. |
y_dyn | Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics. |
x_con | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
y_con | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
can_glue | Determines whether a control handle can be glued to other shapes. |
prompt | Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s control handle. |
Methods
Method | Description |
---|
clone() | Creates deep copy of this instance. |
See Also