|
com.aspose.pdf.elements
Class Circle
java.lang.Object
com.aspose.pdf.elements.Shape
com.aspose.pdf.elements.Circle
public class Circle - extends Shape
Represents a circle Shape in a Graph.
|
Constructor Summary |
Circle(float posX,
float posY,
float radius)
Initialize a new instance of the Circle class. |
|
Method Summary |
float |
getPosX()
Gets a float value that indicates the x-coordinate of the center of the circle. |
float |
getPosY()
Gets a float value that indicates the y-coordinate of the center of the circle. |
float |
getRadius()
Gets a float value that indicates the radius of the circle. |
Circle |
setPosX(float posX)
Sets a float value that indicates the x-coordinate of the center of the circle. |
Circle |
setPosY(float posY)
Sets a float value that indicates the y-coordinate of the center of the circle. |
Circle |
setRadius(float radius)
Sets a float value that indicates the radius of the circle. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Circle
public Circle(float posX,
float posY,
float radius)
- Initialize a new instance of the Circle class.
getPosX
public float getPosX()
- Gets a float value that indicates the x-coordinate of the center of the circle.
- Returns:
- Returns the posX.
setPosX
public Circle setPosX(float posX)
- Sets a float value that indicates the x-coordinate of the center of the circle.
- Parameters:
posX - The posX to set.
getPosY
public float getPosY()
- Gets a float value that indicates the y-coordinate of the center of the circle.
- Returns:
- Returns the posY.
setPosY
public Circle setPosY(float posY)
- Sets a float value that indicates the y-coordinate of the center of the circle.
- Parameters:
posY - The posY to set.
getRadius
public float getRadius()
- Gets a float value that indicates the radius of the circle.
- Returns:
- Returns the radius.
setRadius
public Circle setRadius(float radius)
- Sets a float value that indicates the radius of the circle.
- Parameters:
radius - The radius to set.
|