Package net.sourceforge.plantuml.svek
Class Margins
- java.lang.Object
-
- net.sourceforge.plantuml.svek.Margins
-
public class Margins extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Margins(double x1, double x2, double y1, double y2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetTotalHeight()doublegetTotalWidth()doublegetX1()doublegetX2()doublegetY1()doublegetY2()booleanisZero()Marginsmerge(Margins other)java.lang.StringtoString()static Marginsuniform(double value)
-
-
-
Field Detail
-
NONE
public static Margins NONE
-
-
Method Detail
-
uniform
public static Margins uniform(double value)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isZero
public boolean isZero()
-
getX1
public final double getX1()
-
getX2
public final double getX2()
-
getY1
public final double getY1()
-
getY2
public final double getY2()
-
getTotalWidth
public double getTotalWidth()
-
getTotalHeight
public double getTotalHeight()
-
-