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 :

NameDescription
alphaThe attribute's alpha.
cursorThe element's cursor.
heightThe element's height (in pixels)
titleThe element's title
visibleIndicates whether the element is visible or not.
widthThe element's width (in pixels)
xThe element's x coordinate (relative to the stage).
yThe element's y coordinate (relative to the stage).

Methods :

new(node)

Creates a new HtmlElement object.

Parameters :

applyDefaultSettings()

Applies default settings to the node.

hide()

Hiding the HTML element

removedFromStage()

Called when removed from stage

show()

Showing the HTML element