- 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
String representation as "x,y,w"
Return if obj is same CompLayout value
Width in logical coordinate system
Logical x coordinate
Logical y coordinate
Return hash of x, y, and h
virtual Bool equals(Obj? obj)
Return if obj is same CompLayout value.
static new fromStr(Str s, Bool checked)
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)
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