Class Margin

  • All Implemented Interfaces:
    java.io.Serializable

    public class Margin
    extends java.lang.Object
    implements java.io.Serializable
    Represents margins of labels. These options are only taken into account when Node.shape is set to box, circle, database, icon or text.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Margin.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Margin​(java.lang.Integer top, java.lang.Integer right, java.lang.Integer bottom, java.lang.Integer left)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getBottom()  
      java.lang.Integer getLeft()  
      java.lang.Integer getRight()  
      java.lang.Integer getTop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Margin

        public Margin​(java.lang.Integer top,
                      java.lang.Integer right,
                      java.lang.Integer bottom,
                      java.lang.Integer left)
    • Method Detail

      • getTop

        public java.lang.Integer getTop()
      • getRight

        public java.lang.Integer getRight()
      • getBottom

        public java.lang.Integer getBottom()
      • getLeft

        public java.lang.Integer getLeft()