Class Transform2D

java.lang.Object
com.independentsoft.office.charts.drawing.Transform2D

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

    • Transform2D

      public Transform2D()
      Instantiates a new transform2 d.
    • Transform2D

      public Transform2D(Offset offset)
      Instantiates a new transform2 d.
      Parameters:
      offset - the offset
    • Transform2D

      public Transform2D(Extents extents)
      Instantiates a new transform2 d.
      Parameters:
      extents - the extents
    • Transform2D

      public Transform2D(Offset offset, Extents extents)
      Instantiates a new transform2 d.
      Parameters:
      offset - the offset
      extents - the extents
    • Transform2D

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

    • clone

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

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

      public boolean isHorizontalFlip()
      Checks if is horizontal flip.
      Returns:
      true, if is horizontal flip
    • setHorizontalFlip

      public void setHorizontalFlip(boolean horizontalFlip)
      Sets the horizontal flip.
      Parameters:
      horizontalFlip - the new horizontal flip
    • isVerticalFlip

      public boolean isVerticalFlip()
      Checks if is vertical flip.
      Returns:
      true, if is vertical flip
    • setVerticalFlip

      public void setVerticalFlip(boolean verticalFlip)
      Sets the vertical flip.
      Parameters:
      verticalFlip - the new vertical flip
    • getRotation

      public int getRotation()
      Gets the rotation.
      Returns:
      the rotation
    • setRotation

      public void setRotation(int rotation)
      Sets the rotation.
      Parameters:
      rotation - the new rotation
    • getExtents

      public Extents getExtents()
      Gets the extents.
      Returns:
      the extents
    • setExtents

      public void setExtents(Extents extents)
      Sets the extents.
      Parameters:
      extents - the new extents
    • getOffset

      public Offset getOffset()
      Gets the offset.
      Returns:
      the offset
    • setOffset

      public void setOffset(Offset offset)
      Sets the offset.
      Parameters:
      offset - the new offset