WalkPreference

WalkPreference class

Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued to, using dynamic glue, when the shape is moved to an ambiguous position.

new WalkPreference(value)

Constructor.

Methods

NameDescription
equals(value)Are objects equal.
getUfe()Specifies attributes of an element.
getValue()Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued
hashCode()Serves as a hash function for a particular type.
setValue()Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued

equals(value)

Are objects equal.

ParameterTypeDescription
valueObject

Returns: boolean — boolean

getUfe()

Specifies attributes of an element.

getValue()

Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued to, using dynamic glue, when the shape is moved to an ambiguous position. The value of the property is WalkPreferenceValue integer constant.

hashCode()

Serves as a hash function for a particular type.

Returns: Number — Number

setValue()

Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued to, using dynamic glue, when the shape is moved to an ambiguous position. The value of the property is WalkPreferenceValue integer constant.