Circle

Overview

Circle is a class in Aspose.PDF FOSS for Java. Inherits from: Shape.

Represents a circle drawing shape.

This class provides 12 methods for working with Circle objects in Java programs. Available methods include: Circle, checkBounds, getGraphInfo, getPosX, getPosY, getRadius, getText, setGraphInfo, setPosX, setPosY, setRadius, setText. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: graphInfo, posX, posY, radius, text.

Properties

NameTypeAccessDescription
posXfloatReadGets the x-coordinate of the center.
posYfloatReadGets the y-coordinate of the center.
radiusfloatReadGets the radius.
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

Methods

SignatureDescription
Circle(posX: float, posY: float, radius: float)Creates a new circle with the specified center and radius.
getPosX()floatGets the x-coordinate of the center.
setPosX(posX: float)Sets the x-coordinate of the center.
getPosY()floatGets the y-coordinate of the center.
setPosY(posY: float)Sets the y-coordinate of the center.
getRadius()floatGets the radius.
setRadius(radius: float)Sets the radius.
checkBounds(width: double, height: double){@inheritDoc}
/
getGraphInfo()GraphInfoGets the graphic styling properties for this shape.
setGraphInfo(graphInfo: GraphInfo)Sets the graphic styling properties for this shape.
getText()StringGets the optional text label associated with this shape.
setText(text: String)Sets the optional text label associated with this shape.

See Also

 English