Class NTxMargin

java.lang.Object
net.thevpc.ntexup.api.document.elem2d.NTxMargin
All Implemented Interfaces:
net.thevpc.nuts.elem.NToElement

public class NTxMargin extends Object implements net.thevpc.nuts.elem.NToElement
  • Field Details

  • Constructor Details

  • Method Details

    • of

      public static NTxMargin of(double v)
    • of

      public static NTxMargin of(double l, double t)
    • of

      public static NTxMargin of(double rl, double t, double b)
    • of

      public static NTxMargin of(double l, double t, double b, double r)
    • getTop

      public Double getTop()
    • getRight

      public Double getRight()
    • getBottom

      public Double getBottom()
    • getLeft

      public Double getLeft()
    • isZero

      public boolean isZero()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toElement

      public net.thevpc.nuts.elem.NElement toElement()
      Specified by:
      toElement in interface net.thevpc.nuts.elem.NToElement
    • mul

      public NTxMargin mul(double w, double h)