public class Margins
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Margins.Converter
Convert a sequence of sizes to an Margins
|
private static class |
Margins.Holder |
static class |
Margins.SequenceConverter
Convert a sequence of sizes to an Insets
|
Modifier and Type | Field and Description |
---|---|
(package private) double |
bottom |
(package private) double |
left |
(package private) boolean |
proportional |
(package private) double |
right |
(package private) double |
top |
Constructor and Description |
---|
Margins(double top,
double right,
double bottom,
double left,
boolean proportional) |
Modifier and Type | Method and Description |
---|---|
double |
getBottom() |
double |
getLeft() |
double |
getRight() |
double |
getTop() |
boolean |
isProportional() |
java.lang.String |
toString() |
final double top
final double right
final double bottom
final double left
final boolean proportional
public Margins(double top, double right, double bottom, double left, boolean proportional)
public final double getTop()
public final double getRight()
public final double getBottom()
public final double getLeft()
public final boolean isProportional()
public java.lang.String toString()
toString
in class java.lang.Object