Faktel
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Faktel
faktel-core
/
io.github.cybersafetyid.faktel.core.geometry
/
Point
Point
data
class
Point
(
val
x
:
Double
,
val
y
:
Double
)
A 2D point in pixel coordinates (origin top-left, y grows downwards).
Members
Constructors
Point
Link copied to clipboard
constructor
(
x
:
Double
,
y
:
Double
)
Properties
x
Link copied to clipboard
val
x
:
Double
y
Link copied to clipboard
val
y
:
Double
Functions
distance
To
Link copied to clipboard
fun
distanceTo
(
other
:
Point
)
:
Double