public interface

PathConsumer2D

sun.awt.geom.PathConsumer2D
Known Indirect Subclasses

Summary

Public Methods
abstract void closePath()
abstract void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
abstract 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.
abstract void lineTo(float x, float y)
abstract void moveTo(float x, float y)
abstract void pathDone()
Called after the last segment of the last subpath when the iteration of the path segments is completely done.
abstract void quadTo(float x1, float y1, float x2, float y2)

Public Methods

public abstract void closePath ()

See Also
  • java.awt.geom.Path2D.Float.closePath

public abstract void curveTo (float x1, float y1, float x2, float y2, float x3, float y3)

See Also
  • java.awt.geom.Path2D.Float.curveTo

public abstract 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
  • a native pointer to a PathConsumerVec structure.

public abstract void lineTo (float x, float y)

See Also
  • java.awt.geom.Path2D.Float.lineTo

public abstract void moveTo (float x, float y)

See Also
  • java.awt.geom.Path2D.Float.moveTo

public abstract 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.

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

See Also
  • java.awt.geom.Path2D.Float.quadTo