Class Margins

java.lang.Object
net.sourceforge.plantuml.svek.Margins

public class Margins extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static Margins
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Margins(double x1, double x2, double y1, double y2)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    final double
     
    final double
     
    final double
     
    final double
     
    boolean
     
    java.lang.String
     
    static Margins
    uniform(double value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • NONE

      public static Margins NONE
  • Constructor Details

    • Margins

      public Margins(double x1, double x2, double y1, double y2)
  • Method Details

    • uniform

      public static Margins uniform(double value)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.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()