Package com.jidesoft.awt.geom
Class Insets2D.Double
java.lang.Object
com.jidesoft.awt.geom.Insets2D
com.jidesoft.awt.geom.Insets2D.Double
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Insets2D
An Insets2D instance specified with double precision
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jidesoft.awt.geom.Insets2D
Insets2D.Double, Insets2D.Float
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDouble
(double top, double left, double bottom, double right) Construct an Insets2D instance using double precision -
Method Summary
Modifier and TypeMethodDescriptiondouble
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
(double top, double left, double bottom, double right) Sets the insets
-
Field Details
-
top
public double topThe inset from the top -
left
public double leftThe inset from the left -
bottom
public double bottomThe inset from the bottom -
right
public double rightThe inset from the right
-
-
Constructor Details
-
Double
public Double(double top, double left, double bottom, double right) Construct an Insets2D instance using double precision- Parameters:
top
- the inset from the topleft
- the inset from the leftbottom
- the inset from the bottomright
- the inset from the right
-
-
Method Details
-
set
public void set(double top, double left, double bottom, double right) Sets the insets- 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 -
getTop
public double getTop()Returns the inset from the top in double precision
-