| java.lang.Object java.awt.geom.GeneralPath
Method Summary | |
public void | append(Shape shape, boolean connect) | public void | append(PathIterator path, boolean connect) | void | checkBuf(int pointCount, boolean checkMove) Checks points and types buffer size to add pointCount points. | public Object | clone() | public void | closePath() | public boolean | contains(double px, double py) | public boolean | contains(double rx, double ry, double rw, double rh) | public boolean | contains(Point2D p) | public boolean | contains(Rectangle2D r) | public Shape | createTransformedShape(AffineTransform t) | public void | curveTo(float x1, float y1, float x2, float y2, float x3, float y3) | public Rectangle | getBounds() | public Rectangle2D | getBounds2D() | public Point2D | getCurrentPoint() | public PathIterator | getPathIterator(AffineTransform t) | public PathIterator | getPathIterator(AffineTransform t, double flatness) | public int | getWindingRule() | public boolean | intersects(double rx, double ry, double rw, double rh) | public boolean | intersects(Rectangle2D r) | boolean | isInside(int cross) Checks cross count according to path rule to define is it point inside shape or not. | public void | lineTo(float x, float y) | public void | moveTo(float x, float y) | public void | quadTo(float x1, float y1, float x2, float y2) | public void | reset() | public void | setWindingRule(int rule) | public void | transform(AffineTransform t) |
WIND_EVEN_ODD | final public static int WIND_EVEN_ODD(Code) | | |
WIND_NON_ZERO | final public static int WIND_NON_ZERO(Code) | | |
pointShift | static int pointShift(Code) | | The space amount in points buffer for different segmenet's types
|
pointSize | int pointSize(Code) | | The points buffer size
|
points | float[] points(Code) | | The points buffer
|
rule | int rule(Code) | | The path rule
|
typeSize | int typeSize(Code) | | The point's type buffer size
|
types | byte[] types(Code) | | The point's types buffer
|
GeneralPath | public GeneralPath()(Code) | | |
GeneralPath | public GeneralPath(int rule)(Code) | | |
GeneralPath | public GeneralPath(int rule, int initialCapacity)(Code) | | |
append | public void append(Shape shape, boolean connect)(Code) | | |
checkBuf | void checkBuf(int pointCount, boolean checkMove)(Code) | | Checks points and types buffer size to add pointCount points. If necessary realloc buffers to enlarge size.
Parameters: pointCount - - the point count to be added in buffer |
closePath | public void closePath()(Code) | | |
contains | public boolean contains(double px, double py)(Code) | | |
contains | public boolean contains(double rx, double ry, double rw, double rh)(Code) | | |
curveTo | public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)(Code) | | |
getWindingRule | public int getWindingRule()(Code) | | |
intersects | public boolean intersects(double rx, double ry, double rw, double rh)(Code) | | |
isInside | boolean isInside(int cross)(Code) | | Checks cross count according to path rule to define is it point inside shape or not.
Parameters: cross - - the point cross count true if point is inside path, or false otherwise |
lineTo | public void lineTo(float x, float y)(Code) | | |
moveTo | public void moveTo(float x, float y)(Code) | | |
quadTo | public void quadTo(float x1, float y1, float x2, float y2)(Code) | | |
reset | public void reset()(Code) | | |
setWindingRule | public void setWindingRule(int rule)(Code) | | |
|
|