| Modifier and Type | Field and Description |
|---|---|
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public native void | |
| public void | |
| public native void | |
| public native void | |
| public native void | curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
Implements sun.
|
| public native void | |
| public native long | getNativeConsumer()
Implements sun. If a given PathConsumer performs all or most of its work natively then it can return a (non-zero) pointer to a native function vector that defines C functions for all of the above methods. |
| public native long | getNativeIterator()
Implements sun. This method returns a native pointer to a function block that can be used by a native method to perform the same iteration cycle that the above methods provide while avoiding upcalls to the Java object. |
| public native void | getPathBox(int[] pathbox)
Implements sun. This method returns the bounding box of the spans that the iterator will be returning. |
| public static native void | |
| public native void | intersectClipBox(int lox, int loy, int hix, int hiy)
Implements sun. This method constrains the spans returned by nextSpan() to the rectangle whose bounds are given. |
| public native void | |
| public native void | |
| public native boolean | nextSpan(int[] spanbox)
Implements sun. This method returns the next span in the shape being iterated. |
| public native void | pathDone()
Implements sun. Called after the last segment of the last subpath when the iteration of the path segments is completely done. |
| public native void | |
| private native void | |
| public void | |
| public void | |
| public void | |
| public native void | |
| public native void | |
| public native void | skipDownTo(int y)
Implements sun. This method tells the iterator that it may skip all spans whose Y range is completely above the indicated Y coordinate. |
| pData | back to summary |
|---|---|
| pack-priv long pData | |
| ShapeSpanIterator | back to summary |
|---|---|
| public ShapeSpanIterator(boolean adjust) | |
| addSegment | back to summary |
|---|---|
| public native void addSegment(int type, float[] coords) | |
| appendPath | back to summary |
|---|---|
| public void appendPath(PathIterator pi) | |
| appendPoly | back to summary |
|---|---|
| public native void appendPoly(int[] xPoints, int[] yPoints, int nPoints, int xoff, int yoff) | |
| closePath | back to summary |
|---|---|
| public native void closePath() Implements sun. | |
| curveTo | back to summary |
|---|---|
| public native void curveTo(float x1, float y1, float x2, float y2, float x3, float y3) Implements sun. | |
| dispose | back to summary |
|---|---|
| public native void dispose() | |
| getNativeConsumer | back to summary |
|---|---|
| public native long getNativeConsumer() Implements sun. Doc from sun. If a given PathConsumer performs all or most of its work natively then it can return a (non-zero) pointer to a native function vector that defines C functions for all of the above methods. The specific pointer it returns is a pointer to a PathConsumerVec structure as defined in the include file src/share/native/sun/java2d/pipe/PathConsumer2D.h | |
| getNativeIterator | back to summary |
|---|---|
| public native long getNativeIterator() Implements sun. This method returns a native pointer to a function block that can be used by a native method to perform the same iteration cycle that the above methods provide while avoiding upcalls to the Java object. The definition of the structure whose pointer is returned by this method is defined in:
src/share/native/sun/java2d/pipe/SpanIterator.h
| |
| getPathBox | back to summary |
|---|---|
| public native void getPathBox(int[] pathbox) Implements sun. Doc from sun. This method returns the bounding box of the spans that the iterator will be returning. The array must be of length at least 4 and upon return, it will be filled with the values:
{PathMinX, PathMinY, PathMaxX, PathMaxY}.
| |
| initIDs | back to summary |
|---|---|
| public static native void initIDs() | |
| intersectClipBox | back to summary |
|---|---|
| public native void intersectClipBox(int lox, int loy, int hix, int hiy) Implements sun. Doc from sun. This method constrains the spans returned by nextSpan() to the rectangle whose bounds are given. | |
| lineTo | back to summary |
|---|---|
| public native void lineTo(float x, float y) Implements sun. | |
| moveTo | back to summary |
|---|---|
| public native void moveTo(float x, float y) Implements sun. | |
| nextSpan | back to summary |
|---|---|
| public native boolean nextSpan(int[] spanbox) Implements sun. Doc from sun. This method returns the next span in the shape being iterated. The array must be of length at least 4 and upon return, it will be filled with the values:
{SpanMinX, SpanMinY, SpanMaxX, SpanMaxY}.
| |
| pathDone | back to summary |
|---|---|
| public native void pathDone() Implements sun. Doc from sun. Called after the last segment of the last subpath when the
iteration of the path segments is completely done. This
method serves to trigger the end of path processing in the
consumer that would normally be triggered when a
| |
| quadTo | back to summary |
|---|---|
| public native void quadTo(float x1, float y1, float x2, float y2) Implements sun. | |
| setNormalize | back to summary |
|---|---|
| private native void setNormalize(boolean adjust) | |
| setOutputArea | back to summary |
|---|---|
| public void setOutputArea(Rectangle r) | |
| setOutputArea | back to summary |
|---|---|
| public void setOutputArea(Region r) | |
| setOutputAreaXYWH | back to summary |
|---|---|
| public void setOutputAreaXYWH(int x, int y, int w, int h) | |
| setOutputAreaXYXY | back to summary |
|---|---|
| public native void setOutputAreaXYXY(int lox, int loy, int hix, int hiy) | |
| setRule | back to summary |
|---|---|
| public native void setRule(int rule) | |
| skipDownTo | back to summary |
|---|---|
| public native void skipDownTo(int y) Implements sun. This method tells the iterator that it may skip all spans whose Y range is completely above the indicated Y coordinate. | |