Class: Point

Point

Members

x :number

Type:
  • number

y :number

Type:
  • number

(inner, non-null) point :up.common.Point

Type:
  • up.common.Point

Methods

distance(othernon-null) → {number}

Parameters:
Name Type Description
other up.api.core.Point The other point to calculate the distance to.
Returns:
Distance to the other point.
Type
number