Anchor

Anchor

{Object} Anchor Anchor object

Constructor

new Anchor()

Source:
Properties:
Name Type Description
point Point X & Y axis coordinates
align string Anchor alignment

Methods

align(value)

Description:
  • Set anchor alignment
Source:
Parameters:
Name Type Description
value string Anchor alignment

align() → {string}

Description:
  • Get anchor alignment
Source:
Returns:
Anchor alignment
Type
string

point(point)

Description:
  • Set point
Source:
See:
Parameters:
Name Type Description
point Point X & Y axis coordinates

point() → {Point}

Description:
  • Get point
Source:
See:
Returns:
X & Y axis coordinates
Type
Point

x(value)

Description:
  • Set x-axis value
Source:
See:
Parameters:
Name Type Description
value number X coordinate value

x() → {number}

Description:
  • Get x-axis value
Source:
See:
Returns:
X coordinate value
Type
number

y(value)

Description:
  • Set y-axis value
Source:
See:
Parameters:
Name Type Description
value number Y coordinate value

y() → {number}

Description:
  • Get y-axis value
Source:
See:
Returns:
Y coordinate value
Type
number