Class: xrx.canvas.Group

xrx.canvas. Group

(private) new xrx.canvas.Group(canvas)

Canvas class representing a group.
Parameters:
Name Type Description
canvas xrx.canvas.Canvas The parent canvas object.
Source:

Extends

Members

xrx.canvas.Group#canvas_ :xrx.canvas.Canvas

The parent canvas object.
Type:
Inherited From:
Source:

xrx.canvas.Group#context_ :CanvasRenderingContext2D

The rendering context.
Type:
  • CanvasRenderingContext2D
Inherited From:
Source:

Methods

(static) xrx.canvas.Group.create(canvas)

Creates a new group.
Parameters:
Name Type Description
canvas xrx.canvas.Canvas The parent canvas object of the group.
Source:

xrx.canvas.Group#applyTransform(matrix)

Applies a transformation matrix on this element.
Parameters:
Name Type Description
matrix goog.math.AffineTransform The transformation matrix.
Inherited From:
Source:

xrx.canvas.Group#getCanvas() → {xrx.canvas.Canvas}

Returns the parent canvas object.
Inherited From:
Source:
Returns:
The parent canvas object.
Type
xrx.canvas.Canvas

xrx.canvas.Group#getContext() → {CanvasRenderingContext2D}

Returns the HTML canvas rendering context.
Inherited From:
Source:
Returns:
The rendering context.
Type
CanvasRenderingContext2D