class

CompLayout

@Js
const class CompLayout : Obj

CompLayout models layout of a component on a logical grid coordinate system

constructors fromStr

Parse from string as "x,y,w"

make

Constructor

methods equals

Return if obj is same CompLayout value

hash

Return hash of x, y, and h

toStr

String representation as "x,y,w"

w

Width in logical coordinate system

x

Logical x coordinate

y

Logical y coordinate

equals virtual Bool equals(Obj? obj)

Return if obj is same CompLayout value.

fromStr static new fromStr(Str s, Bool checked := true)

Parse from string as "x,y,w"

hash virtual Int hash()

Return hash of x, y, and h

make new make(Int x, Int y, Int w := 8)

Constructor

toStr virtual Str toStr()

String representation as "x,y,w"

w Int w()

Width in logical coordinate system

x Int x()

Logical x coordinate

y Int y()

Logical y coordinate

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT