Package org.pptx4j

Class Box

java.lang.Object
org.pptx4j.Box

public class Box
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Box​(long offsetX, long offsetY, long extentX, long extentY)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String debug()  
    void flipH()
    Flip across Y axis
    void flipV()
    Flip across X axis, so Y co-ordinate changes
    Point getExtent()  
    Point getOffset()  
    Point getOtherCorner()  
    static void main​(java.lang.String[] args)  
    void rotate​(int units)
    Clockwise rotation, about the bounding-box centre
    void toPixels()  

    Methods inherited from class java.lang.Object

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

    • Box

      public Box​(long offsetX, long offsetY, long extentX, long extentY)
  • Method Details

    • flipH

      public void flipH()
      Flip across Y axis
    • flipV

      public void flipV()
      Flip across X axis, so Y co-ordinate changes
    • getOtherCorner

      public Point getOtherCorner()
    • toPixels

      public void toPixels()
    • rotate

      public void rotate​(int units)
      Clockwise rotation, about the bounding-box centre
      Parameters:
      units - are 60 thousandths of a degree
    • debug

      public java.lang.String debug()
    • getOffset

      public Point getOffset()
    • getExtent

      public Point getExtent()
    • main

      public static void main​(java.lang.String[] args)