Package com.evopdf
Class CircleElement
java.lang.Object
com.evopdf.PageElement
com.evopdf.PageGraphicElement
com.evopdf.EllipseElement
com.evopdf.CircleElement
This class represents a circle element that can be added to a PDF document
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.evopdf.EllipseElement
setX, setXRadius, setY, setYRadius, x, xRadius, y, yRadius
Methods inherited from class com.evopdf.PageGraphicElement
backColor, blending, clipRectangle, foreColor, gradient, lineStyle, opacity, rotate, scale, setBackColor, setBlending, setClipRectangle, setForeColor, setGradient, setLineStyle, setOpacity, skew, translate
-
Constructor Details
-
CircleElement
public CircleElement(float x, float y, float radius) Circle element constructor- Parameters:
x
- the X coordinate where the ellipse will be renderedy
- the Y coordinate where the ellipse will be renderedradius
- the circle radius
-
-
Method Details
-
radius
public float radius()Gets the circle radius- Returns:
- the circle radius
-
setRadius
public void setRadius(float radius) Sets the circle radius- Parameters:
radius
- the circle radius to set
-