Circle

Inheritance: java.lang.Object, com.aspose.pdf.drawing.Shape

public final class Circle extends Shape

Represents circle.

Constructors

ConstructorDescription
Circle()For Internal usage only
Circle(float posX, float posY, float radius)Initializes a new instance of the Circle class.

Methods

MethodDescription
getPosX()Gets float value that indicates the x-coordinate of the center of the arc.
setPosX(double value)Sets float value that indicates the x-coordinate of the center of the arc.
getPosY()Gets float value that indicates the y-coordinate of the center of the arc.
setPosY(double value)Sets float value that indicates the y-coordinate of the center of the arc.
getRadius()Gets float value that indicates the radius of the circle.
setRadius(double value)Sets float value that indicates the radius of the circle.

Circle()

public Circle()

For Internal usage only

Circle(float posX, float posY, float radius)

public Circle(float posX, float posY, float radius)

Initializes a new instance of the Circle class.

Parameters:

ParameterTypeDescription
posXfloatThe x-coordinate of the center of the circle.
posYfloatThe y-coordinate of the center of the circle.
radiusfloatThe radius of the circle.

getPosX()

public double getPosX()

Gets float value that indicates the x-coordinate of the center of the arc.

Returns: double - x-coordinate of the center of the arc.

setPosX(double value)

public void setPosX(double value)

Sets float value that indicates the x-coordinate of the center of the arc.

Parameters:

ParameterTypeDescription
valuedoublex-coordinate of the center of the arc.

getPosY()

public double getPosY()

Gets float value that indicates the y-coordinate of the center of the arc.

Returns: double - y-coordinate of the center of the arc.

setPosY(double value)

public void setPosY(double value)

Sets float value that indicates the y-coordinate of the center of the arc.

Parameters:

ParameterTypeDescription
valuedoubley-coordinate of the center of the arc.

getRadius()

public double getRadius()

Gets float value that indicates the radius of the circle.

Returns: double - value that indicates the radius of the circle.

setRadius(double value)

public void setRadius(double value)

Sets float value that indicates the radius of the circle.

Parameters:

ParameterTypeDescription
valuedoublethat indicates the radius of the circle.