module:model/GraphicsContext

module:model/GraphicsContext

new module:model/GraphicsContext()

Source:

Constructs a new GraphicsContext.

Members

(inner) fillColor :String

Source:
Type:
  • String

(inner) lineColor :String

Source:
Type:
  • String

(inner) lineWeight :String

Source:
Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:model/GraphicsContext}

Source:

Constructs a GraphicsContext from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:model/GraphicsContext

Optional instance to populate.

Returns:

The populated GraphicsContext instance.

Type
module:model/GraphicsContext