com.aspose.slides.pptx
Class ShapeFrameEx

java.lang.Object
  extended by com.aspose.slides.pptx.ShapeFrameEx

public class ShapeFrameEx
extends java.lang.Object

Represents shape frame properties.


Constructor Summary
ShapeFrameEx(float x, float y, float width, float height, boolean FlipHorizontal, boolean FlipVertical, float rotationAngle)
          Creates new shape frame's properties.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean equals(ShapeFrameEx value)
          Returns a value indicating whether this instance is equal to a specified object.
 float getCenterX()
          Returns the X coordinate of a frame's center.
 float getCenterY()
          Returns the Y coordinate of a frame's center.
 float getHeight()
          Returns the height of a frame.
 java.awt.geom.Rectangle2D.Float getRectangle()
          Returns the coordinates of a frame.
 float getRotation()
          Returns the number of degrees a frame is rotated around the z-axis.
 float getWidth()
          Returns the width of a frame.
 float getX()
          Returns the X coordinate of the upper-left corner of a frame.
 float getY()
          Returns the Y coordinate of the upper-left corner of a frame.
 boolean isFlipHorizontal()
          Determines whether a frame is flipped horizontally.
 boolean isFlipVertical()
          Determines whether a frame is flipped vertically.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeFrameEx

public ShapeFrameEx(float x,
                    float y,
                    float width,
                    float height,
                    boolean FlipHorizontal,
                    boolean FlipVertical,
                    float rotationAngle)
Creates new shape frame's properties.

Parameters:
x - X coordinate of a frame.
y - Y coordinate of a frame.
width - Width of a frame.
height - Height of a frame.
FlipHorizontal - True if a frame flipped horizontally.
FlipVertical - True if a frame flipped vertically.
rotationAngle - Number of degrees a frame is rotated.
Method Detail

getX

public float getX()
Returns the X coordinate of the upper-left corner of a frame.


getY

public float getY()
Returns the Y coordinate of the upper-left corner of a frame.


getWidth

public float getWidth()
Returns the width of a frame.


getHeight

public float getHeight()
Returns the height of a frame.


getRotation

public float getRotation()
Returns the number of degrees a frame is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation.


getCenterX

public float getCenterX()
Returns the X coordinate of a frame's center.


getCenterY

public float getCenterY()
Returns the Y coordinate of a frame's center.


isFlipHorizontal

public boolean isFlipHorizontal()
Determines whether a frame is flipped horizontally.


isFlipVertical

public boolean isFlipVertical()
Determines whether a frame is flipped vertically.


getRectangle

public java.awt.geom.Rectangle2D.Float getRectangle()
Returns the coordinates of a frame.


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(ShapeFrameEx value)
Returns a value indicating whether this instance is equal to a specified object.

Parameters:
value - The ShapeFrameEx to compare with this instance.
Returns:
True if value is a ShapeFrameEx that has the same value as this instance; otherwise, false