Package org.eclipse.swt.graphics
Class Rectangle.OfFloat
java.lang.Object
org.eclipse.swt.graphics.Rectangle
org.eclipse.swt.graphics.Rectangle.OfFloat
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
Rectangle.WithMonitor
- Enclosing class:
Rectangle
Instances of this class represent
Rectangle
objects which supports values of Float type for it's fields- Since:
- 3.131
- See Also:
- Restriction:
- This class is not intended to be referenced by clients
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.swt.graphics.Rectangle
Rectangle.OfFloat, Rectangle.WithMonitor
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.swt.graphics.Rectangle
add, clone, contains, contains, equals, hashCode, intersect, intersection, intersects, intersects, isEmpty, of, toString, union
-
Constructor Details
-
OfFloat
public OfFloat(int x, int y, int width, int height) -
OfFloat
public OfFloat(float x, float y, float width, float height)
-
-
Method Details
-
getX
public float getX() -
getY
public float getY() -
getWidth
public float getWidth() -
getHeight
public float getHeight() -
setX
public void setX(float x) -
setY
public void setY(float y) -
setWidth
public void setWidth(float width) -
setHeight
public void setHeight(float height)
-