AR_Engine_SDK
|
Functions | |
function XUIMargin | new () end |
function XUIMargin | new (l, t, r, b) end |
function XUILayoutParameter | Create () end |
function XUILayoutParameter | SetMargin (margin) end |
function XUILayoutParameter | GetMargin () end |
function XUILayoutParameter | GetLayoutType () end |
function XUILayoutParameter | Clone () end |
function XUILinearLayoutParameter | SetGravity (eGravity) end |
function XUILinearLayoutParameter | GetGravity () end |
function XUILinearLayoutParameter | CopyProperties (pParameter) end |
function XUILinearLayoutParameter | CreateClonedInstance () end |
function XUIRelativeLayoutParameter | SetAlign (eAlign) end |
function XUIRelativeLayoutParameter | GetAlign () end |
function XUIRelativeLayoutParameter | SetRelativeToWidgetName (strName) end |
function XUIRelativeLayoutParameter | GetRelativeToWidgetName () end |
function XUIRelativeLayoutParameter | SetRelativeName (strName) end |
function XUIRelativeLayoutParameter | GetRelativeName () end |
Variables | |
XUIMargin = {} | |
function XUILayoutParameter Clone | ( | ) |
克隆一个新的XUILayoutParameter,并返回
function XUILinearLayoutParameter CopyProperties | ( | pParameter | ) |
function XUILayoutParameter Create | ( | ) |
创建一个XUILayoutParameter实例,并返回
创建一个XUILayoutParameter实例,并返回
创建一个XUILayoutParameter实例,并返回
function XUILinearLayoutParameter CreateClonedInstance | ( | ) |
XUILinearLayoutParameter_CreateClonedInstance00
function XUIRelativeLayoutParameter GetAlign | ( | ) |
获取LayoutParameter的RelativeAlign参数
function XUILinearLayoutParameter GetGravity | ( | ) |
获取LayoutParameter的LinearGravity参数,并返回
function XUILayoutParameter GetLayoutType | ( | ) |
获取LayoutParameter的Type
function XUILayoutParameter GetMargin | ( | ) |
获取LayoutParameter边距参数
function XUIRelativeLayoutParameter GetRelativeName | ( | ) |
获取LayoutParameter在相对布局里的名字,并返回
function XUIRelativeLayoutParameter GetRelativeToWidgetName | ( | ) |
获取相对于控件的名称
function XUIMargin new | ( | ) |
XUIMargin_new00
XUILayoutParameter_new00
XUILinearLayoutParameter_new00
XUIRelativeLayoutParameter_new00
function XUIMargin new | ( | l | , |
t | , | ||
r | , | ||
b | |||
) |
function XUIRelativeLayoutParameter SetAlign | ( | eAlign | ) |
设置为LayoutParameter的RelativeAlign参数
eAlign | number 相对对齐参数RelativeAlign |
function XUILinearLayoutParameter SetGravity | ( | eGravity | ) |
设置LayoutParameter的LinearGravity参数
eGravity | number LinearGravity的引力 |
function XUILayoutParameter SetMargin | ( | margin | ) |
function XUIRelativeLayoutParameter SetRelativeName | ( | strName | ) |
为LayoutParameter在相对布局里设置一个名字
strName | string |
function XUIRelativeLayoutParameter SetRelativeToWidgetName | ( | strName | ) |
设置相对于控件的名称
strName | string 相对控件的名称 |
XUIMargin = {} |