|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aspose.pdf.elements.Shape com.aspose.pdf.elements.Rectangle
public class Rectangle
Represents a rectangle Shape in a Pdf document.
Constructor Summary | |
---|---|
Rectangle()
Initialize a new instance of the Rectangle class. |
|
Rectangle(float posX,
float posY,
float width,
float height)
Initialize a new instance of the Rectangle class. |
Method Summary | |
---|---|
float |
getHeight()
Gets a float value that indicates the height of the rectangle. |
float |
getposX()
Gets a float value that indicates the posX position of the rectangle. |
float |
getPosY()
Gets a float value that indicates the posY position of the rectangle. |
float |
getWidth()
Gets a float value that indicates the width of the rectangle. |
Rectangle |
setHeight(float height)
Sets a float value that indicates the height of the rectangle. |
Rectangle |
setposX(float posX)
Sets a float value that indicates the posX position of the rectangle. |
Rectangle |
setposY(float posY)
Sets a float value that indicates the posY position of the rectangle. |
Rectangle |
setWidth(float width)
Sets a float value that indicates the width of the rectangle. |
Methods inherited from class com.aspose.pdf.elements.Shape |
---|
getGraphInfo, getID, setGraphInfo, setID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rectangle()
public Rectangle(float posX, float posY, float width, float height)
Method Detail |
---|
public float getPosY()
public Rectangle setposY(float posY)
posY
- The posY to set.public float getHeight()
public Rectangle setHeight(float height)
height
- The height to set.public float getposX()
public Rectangle setposX(float posX)
posX
- The posX to set.public float getWidth()
public Rectangle setWidth(float width)
width
- The width to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |