class HtmlElement
Package :
(default package)
Extends :
Known subclasses :
Description :
An HTML element can be used for simple display (no complex transformations) to optimize rendering.
Attributes :
Name | Description |
---|---|
alpha | The attribute's alpha. |
cursor | The element's cursor. |
height | The element's height (in pixels) |
title | The element's title |
visible | Indicates whether the element is visible or not. |
width | The element's width (in pixels) |
x | The element's x coordinate (relative to the stage). |
y | The element's y coordinate (relative to the stage). |
Methods :
new(node)
Creates a new HtmlElement object.
Parameters :
- node : The existing node to use (optional)
applyDefaultSettings()
Applies default settings to the node.
hide()
Hiding the HTML element
removedFromStage()
Called when removed from stage
show()
Showing the HTML element