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 Pointempty()Returns an emptyPointthat has x and y values set to zero.static Pointof(int x, int y) Returns thePointinstance for the given x and y values.default intx()Returns the horizontal coordinate.default inty()Returns the vertical coordinate.
-
Method Details
-
empty
Returns an emptyPointthat has x and y values set to zero. -
of
Returns thePointinstance for the given x and y values. -
x
default int x()Returns the horizontal coordinate. -
y
default int y()Returns the vertical coordinate.
-