Package com.teamdev.jxbrowser.ui
Interface Point
public interface Point
A pair of numbers that in general are used to define coordinates in the two-dimensional space.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Point
empty()
Returns an emptyPoint
that has x and y values set to zero.static Point
of
(int x, int y) Returns thePoint
instance for the given x and y values.default int
x()
Returns the horizontal coordinate.default int
y()
Returns the vertical coordinate.
-
Method Details
-
empty
Returns an emptyPoint
that has x and y values set to zero. -
of
Returns thePoint
instance for the given x and y values. -
x
default int x()Returns the horizontal coordinate. -
y
default int y()Returns the vertical coordinate.
-