|
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.PDFOval
This class represents PDF Oval 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 | |
PDFOval(int x,
int y,
int width,
int height)
Constructs a PDFOval object with default outline width, default outline color and fill color |
|
PDFOval(int x,
int y,
int width,
int height,
int outlineWidth,
java.awt.Color outLineColor,
java.awt.Color fillColor)
Constructs a PDFOval 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 |
int |
getHeight()
Method which returns the value of height of the oval |
int |
getOutlineWidth()
Method which returns the outline width of oval |
PDFPattern |
getPattern()
Returns the PDFPattern which is used to fill to this object |
int |
getWidth()
Method which returns the value of width of the oval |
int |
getX()
Method which returns the x coordinate of center of oval |
int |
getY()
Method which returns the y coordinate of center of oval |
void |
setFillColor(java.awt.Color fillColor)
Method which sets the fill color of oval |
void |
setFillMode(boolean flag)
Method which sets the state of fill mode |
void |
setHeight(int height)
Method which sets the value of height of the oval |
void |
setOutlineColor(java.awt.Color outLineColor)
Method which sets the outline color of oval |
void |
setOutlineWidth(int width)
Method which sets the outline width of oval |
void |
setPattern(PDFPattern pattern)
Sets the PDFPattern to fill this object |
void |
setWidth(int width)
Method which sets the value of width of the oval |
void |
setX(int x)
Method which sets the x coordinate of center of oval |
void |
setY(int y)
Method which sets the y coordinate of oval |
| 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 PDFOval(int x,
int y,
int width,
int height)
x - The x coordinate of center of ovaly - The y coordinate of center of ovalwidth - of the ovalheight - of the oval
public PDFOval(int x,
int y,
int width,
int height,
int outlineWidth,
java.awt.Color outLineColor,
java.awt.Color fillColor)
x - The x coordinate of center of ovaly - The y coordinate of center of ovalwidth - of the ovalheight - of the ovaloutlineWidth - The out line width of the ovaloutLineColor - The out line color of the ovalfillColor - The fill color of the oval| Method Detail |
public void setX(int x)
x - the x coordinate of center of ovalpublic int getX()
public void setY(int y)
y - the y coordinate of center of ovalpublic int getY()
public void setWidth(int width)
width - The value of width of the ovalpublic int getWidth()
public void setHeight(int height)
height - The value of height of the ovalpublic int getHeight()
public void setOutlineWidth(int width)
width - the outline width of ovalpublic int getOutlineWidth()
public void setFillMode(boolean flag)
flag - the state of fill mode
if true, oval will be filled with fill colorpublic boolean getFillMode()
public void setFillColor(java.awt.Color fillColor)
fillColor - The fill colro of ovalpublic void setOutlineColor(java.awt.Color outLineColor)
outLineColor - The outline color of ovalpublic 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 | |||||||||