|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.PageElement com.cete.dynamicpdf.pageelements.TaggablePageElement com.cete.dynamicpdf.pageelements.Circle
public class Circle
This class can be used to place circles on a page.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
Circle(float x,
float y,
float radius)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radius,
Color borderColor)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radius,
Color borderColor,
Color fillColor)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radius,
Color borderColor,
Color fillColor,
float borderWidth)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radius,
Color borderColor,
Color fillColor,
float borderWidth,
LineStyle borderStyle)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radius,
Color borderColor,
float borderWidth,
LineStyle borderStyle)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radiusX,
float radiusY)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radiusX,
float radiusY,
Color borderColor,
Color fillColor,
float borderWidth,
LineStyle borderStyle)
Initializes a new instance of the Circle class. |
|
Circle(float x,
float y,
float radius,
float borderWidth,
LineStyle borderStyle)
Initializes a new instance of the Circle class. |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws the circle to the given PageWriter object. |
Color |
getBorderColor()
Gets the Color object used for the border of the circle. |
LineStyle |
getBorderStyle()
Gets the LineStyle object that represents the
border style of the circle. |
float |
getBorderWidth()
Gets the border width of the circle. |
Color |
getFillColor()
Gets the Color object used for the fill of the circle. |
float |
getRadiusX()
Gets the horizontal radius of the circle. |
float |
getRadiusY()
Gets the vertical radius of the circle. |
float |
getX()
Gets the X coordinate of the circle. |
float |
getY()
Gets the Y coordinate of the circle. |
void |
setBorderColor(Color borderColor)
Sets the Color object to use for the border of the circle. |
void |
setBorderStyle(LineStyle borderStyle)
Sets the LineStyle object that represents the
border style of the circle. |
void |
setBorderWidth(float borderWidth)
Sets the border width of the circle. |
void |
setFillColor(Color fillColor)
Sets the Color object to use for the fill of the circle. |
void |
setRadiusX(float radiusX)
Sets the horizontal radius of the circle. |
void |
setRadiusY(float radiusY)
Sets the vertical radius of the circle. |
void |
setX(float x)
Sets the X coordinate of the circle. |
void |
setY(float y)
Sets the Y coordinate of the circle. |
Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement |
---|
getTag, getTagOrder, setTag, setTagOrder |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Circle(float x, float y, float radius)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radius
- the float value specifying Radius of the circle.public Circle(float x, float y, float radiusX, float radiusY)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radiusX
- the float specifying Horizontal radius of the circle.radiusY
- the float specifying Vertical radius of the circle.public Circle(float x, float y, float radius, Color borderColor)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radius
- the float value specifying Radius of the circle.borderColor
- the Color of the border of the circle.public Circle(float x, float y, float radius, float borderWidth, LineStyle borderStyle)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radius
- the float value specifying Radius of the circle.borderWidth
- float specifying width of the border of the circle.borderStyle
- LineStyle of the border of the circle.public Circle(float x, float y, float radius, Color borderColor, float borderWidth, LineStyle borderStyle)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radius
- the float value specifying Radius of the circle.borderColor
- Color of the border of the circle.borderWidth
- float specifying width of the border of the circle.borderStyle
- LineStyle of the border of the circle.public Circle(float x, float y, float radius, Color borderColor, Color fillColor)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radius
- the float value specifying Radius of the circle.borderColor
- Color of the border of the circle.fillColor
- Fill Color of the circle.public Circle(float x, float y, float radius, Color borderColor, Color fillColor, float borderWidth)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radius
- the float value specifying Radius of the circle.borderColor
- Color of the border of the circle.fillColor
- Fill Color of the circle.borderWidth
- float specifying width of the border of the circle.public Circle(float x, float y, float radius, Color borderColor, Color fillColor, float borderWidth, LineStyle borderStyle)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radius
- the float value specifying Radius of the circle.borderColor
- Color of the border of the circle.fillColor
- Fill Color of the circle.borderWidth
- float specifying width of the border of the circle.borderStyle
- LineStyle of the border of the circle.public Circle(float x, float y, float radiusX, float radiusY, Color borderColor, Color fillColor, float borderWidth, LineStyle borderStyle)
Circle
class.
x
- the float value indicating the X coordinate of the circle.y
- the float value indicating the Y coordinate of the circle.radiusX
- the float specifying Horizontal radius of the circle.radiusY
- the float specifying Vertical radius of the circle.borderColor
- Color of the border of the circle.fillColor
- Fill Color of the circle.borderWidth
- float specifying width of the border of the circle.borderStyle
- LineStyle of the border of the circle.Method Detail |
---|
public void setBorderStyle(LineStyle borderStyle)
LineStyle
object that represents the
border style of the circle.
borderStyle
- LineStyle object specifying border style of the
circle.LineStyle
public LineStyle getBorderStyle()
LineStyle
object that represents the
border style of the circle.
LineStyle
public void setBorderWidth(float borderWidth)
borderWidth
- the float specifying the border width of the circle.public float getBorderWidth()
public void setBorderColor(Color borderColor)
Color
object to use for the border of the circle.
borderColor
- the Color object to use for the border of the circle.Color
public Color getBorderColor()
Color
object used for the border of the circle.
Color
public void setFillColor(Color fillColor)
Color
object to use for the fill of the circle.
fillColor
- Color object to use for the fill of the circle.Color
public Color getFillColor()
Color
object used for the fill of the circle.
Color
public void setX(float x)
x
- the float value used to set the X coordinate of the circle.public float getX()
public void setY(float y)
y
- the float value used to set the Y coordinate of the circle.public float getY()
public void setRadiusX(float radiusX)
radiusX
- the float value used to set the horizontal radius of
the circle.public float getRadiusX()
public void setRadiusY(float radiusY)
radiusY
- the float value used to set the vertical radius of
the circle.public float getRadiusY()
public void draw(PageWriter writer)
PageWriter
object.
draw
in class TaggablePageElement
writer
- PageWriter
object to receive the circle's output.PageWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |