type
constructors
fromStr |
Parse from comma or space separated string. |
---|---|
make |
Construct with x, y. |
makeInt |
Construct with x, y. |
fields
methods
equals |
Return if obj is same Point value. |
---|---|
hash |
Return hash of x and y. |
toStr |
Return |
translate |
Return |
Slot Details
defVal
const static Point defVal := Point.<ctor>(0.0, 0.0)
Default instance is 0,0
.
equals
fromStr
hash
virtual override Int hash()
Return hash of x and y.
make
makeInt
toStr
virtual override Str toStr()
Return "x y"
translate
x
const Float x
X coordinate
y
const Float y
Y coordinate