Package com.jidesoft.awt.geom
Class Insets2D.Float
- java.lang.Object
-
- com.jidesoft.awt.geom.Insets2D
-
- com.jidesoft.awt.geom.Insets2D.Float
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Insets2D
public static class Insets2D.Float extends Insets2D implements java.io.Serializable
An Insets2D instance specified with float precision- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jidesoft.awt.geom.Insets2D
Insets2D.Double, Insets2D.Float
-
-
Constructor Summary
Constructors Constructor Description Float(float top, float left, float bottom, float right)
Construct an Insets2D instance using float precision
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getBottom()
Returns the inset from the bottom in double precisiondouble
getLeft()
Returns the inset from the left in double precisiondouble
getRight()
Returns the inset from the right in double precisiondouble
getTop()
Returns the inset from the top in double precisionvoid
set(float top, float left, float bottom, float right)
Sets the insets with float precision
-
-
-
Method Detail
-
set
public void set(float top, float left, float bottom, float right)
Sets the insets with float precision- Parameters:
top
- the inset from the topleft
- the inset from the leftbottom
- the inset from the bottomright
- the inset from the right
-
getBottom
public double getBottom()
Returns the inset from the bottom in double precision
-
getLeft
public double getLeft()
Returns the inset from the left in double precision
-
getRight
public double getRight()
Returns the inset from the right in double precision
-
-