|
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.Path
This class can be used to specify a collection of sub paths which will be used to complete your path. Sub paths that can be added are CurveFromSubPath, CurveSubPath, CurveToSubPath and LineSubPath.
View Example
| Constructor Summary | |
Path(float x,
float y)
Initializes a new instance of the Path class. |
|
Path(float x,
float y,
Color lineColor)
Initializes a new instance of the Path class. |
|
Path(float x,
float y,
Color fillColor,
Apply apply)
Initializes a new instance of the Path class. |
|
Path(float x,
float y,
Color lineColor,
Color fillColor,
Apply apply)
Initializes a new instance of the Path class. |
|
Path(float x,
float y,
Color lineColor,
Color fillColor,
Apply apply,
float lineWidth,
LineStyle lineStyle,
boolean closePath)
Initializes a new instance of the Path class. |
|
Path(float x,
float y,
Color lineColor,
float lineWidth,
LineStyle lineStyle)
Initializes a new instance of the Path class. |
|
Path(float x,
float y,
Color lineColor,
float lineWidth,
LineStyle lineStyle,
boolean closePath)
Initializes a new instance of the Path class. |
|
| Method Summary | |
void |
draw(PageWriter writer)
Draws the path to the given PageWriter object. |
Apply |
getApply()
Gets the Apply enumeration that specifies how color is applied to the path. |
boolean |
getClosePath()
Gets a value specifying if the path should be closed. |
Color |
getFillColor()
Gets the Color object to use for the fill of the path. |
LineCap |
getLineCap()
Gets the LineCap enumeration used to specify the line cap
style of the path's lines. |
Color |
getLineColor()
Gets the Color object to use for the path's lines. |
LineJoin |
getLineJoin()
Gets the LineJoin enumeration used to specify the line join
style of the path's lines. |
LineStyle |
getLineStyle()
Gets the LineStyle object used to specify the style
of the path's lines. |
float |
getLineWidth()
Gets the width of the path's lines. |
float |
getMiterLimit()
Gets the miter limit of the path's lines. |
SubPathList |
getSubPaths()
Gets SubPathList that contains a collection of
SubPath objects. |
float |
getX()
Gets the X coordinate of the path. |
float |
getY()
Gets the Y coordinate of the path. |
void |
setApply(Apply value)
Sets the Apply enumeration that specifies how color is applied to the path. |
void |
setClosePath(boolean value)
Sets a value specifying if the path should be closed. |
void |
setFillColor(Color value)
Sets the Color object to use for the fill of the path. |
void |
setLineCap(LineCap value)
Sets the LineCap enumeration used to specify the line cap
style of the path's lines. |
void |
setLineColor(Color value)
Sets the Color object to use for the path's lines. |
void |
setLineJoin(LineJoin value)
Sets the LineJoin enumeration used to specify the line join
style of the path's lines. |
void |
setLineStyle(LineStyle value)
Sets the LineStyle object used to specify the style
of the path's lines. |
void |
setLineWidth(float value)
Sets the width of the path's lines. |
void |
setMiterLimit(float value)
Sets the miter limit of the path's lines. |
void |
setX(float value)
Set the X coordinate of the path. |
void |
setY(float value)
Sets the Y coordinate of the path. |
| 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 Path(float x,
float y)
Path class.
x - X coordinate of the path.y - Y coordinate of the path.Path
public Path(float x,
float y,
Color lineColor)
Path class.
x - X coordinate of the path.y - Y coordinate of the path.lineColor - Color of the lines of the path.Path
public Path(float x,
float y,
Color fillColor,
Apply apply)
Path class.
x - X coordinate of the path.y - Y coordinate of the path.fillColor - Color of the fill of the path.apply - Specifies how color is applied to the path.Path
public Path(float x,
float y,
Color lineColor,
Color fillColor,
Apply apply)
x - X coordinate of the path.y - Y coordinate of the path.lineColor - Color of the lines of the path.fillColor - Color of the fill of the path.apply - Specifies how color is applied to the path.Path
public Path(float x,
float y,
Color lineColor,
float lineWidth,
LineStyle lineStyle)
Path class.
x - X coordinate of the path.y - Y coordinate of the path.lineColor - Color of the lines of the path.lineWidth - Width of the lines of the path.lineStyle - Style of the lines of the path.Path
public Path(float x,
float y,
Color lineColor,
float lineWidth,
LineStyle lineStyle,
boolean closePath)
Path class.
x - X coordinate of the path.y - Y coordinate of the path.lineColor - Color of the lines of the path.lineWidth - Width of the lines of the path.lineStyle - Style of the lines of the path.closePath - Specifies if the path should be closed.Path
public Path(float x,
float y,
Color lineColor,
Color fillColor,
Apply apply,
float lineWidth,
LineStyle lineStyle,
boolean closePath)
Path class.
x - X coordinate of the path.y - Y coordinate of the path.lineColor - Color of the lines of the path.fillColor - Color of the fill of the path.apply - Specifies how color is applied to the path.lineWidth - Width of the lines of the path.lineStyle - Style of the lines of the path.closePath - Specifies if the path should be closed.Path| Method Detail |
public void setLineStyle(LineStyle value)
LineStyle object used to specify the style
of the path's lines.
LineStylepublic LineStyle getLineStyle()
LineStyle object used to specify the style
of the path's lines.
LineStylepublic void setLineCap(LineCap value)
LineCap enumeration used to specify the line cap
style of the path's lines.
LineCappublic LineCap getLineCap()
LineCap enumeration used to specify the line cap
style of the path's lines.
LineCappublic void setLineJoin(LineJoin value)
LineJoin enumeration used to specify the line join
style of the path's lines.
LineJoinpublic LineJoin getLineJoin()
LineJoin enumeration used to specify the line join
style of the path's lines.
LineJoinpublic void setMiterLimit(float value)
public float getMiterLimit()
public SubPathList getSubPaths()
SubPathList that contains a collection of
SubPath objects.
SubPathList,
SubPathpublic void setLineWidth(float value)
public float getLineWidth()
public void setLineColor(Color value)
Color object to use for the path's lines.
Colorpublic Color getLineColor()
Color object to use for the path's lines.
Colorpublic void setFillColor(Color value)
Color object to use for the fill of the path.
Colorpublic Color getFillColor()
Color object to use for the fill of the path.
Colorpublic void setX(float value)
setX in interface ICoordinatepublic float getX()
getX in interface ICoordinatepublic void setY(float value)
setY in interface ICoordinatepublic float getY()
getY in interface ICoordinatepublic void setApply(Apply value)
Apply enumeration that specifies how color is applied to the path.
Applypublic Apply getApply()
Apply enumeration that specifies how color is applied to the path.
Applypublic void setClosePath(boolean value)
public boolean getClosePath()
public void draw(PageWriter writer)
PageWriter object.
draw in class PageElementwriter - PageWriter object to receive the sub path's output.PageWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||