Align

Inheritance: java.lang.Object

public class Align

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

MethodDescription
deepClone()Creates deep copy of this instance.
equals(Object arg0)
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.
getClass()
getDel()A flag indicating whether the element has been deleted locally.
hashCode()
notify()
notifyAll()
setDel(int value)For the description of this property, please see getDel()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAlignBottom()

public DoubleValue 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.

Returns: DoubleValue

getAlignCenter()

public DoubleValue 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.

Returns: DoubleValue

getAlignLeft()

public DoubleValue 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.

Returns: DoubleValue

getAlignMiddle()

public DoubleValue 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.

Returns: DoubleValue

getAlignRight()

public DoubleValue 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.

Returns: DoubleValue

getAlignTop()

public DoubleValue 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.

Returns: DoubleValue

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int