virtual class vaseGui::Coord

sys::Obj
  vaseGui::Coord

@Js

A Point

equals

virtual override Bool equals(Obj? obj)

Return if obj is same Point value.

fromStr

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

Parse from string. If invalid and checked is true then throw ParseErr otherwise return null.

hash

virtual override Int hash()

Return hash of x and y.

make

new make(Float x, Float y)

Construct with x, y.

set

This set(Float x, Float y)

toStr

virtual override Str toStr()

Return "x,y"

translate

Coord translate(Coord t)

Return x+tx, y+ty

x

Float x

y

Float y