|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaspose.pdf.Shape
aspose.pdf.ClosedShape
aspose.pdf.Rectangle
public class Rectangle
Represents a rectangle Shape in a Pdf document.
Typical usages are the following:
| Constructor Summary | |
|---|---|
Rectangle()
Initializes a new instance of the Rectangle class. |
|
Rectangle(float left,
float bottom,
float width,
float height)
Initializes a new instance of the Rectangle class. |
|
Rectangle(Graph graph)
Initializes a new instance of the Rectangle class. |
|
Rectangle(Graph graph,
float left,
float bottom,
float width,
float height)
Initializes a new instance of the Rectangle class. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones a new Rectangle object. |
float |
getBottom()
Gets a float value that indicates the bottom position of the rectangle. |
float |
getHeight()
Gets a float value that indicates the height of the rectangle. |
float |
getLeft()
Gets a float value that indicates the left position of the rectangle. |
float |
getRadiusForRoundCorner()
Gets a float value that indicates the radius for the round corner. |
float |
getWidth()
Gets a float value that indicates the width of the rectangle. |
void |
setBottom(float rectBottom)
Sets a float value that indicates the bottom position of the rectangle. |
void |
setHeight(float rectHeight)
Sets a float value that indicates the height of the rectangle. |
void |
setLeft(float rectLeft)
Sets a float value that indicates the left position of the rectangle. |
void |
setRadiusForRoundCorner(float radius)
Sets a float value that indicates the radius for the round corner. |
void |
setWidth(float rectWidth)
Sets a float value that indicates the width of the rectangle. |
| Methods inherited from class aspose.pdf.Shape |
|---|
getGraphInfo, getID, setGraphInfo, setID |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rectangle()
Rectangle class.
public Rectangle(float left,
float bottom,
float width,
float height)
Rectangle class.
left - The left position of the rectangle.bottom - The bottom position of the rectangle.width - The height of the rectangle.height - The width of the rectangle.public Rectangle(Graph graph)
Rectangle class.
graph - The specified Rectangle object.
Remarks: This constructor can inherit common property values from
the specified Graph object.
public Rectangle(Graph graph,
float left,
float bottom,
float width,
float height)
Rectangle class.
graph - The specified Graph object.left - The left position of the rectangle.bottom - The bottom position of the rectangle.width - The height of the rectangle.height - The width of the rectangle.
Remarks: This constructor can inherit common property values from
the specified Graph object.
| Method Detail |
|---|
public float getLeft()
public void setLeft(float rectLeft)
rectLeft - public float getBottom()
public void setBottom(float rectBottom)
rectBottom - public float getWidth()
public void setWidth(float rectWidth)
rectWidth - public float getHeight()
public void setHeight(float rectHeight)
rectHeight - public float getRadiusForRoundCorner()
public void setRadiusForRoundCorner(float radius)
radius - public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||