Class: xrx.vml.Canvas

xrx.vml. Canvas

(private) new xrx.vml.Canvas()

VML rendering class representing a canvas.
Parameters:
Type Description
Source:

Extends

Members

xrx.vml.Canvas#element_

Inherited From:
Source:

xrx.vml.Canvas#height_ :number

The canvas height.
Type:
  • number
Source:

xrx.vml.Canvas#width_ :number

The canvas width.
Type:
  • number
Source:

Methods

(static) xrx.vml.Canvas.create(parent)

Creates a new canvas.
Parameters:
Name Type Description
parent HTMLElement The parent HTML element to which the canvas shall be appended.
Source:

xrx.vml.Canvas#getElement() → {HTMLElement}

Returns the HTML element held by the Raphael object.
Inherited From:
Source:
Returns:
The HTML element.
Type
HTMLElement

xrx.vml.Canvas#getEventTarget() → {Object}

Returns the root element of this canvas to be used as the event target.
Source:
Returns:
The event target element.
Type
Object

xrx.vml.Canvas#getHeight() → {number}

Returns the height of the canvas.
Source:
Returns:
The height.
Type
number

xrx.vml.Canvas#getWidth() → {number}

Returns the width of the canvas.
Source:
Returns:
The width.
Type
number

xrx.vml.Canvas#setHeight(width)

Sets the height of the canvas.
Parameters:
Name Type Description
width number the height.
Source:

xrx.vml.Canvas#setWidth(width)

Sets the width of the canvas.
Parameters:
Name Type Description
width number the width.
Source: