Class Point.OfFloat
java.lang.Object
org.eclipse.swt.graphics.Point
org.eclipse.swt.graphics.Point.OfFloat
- All Implemented Interfaces:
Serializable, Cloneable
- Direct Known Subclasses:
Point.WithMonitor
- Enclosing class:
Point
Instances of this class represent
Point
objects with the fields capable of storing more precise value in float.- Since:
- 3.131
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Point
Point.OfFloat, Point.WithMonitor -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatprivate final RoundingModeprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionOfFloat(float x, float y) OfFloat(float x, float y, RoundingMode roundingMode) OfFloat(int x, int y) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
residualX
public float residualX -
residualY
public float residualY -
roundingMode
-
-
Constructor Details
-
OfFloat
public OfFloat(int x, int y) -
OfFloat
public OfFloat(float x, float y) -
OfFloat
-
-
Method Details
-
getX
public float getX() -
getY
public float getY() -
setX
public void setX(float x) -
setY
public void setY(float y) -
clone
Description copied from class:PointCreates and returns a shallow copy of thisPoint. -
from
Creates a shallow copy of the provided point as a Point.OfFloat instance.
-