Class GeneralPath
java.lang.Object
com.itextpdf.awt.geom.GeneralPath
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGeneralPath(int rule) GeneralPath(int rule, int initialCapacity) GeneralPath(Shape shape) -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(PathIterator path, boolean connect) voidclone()voidbooleancontains(double px, double py) booleancontains(double rx, double ry, double rw, double rh) booleanbooleanvoidcurveTo(float x1, float y1, float x2, float y2, float x3, float y3) getPathIterator(AffineTransform t, double flatness) intbooleanintersects(double rx, double ry, double rw, double rh) booleanvoidlineTo(float x, float y) voidmoveTo(float x, float y) voidquadTo(float x1, float y1, float x2, float y2) voidreset()voidsetWindingRule(int rule) void
-
Field Details
-
WIND_EVEN_ODD
public static final int WIND_EVEN_ODD- See Also:
-
WIND_NON_ZERO
public static final int WIND_NON_ZERO- See Also:
-
-
Constructor Details
-
GeneralPath
public GeneralPath() -
GeneralPath
public GeneralPath(int rule) -
GeneralPath
public GeneralPath(int rule, int initialCapacity) -
GeneralPath
-
-
Method Details
-
setWindingRule
public void setWindingRule(int rule) -
getWindingRule
public int getWindingRule() -
moveTo
public void moveTo(float x, float y) -
lineTo
public void lineTo(float x, float y) -
quadTo
public void quadTo(float x1, float y1, float x2, float y2) -
curveTo
public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3) -
closePath
public void closePath() -
append
-
append
-
getCurrentPoint
-
reset
public void reset() -
transform
-
createTransformedShape
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape
-
getBounds
-
contains
-
contains
-
intersects
public boolean intersects(double rx, double ry, double rw, double rh) - Specified by:
intersectsin interfaceShape
-
contains
-
contains
-
intersects
- Specified by:
intersectsin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
clone
-