|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.pdf.PDFObject
com.elegantj.pdf.PDFGraphicsObject
com.elegantj.pdf.PDFCircle
This class represents PDF Circle object
| Field Summary |
| Fields inherited from class com.elegantj.pdf.PDFGraphicsObject |
BEVEL_JOINS, BUTT_CAPS, MITER_JOINS, ROUND_CAPS, ROUND_JOINS, SQUARE_CAPS |
| Constructor Summary | |
PDFCircle(int x,
int y,
int radius)
Constructs a PDFCircle object with default outline width, default outline color and fill color |
|
PDFCircle(int x,
int y,
int radius,
int outlineWidth,
java.awt.Color outLineColor,
java.awt.Color fillColor)
Constructs a PDFCircle object with specified outline width, outline color and fill color |
|
| Method Summary | |
java.lang.Object |
clone()
Returns the clone of this object |
boolean |
getFillMode()
Method which returns the state of fill mode if true, circle will be filled with fill color |
int |
getOutlineWidth()
Method which returns the outline width of circle |
PDFPattern |
getPattern()
Returns the PDFPattern which is used to fill to this object |
int |
getRadius()
Method which returns the radius of circle |
int |
getX()
Method which returns the x coordinate of center of circle |
int |
getY()
Method which returns the y coordinate of center of circle |
void |
setFillColor(java.awt.Color fillColor)
Method which sets the fill color of circle |
void |
setFillMode(boolean flag)
Method which sets the state of fill mode if true, circle will be filled with fill color |
void |
setOutlineColor(java.awt.Color outLineColor)
Method which sets the outline color of circle |
void |
setOutlineWidth(int width)
Method which sets the outline width of circle |
void |
setPattern(PDFPattern pattern)
Sets the PDFPattern to fill this object |
void |
setRadius(int radius)
Method which sets the radius of circle |
void |
setX(int x)
Method which sets the x coordinate of center of circle |
void |
setY(int y)
Method which sets the y coordinate of circle |
| Methods inherited from class com.elegantj.pdf.PDFObject |
getPDFObjectID, getPDFObjectRefStr, getPDFObjectType, setPDFObjectID, setPDFObjectType |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDFCircle(int x,
int y,
int radius)
x - The x coordinate of center of circley - The y coordinate of center of circleradius - of circle
public PDFCircle(int x,
int y,
int radius,
int outlineWidth,
java.awt.Color outLineColor,
java.awt.Color fillColor)
x - The x coordinate of center of circley - The y coordinate of center of circleradius - of circleoutlineWidth - The out line width of the circleoutLineColor - The outline color of the circlefillColor - The fill color of the circle| Method Detail |
public void setX(int x)
x - The X coordinate of center of circlepublic int getX()
public void setY(int y)
y - The Y coordinate of center of circlepublic int getY()
public void setRadius(int radius)
radius - The radius of circlepublic int getRadius()
public void setOutlineWidth(int width)
width - The outline width of circlepublic int getOutlineWidth()
public void setFillMode(boolean flag)
flag - The state of fill modepublic boolean getFillMode()
public void setFillColor(java.awt.Color fillColor)
fillColor - The fill color of circlepublic void setOutlineColor(java.awt.Color outLineColor)
outLineColor - The outline color of circlepublic void setPattern(PDFPattern pattern)
public PDFPattern getPattern()
public java.lang.Object clone()
|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||