Layout_frame_1
Ploy3D • Docs
Ploy3D / Layout_frame_1
Class: Layout_frame_1
UI面板框架设计1。
Extends
Constructors
new Layout_frame_1()
new Layout_frame_1(
system,canvas,id,options):Layout_frame_1
构造函数。
Parameters
• system: CalynUI
UI系统实例。
• canvas: Canvas
UI画布实例。
• id: number
实例ID。
• options: object & object & object & object
可选的初始化数据。
Returns
Overrides
Properties
designs
staticdesigns:Record<string,object>
Accessors
active
getactive():boolean
元素是否激活。
setactive(b):void
Parameters
• b: boolean
Returns
boolean
Inherited from
aspect_mode
getaspect_mode():"none"|"width_ctrl"|"height_ctrl"
元素宽高比约束模式。
Returns
"none" | "width_ctrl" | "height_ctrl"