Class Extents

java.lang.Object
com.independentsoft.office.drawing.Extents

public class Extents extends Object
The Class Extents.
  • Constructor Details

    • Extents

      public Extents()
      Instantiates a new extents.
    • Extents

      public Extents(Unit width, Unit height)
      Instantiates a new extents.
      Parameters:
      width - the width
      height - the height
    • Extents

      public Extents(long width, long height)
      Instantiates a new extents.
      Parameters:
      width - the width
      height - the height
    • Extents

      public Extents(InternalXMLStreamReader reader) throws XMLStreamException
      Instantiates a new extents.
      Parameters:
      reader - the reader
      Throws:
      XMLStreamException - the xML stream exception
  • Method Details

    • clone

      public Extents clone()
      Overrides:
      clone in class Object
    • toString

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

      public Unit getWidth()
      Gets the width.
      Returns:
      the width
    • setWidth

      public void setWidth(Unit width)
      Sets the width.
      Parameters:
      width - the new width
    • getHeight

      public Unit getHeight()
      Gets the height.
      Returns:
      the height
    • setHeight

      public void setHeight(Unit height)
      Sets the height.
      Parameters:
      height - the new height