APIdia Launch Partner
Top Methods
sun.java2d.marlin

public Interface DPathConsumer2D

Known Direct Subinterfaces
sun.java2d.marlin.TransformingPathConsumer2D.StartFlagPathConsumer2D
Known Direct Implementers
sun.java2d.marlin.PathSimplifier, sun.java2d.marlin.Renderer, sun.java2d.marlin.RendererContext.PathConsumer2DAdapter, sun.java2d.marlin.TransformingPathConsumer2D.DeltaScaleFilter, sun.java2d.marlin.TransformingPathConsumer2D.DeltaTransformFilter, sun.java2d.marlin.TransformingPathConsumer2D.Path2DWrapper, sun.java2d.marlin.TransformingPathConsumer2D.ClosedPathDetector, sun.java2d.marlin.TransformingPathConsumer2D.PathTracer, sun.java2d.marlin.CollinearSimplifier

Method Summary

Modifier and TypeMethod and Description
public void
public void
curveTo(double x1, double y1, double x2, double y2, double x3, double 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(double x, double y)

public void
moveTo(double x, double 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(double x1, double y1, double x2, double y2)

Method Detail

closePathback to summary
public void closePath()
See Also
java.awt.geom.Path2D.Double#closePath
curveToback to summary
public void curveTo(double x1, double y1, double x2, double y2, double x3, double y3)
See Also
java.awt.geom.Path2D.Double#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(double x, double y)
See Also
java.awt.geom.Path2D.Double#lineTo
moveToback to summary
public void moveTo(double x, double y)
See Also
java.awt.geom.Path2D.Double#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(double x1, double y1, double x2, double y2)
See Also
java.awt.geom.Path2D.Double#quadTo