Top Methods
sun.awt.geom

public Interface PathConsumer2D

Known Direct Implementers
sun.java2d.pipe.ShapeSpanIterator

Method Summary

Modifier and TypeMethod and Description
public void
public void
curveTo(float x1, float y1, float x2, float y2, float x3, float y3)

public long

Returns:

a native pointer to a PathConsumerVec structure.
getNativeConsumer
()

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 void
lineTo(float x, float y)

public void
moveTo(float x, float y)

public void
pathDone()

Called after the last segment of the last subpath when the iteration of the path segments is completely done.

public void
quadTo(float x1, float y1, float x2, float y2)

Method Detail

closePathback to summary
public void closePath()
See Also
java.awt.geom.Path2D.Float#closePath
curveToback to summary
public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
See Also
java.awt.geom.Path2D.Float#curveTo
getNativeConsumerback to summary
public long getNativeConsumer()

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

Returns:long

a native pointer to a PathConsumerVec structure.

lineToback to summary
public void lineTo(float x, float y)
See Also
java.awt.geom.Path2D.Float#lineTo
moveToback to summary
public void moveTo(float x, float y)
See Also
java.awt.geom.Path2D.Float#moveTo
pathDoneback to summary
public void pathDone()

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 PathIterator returns true from its done method.

quadToback to summary
public void quadTo(float x1, float y1, float x2, float y2)
See Also
java.awt.geom.Path2D.Float#quadTo