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 toStr

String representation as "x,y,w"

equals

Return if obj is same CompLayout value

w

Width in logical coordinate system

x

Logical x coordinate

y

Logical y coordinate

hash

Return hash of x, y, and h

equals virtual Bool equals(Obj? obj)

Return if obj is same CompLayout value.

fromStr static new fromStr(Str s, Bool checked)

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)

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.5 ∙ 24-Feb-2026 14:33 EST