Align

Align class

Indicates the alignment of a shape with respect to the guide or guide point to which the shape is glued. The Align element appears only for shapes that are glued to guides or guide points.

Methods

NameDescription
deepClone()Creates deep copy of this instance.
getAlignBottom()Determines the vertical position, relative to the origin of its parent, of a horizontal guide or guide point to which th
getAlignCenter()Determines the horizontal position, relative to the origin of its parent, of a vertical guide or guide point to which th
getAlignLeft()Determines the horizontal position, relative to the origin of its parent, of a vertical guide or guide point to which th
getAlignMiddle()Determines the vertical position, relative to the origin of its parent, of a horizontal guide or guide point to which th
getAlignRight()Determines the horizontal position, relative to the origin of its parent, of a vertical guide or guide point to which th
getAlignTop()Determines the vertical position, relative to the origin of its parent, of a horizontal guide or guide point to which th
getDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
setDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca

deepClone()

Creates deep copy of this instance.

Returns: Object — Object

getAlignBottom()

Determines the vertical position, relative to the origin of its parent, of a horizontal guide or guide point to which the shape’s bottom border is aligned.

getAlignCenter()

Determines the horizontal position, relative to the origin of its parent, of a vertical guide or guide point to which the shape’s horizontal center is aligned.

getAlignLeft()

Determines the horizontal position, relative to the origin of its parent, of a vertical guide or guide point to which the shape’s left border is aligned.

getAlignMiddle()

Determines the vertical position, relative to the origin of its parent, of a horizontal guide or guide point to which the shape’s vertical center is aligned.

getAlignRight()

Determines the horizontal position, relative to the origin of its parent, of a vertical guide or guide point to which the shape’s right border is aligned.

getAlignTop()

Determines the vertical position, relative to the origin of its parent, of a horizontal guide or guide point to which the shape’s top border is aligned.

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.

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.