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

Class enchant.ui.Button

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.ui.Button(text, theme, height, width)
ボタンオブジェクトを作成する。
Field Summary
Field Attributes Field Name and Description
 
Text color settings.
 
フォントの指定
 
フォントサイズ
 
表示するテキスト
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.ui.Button(text, theme, height, width)
ボタンオブジェクトを作成する。
Parameters:
text
theme
height
width

Field Detail

color
Text color settings. CSS 'color' can be set to same format as properties.
font
フォントの指定
size
フォントサイズ
text
表示するテキスト