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.

new Control()

Constructor.

Methods

NameDescription
canGlue()Determines whether a control handle can be glued to other shapes.
deepClone()Creates deep copy of this instance.
getDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
getID()The unique ID of the element within its parent element.
getIX()The zero-based index of the element within its parent element.
getName()The name of the element.
getNameU()The universal name of the element.
getPrompt()Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s con
getX()The x-coordinate that indicates the location of a shape’s control handle.
getXCon()Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
getXDyn()Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber
getY()The y-coordinate that indicates the location of a shape’s control handle.
getYCon()Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
getYDyn()Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber
setCanGlue()Determines whether a control handle can be glued to other shapes.
setDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
setID()The unique ID of the element within its parent element.
setIX()The zero-based index of the element within its parent element.
setName()The name of the element.
setNameU()The universal name of the element.
setPrompt()Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s con
setX()The x-coordinate that indicates the location of a shape’s control handle.
setXCon()Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
setXDyn()Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber
setY()The y-coordinate that indicates the location of a shape’s control handle.
setYCon()Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
setYDyn()Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber

canGlue()

Determines whether a control handle can be glued to other shapes.

deepClone()

Creates deep copy of this instance.

Returns: Object — Object

getDel()

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.

getID()

The unique ID of the element within its parent element.

getIX()

The zero-based index of the element within its parent element.

getName()

The name of the element.

getNameU()

The universal name of the element.

getPrompt()

Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s control handle.

getX()

The x-coordinate that indicates the location of a shape’s control handle.

getXCon()

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

getXDyn()

Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

getY()

The y-coordinate that indicates the location of a shape’s control handle.

getYCon()

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

getYDyn()

Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

setCanGlue()

Determines whether a control handle can be glued to other shapes.

setDel()

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.

setID()

The unique ID of the element within its parent element.

setIX()

The zero-based index of the element within its parent element.

setName()

The name of the element.

setNameU()

The universal name of the element.

setPrompt()

Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s control handle.

setX()

The x-coordinate that indicates the location of a shape’s control handle.

setXCon()

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

setXDyn()

Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

setY()

The y-coordinate that indicates the location of a shape’s control handle.

setYCon()

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

setYDyn()

Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.