The manakai project

Web::DOM::HTMLCanvasElement

The DOM HTMLCanvasElement object

DESCRIPTION

The Web::DOM::HTMLCanvasElement class implements the DOM HTMLCanvasElement interface. The class is used by the HTML canvas element.

METHODS

In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following method is available:

$integer = $el->height
$el->height ($integer)

Return or set the height attribute. [HTML]

$integer = $el->width
$el->width ($integer)

Return or set the width attribute. [HTML]

SPECIFICATION

HTML

HTML Standard <http://www.whatwg.org/specs/web-apps/current-work/#the-canvas-element>.

SEE ALSO

Web::DOM::HTMLElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.