API Docs for: 1.0.1

Grape.Position Class

Stores x and y properties

Constructor

Grape.Position

(
  • [opts]
)

Parameters:

  • [opts] Object optional

    Initial values of properties

Item Index

Properties

Properties

x

Number

X coordinate

Default: 0

y

Number

Y coordinate

Default: 0