public class Margins
extends java.lang.Object
Constructor and Description |
---|
Margins(double x1,
double x2,
double y1,
double y2) |
Modifier and Type | Method and Description |
---|---|
double |
getTotalHeight() |
double |
getTotalWidth() |
double |
getX1() |
double |
getX2() |
double |
getY1() |
double |
getY2() |
boolean |
isZero() |
java.lang.String |
toString() |
static Margins |
uniform(double value) |
public static Margins NONE
public static Margins uniform(double value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isZero()
public final double getX1()
public final double getX2()
public final double getY1()
public final double getY2()
public double getTotalWidth()
public double getTotalHeight()