public class HTMLCanvasElement extends HTMLElement
Modifier and Type | Class and Description |
---|---|
static interface |
HTMLCanvasElement.ToBlobCallbackFn |
HTMLElement.AttachedCallbackFn, HTMLElement.AttachShadowOptionsType, HTMLElement.ConnectedCallbackFn, HTMLElement.CreatedCallbackFn, HTMLElement.DetachedCallbackFn, HTMLElement.DisconnectedCallbackFn
Element.MatchesSelectorRefNodesUnionType, Element.OnabortFn, Element.OnbeforeinputFn, Element.OnbeforeunloadFn, Element.OnblurFn, Element.OnchangeFn, Element.OnclickFn, Element.OncompositionendFn, Element.OncompositionstartFn, Element.OncompositionupdateFn, Element.OncontextmenuFn, Element.OncopyFn, Element.OncutFn, Element.OndblclickFn, Element.OnerrorFn, Element.OnfocusFn, Element.OnfocusinFn, Element.OnfocusoutFn, Element.OninputFn, Element.OnkeydownFn, Element.OnkeypressFn, Element.OnkeyupFn, Element.OnloadFn, Element.OnmousedownFn, Element.OnmousemoveFn, Element.OnmouseoutFn, Element.OnmouseoverFn, Element.OnmouseupFn, Element.OnmousewheelFn, Element.OnpasteFn, Element.OnresetFn, Element.OnresizeFn, Element.OnscrollFn, Element.OnselectFn, Element.OnsubmitFn, Element.OntextinputFn, Element.OntouchcancelFn, Element.OntouchendFn, Element.OntouchmoveFn, Element.OntouchstartFn, Element.OnunloadFn, Element.OnwheelFn, Element.ReplaceWithNodesUnionType, Element.ScrollIntoViewTopType, Element.ScrollIntoViewTopUnionType, Element.SetAttributeNSValueUnionType, Element.SetAttributeValueUnionType
EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerOptionsUnionType
Modifier and Type | Field and Description |
---|---|
int |
height |
int |
width |
attachedCallback, className, connectedCallback, contextMenu, createdCallback, dataset, detachedCallback, dir, disconnectedCallback, draggable, dropzone, hidden, id, lang, observedAttributes, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, shadowRoot, spellcheck, style, tabIndex, title
ALLOW_KEYBOARD_INPUT, attributes, childElementCount, classList, clientHeight, clientLeft, clientTop, clientWidth, firstElementChild, innerHTML, lastElementChild, nextElementSibling, onabort, onbeforeinput, onbeforeunload, onblur, onchange, onclick, oncompositionend, oncompositionstart, oncompositionupdate, oncontextmenu, oncopy, oncut, ondblclick, onerror, onfocus, onfocusin, onfocusout, oninput, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpaste, onreset, onresize, onscroll, onselect, onsubmit, ontextinput, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onunload, onwheel, previousElementSibling, schemaTypeInfo, scrollHeight, scrollLeft, scrollTop, scrollWidth, tagName
assignedSlot, ATTRIBUTE_NODE, baseURI, CDATA_SECTION_NODE, childNodes, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, firstChild, isConnected, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent, XPATH_NAMESPACE_NODE
Constructor and Description |
---|
HTMLCanvasElement() |
Modifier and Type | Method and Description |
---|---|
MediaStream |
captureStream() |
MediaStream |
captureStream(double framerate) |
JsObject |
getContext(java.lang.String contextId) |
JsObject |
getContext(java.lang.String contextId,
JsObject args) |
JsObject |
getContext(java.lang.String contextId,
java.lang.Object args) |
java.lang.Object |
toBlob(HTMLCanvasElement.ToBlobCallbackFn callback,
java.lang.String type,
java.lang.Object... var_args) |
java.lang.String |
toDataURL(java.lang.String type,
java.lang.Object... var_args) |
adoptedCallback, attachShadow, attributeChangedCallback, createShadowRoot, getDestinationInsertionPoints, getElementsByClassName, webkitCreateShadowRoot
blur, click, closest, focus, getAttribute, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, matches, matchesSelector, matchesSelector, matchesSelector, matchesSelector, mozMatchesSelector, mozRequestFullScreen, mozRequestFullScreenWithKeys, msExitFullscreen, msMatchesSelector, msRequestFullscreen, oMatchesSelector, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, replaceWith, replaceWith, replaceWith, requestFullscreen, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoView, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNS, setAttributeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen, webkitRequestFullscreen, webkitRequestFullScreen
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getFeature, getRootNode, getRootNode, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setUserData, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEventListener, addEventListener, removeEventListener, removeEventListener
public MediaStream captureStream()
public MediaStream captureStream(double framerate)
public final JsObject getContext(java.lang.String contextId, java.lang.Object args)
public JsObject getContext(java.lang.String contextId)
public java.lang.Object toBlob(HTMLCanvasElement.ToBlobCallbackFn callback, java.lang.String type, java.lang.Object... var_args)
public java.lang.String toDataURL(java.lang.String type, java.lang.Object... var_args)