GuiLayout
open class GuiLayout : GuiComponentGroup
여러개의 child component를 가지는 component 클래스.
child component를 가로, 혹은 세로로 배치할 수 있으며, 배치 방향에 따라 추가한 순서대로 그려진다.
GuiLayout의 크기는 배치된 총 child component의 전체 크기가 된다.
-
initializer
Declaration
Swift
@objc public init(_ componentId: String)Parameters
componentIdcomponent ID
-
initializer
Declaration
Swift
@objc public init(_ componentId: String, arrangement: LayoutArrangement)Parameters
componentIdcomponentID
arrangementchild component 배치 방향
-
layout에 추가한 child component의 배치 방향
Declaration
Swift
@objc public var arrangement: LayoutArrangement { get set } -
layout의 child component 구분선 표시 여부
Declaration
Swift
@objc public var showSplitLine: Bool { get set } -
layout의 child component 구분선 색깔
Declaration
Swift
@objc public var splitLineColor: UIColor { get set } -
layout의 child component 구분선 두께
Declaration
Swift
@objc public var splitLineWidth: Int { get set } -
layout의 배경 색깔
Declaration
Swift
@objc public var bgColor: UIColor { get set }
GuiLayout Class Reference