|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.ms.System.ValueType<T>
com.aspose.ms.lang.Struct<ShapeFrameEx>
com.aspose.slides.ShapeFrameEx
public class ShapeFrameEx
Represents shape frame's properties.
Constructor Summary | |
---|---|
ShapeFrameEx()
|
|
ShapeFrameEx(float x,
float y,
float width,
float height,
boolean flipH,
boolean flipV,
float rotationAngle)
Creates new shape frame's properties. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
ShapeFrameEx |
Clone()
|
void |
CloneTo(ShapeFrameEx that)
|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified object. |
boolean |
equals(ShapeFrameEx value)
Returns a value indicating whether this instance is equal to a specified object. |
static boolean |
equals(ShapeFrameEx obj1,
ShapeFrameEx obj2)
|
float |
getCenterX()
Returns the X coordinate of a frame's center. |
float |
getCenterY()
Returns the Y coordinate of a frame's center. |
boolean |
getFlipH()
Determines whether a frame is flipped horizontally. |
boolean |
getFlipV()
Determines whether a frame is flipped vertically. |
float |
getHeight()
Returns the height of a frame. |
java.awt.geom.Rectangle2D.Float |
getRectangle()
|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeFrameEx()
public ShapeFrameEx(float x, float y, float width, float height, boolean flipH, boolean flipV, float rotationAngle)
Creates new shape frame's properties.
x
- X coordinate of a frame.y
- Y coordinate of a frame.width
- Width of a frame.height
- Height of a frame.flipH
- True if a frame flipped horizontally.flipV
- True if a frame flipped vertivally.rotationAngle
- Number of degrees a frame is rotated.Method Detail |
---|
public float getX()
Returns the X coordinate of the upper-left corner of a frame.
Read-only float
.
public float getY()
Returns the Y coordinate of the upper-left corner of a frame.
Read-only float
.
public float getWidth()
Returns the width of a frame.
Read-only float
.
public float getHeight()
Returns the height of a frame.
Read-only float
.
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.
Read-only float
.
public float getCenterX()
Returns the X coordinate of a frame's center.
Read-only float
.
public float getCenterY()
Returns the Y coordinate of a frame's center.
Read-only float
.
public boolean getFlipH()
Determines whether a frame is flipped horizontally.
Read-only bool
.
public boolean getFlipV()
Determines whether a frame is flipped vertically.
Read-only bool
.
public java.awt.geom.Rectangle2D.Float getRectangle()
public boolean equals(ShapeFrameEx value)
Returns a value indicating whether this instance is equal to a specified object.
value
- The ShapeFRameEx to compare with this instance.
<b>True</b>
if value is a ShapeFrameEx that has the same value as this instance; otherwise, <b>false</b>
.public void CloneTo(ShapeFrameEx that)
CloneTo
in class com.aspose.ms.System.ValueType<ShapeFrameEx>
public ShapeFrameEx Clone()
Clone
in class com.aspose.ms.System.ValueType<ShapeFrameEx>
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified object.
equals
in class java.lang.Object
obj
- The object to compare with this instance.
<b>True</b>
if obj is a ShapeFrameEx that has the same value as this instance; otherwise, <b>false</b>
.public static boolean equals(ShapeFrameEx obj1, ShapeFrameEx obj2)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |