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, setChild
getAttribute, getAttributeCount, getAttributeMap, isBlock, setAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add
addChild, addChild, addChildren, detachChildren, getChild, getChildCount, getChildList, removeChild, render, setChild
accesskey, 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, translate
attr, getAttribute, setAttribute
public static final HtmlElementType TYPE
<canvas>
(void=false, block=false, pre=false).public HtmlElementType getElementType()
HtmlElement
HtmlElementType
.getElementType
in class HtmlElement
public Html5.CANVAS height(int value)
height="{value}"
.public Html5.CANVAS width(int value)
width="{value}"
.