public static class Html5.CANVAS extends HtmlParentElement implements Html5.ParentElement<Html5.CANVAS,Html5.CANVAS>
<canvas>.| Modifier and Type | Field and Description |
|---|---|
static HtmlElementType |
TYPE
HtmlElementType for
<canvas> (void=false, block=false, pre=false). |
| Constructor and Description |
|---|
CANVAS() |
| Instance Methods | |
|---|---|
HtmlElementType |
getElementType()
Get the metadata of this element.
|
Html5.CANVAS |
height(int value)
Set attribute
height="{value}". |
Html5.CANVAS |
width(int value)
Set attribute
width="{value}". |
addChild, addChild, addChildren, detachChildren, getChild, getChildCount, removeChild, render, setChildgetAttribute, getAttributeCount, getAttributeMap, isBlock, setAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addaddChild, addChild, addChildren, detachChildren, getChild, getChildCount, getChildList, removeChild, render, setChildaccesskey, attr, attr, attr, class_, class_add, contenteditable, contextmenu, data, dir, draggable, dropzone, hidden, id, inert, itemid, itemprop, itemref, itemscope, itemtype, lang, on, spellcheck, style, tabindex, title, translateattr, getAttribute, setAttributepublic static final HtmlElementType TYPE
<canvas> (void=false, block=false, pre=false).public HtmlElementType getElementType()
HtmlElementHtmlElementType.getElementType in class HtmlElementpublic Html5.CANVAS height(int value)
height="{value}".public Html5.CANVAS width(int value)
width="{value}".