­View attributes:

 

Control

Property

format

all

@

stylefilename/stylename

UIView

bgColor

color

borderRadius

number

contentMode

 scaleToFill/scaleAspectFit/scaleAspectFill/

redraw/center/top/bottom/left/right/topLeft/

topRight/bottomLeft/bottomRight

alpha

number

hidden

bool

tintColor

color

UILabel

text

string

fontSize

number

lineBreakMode

wordWrapping/ charWrapping/ clipping/ truncatingHead/ truncatingTail/ truncatingMiddle

linesNum

number

color

color

shadowColor

color

highlightTextColor

color

textAlign

left/center/right/ justified/ natural

interactEnable

bool

enabled

bool

adjustFontSize

bool

UIImageView

source

string image name

highlightSource

strng image name

interactEnable

bool

UIButton

title

string

 

color

color

 

color£º #rrggbb   #aarrggbb   white/black/red/ÿ

bool: true/false

subclass has all attribute of parent class