IShapeFrame
All Implemented Interfaces: com.aspose.slides.IGenericCloneable
public interface IShapeFrame extends IGenericCloneable<IShapeFrame>
Represents shape frame’s properties.
Methods
Method | Description |
---|---|
getX() | Returns the X coordinate of the upper-left corner of a frame. |
getY() | Returns the Y coordinate of the upper-left corner of a frame. |
getWidth() | Returns the width of a frame. |
getHeight() | Returns the height of a frame. |
getRotation() | Returns the number of degrees a frame is rotated around the z-axis. |
getCenterX() | Returns the X coordinate of a frame’s center. |
getCenterY() | Returns the Y coordinate of a frame’s center. |
getFlipH() | Determines whether a frame is flipped horizontally. |
getFlipV() | Determines whether a frame is flipped vertically. |
getRectangle() | Returns the coordinates of a frame. |
getX()
public abstract float getX()
Returns the X coordinate of the upper-left corner of a frame. Read-only float.
Returns: float
getY()
public abstract float getY()
Returns the Y coordinate of the upper-left corner of a frame. Read-only float.
Returns: float
getWidth()
public abstract float getWidth()
Returns the width of a frame. Read-only float.
Returns: float
getHeight()
public abstract float getHeight()
Returns the height of a frame. Read-only float.
Returns: float
getRotation()
public abstract 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. Read-only float.
Returns: float
getCenterX()
public abstract float getCenterX()
Returns the X coordinate of a frame’s center. Read-only float.
Returns: float
getCenterY()
public abstract float getCenterY()
Returns the Y coordinate of a frame’s center. Read-only float.
Returns: float
getFlipH()
public abstract byte getFlipH()
Determines whether a frame is flipped horizontally. Read-only NullableBool.
Returns: byte
getFlipV()
public abstract byte getFlipV()
Determines whether a frame is flipped vertically. Read-only NullableBool.
Returns: byte
getRectangle()
public abstract Rectangle2D.Float getRectangle()
Returns the coordinates of a frame. Read-only java.awt.geom.Rectangle2D.Float.
Returns: java.awt.geom.Rectangle2D.Float