- Index
- »
- fan.xeto
- »
- CompLayout
CompLayout
@Js
const class CompLayout : Obj
CompLayout models layout of a component on a logical grid coordinate system
Parse from string as "x,y,w"
Constructor
Return if obj is same CompLayout value
Return hash of x, y, and h
String representation as "x,y,w"
Width in logical coordinate system
Logical x coordinate
Logical y coordinate
virtual Bool equals(Obj? obj)
Return if obj is same CompLayout value.
static new fromStr(Str s, Bool checked := true)
Parse from string as "x,y,w"
virtual Int hash()
Return hash of x, y, and h
new make(Int x, Int y, Int w := 8)
Constructor
virtual Str toStr()
String representation as "x,y,w"
Int w()
Width in logical coordinate system
Int x()
Logical x coordinate
Int y()
Logical y coordinate