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

ConstructorDescription
Control()Constructor.

Properties

PropertyDescription
nameThe name of the element.
name_uThe universal name of the element.
idThe unique ID of the element within its parent element.
ixThe zero-based index of the element within its parent element.
xThe x-coordinate that indicates the location of a shape’s control handle.
yThe y-coordinate that indicates the location of a shape’s control handle.
x_dynSpecifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.
y_dynSpecifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.
x_conSpecifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
y_conSpecifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
can_glueDetermines whether a control handle can be glued to other shapes.
promptPrompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s control handle.

Methods

MethodDescription
clone()Creates deep copy of this instance.

See Also