Class: DrawShapeObject

DrawShapeObject

A base draw object.

Members

_calculateRectVertices

Source:

bgColor :string

Background color as rgba(r,g,b,a).
Source:

id :number

Source:

isRemoved :boolean

Source:

rotation :number

Source:

sortIndex :number

Source:

type :string

Source:

x :number

Source:

y :number

Source:

Methods

destroy()

Destroy object on next render iteration.
Source:

setMask(mask)

Parameters:
Name Type Description
mask DrawShapeObject
Source: