Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:22

Class enchant.Label

A class for Label object.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Text color settings.
 
Font settings.
 
Text to be displayed.
 
Specifies horizontal alignment of text.
Fields borrowed from class enchant.Entity:
backgroundColor, buttonMode, buttonPressed, compositeOperation, debugColor, height, opacity, originX, originY, rotation, scaleX, scaleY, touchEnabled, visible, width
Fields borrowed from class enchant.Node:
age, parentNode, scene, x, y

Class Detail

enchant.Label()

Field Detail

{String} color
Text color settings. Can be set according to the format of the CSS 'color' property.
{String} font
Font settings. Can be set according to the format of the CSS 'font' property.
{String} text
Text to be displayed.
{String} textAlign
Specifies horizontal alignment of text. Can be set according to the format of the CSS 'text-align' property.