Top Fields Constructors Methods
com.sun.marlin

public final Class PathSimplifier

extends Object
implements DPathConsumer2D
Class Inheritance
All Implemented Interfaces
com.sun.marlin.DPathConsumer2D

Field Summary

Modifier and TypeField and Description
private double
private double
private DPathConsumer2D
private static final double
private boolean
private static final double
private double
private double

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
_lineTo(final double xe, final double ye)

public void
public void
curveTo(final double x1, final double y1, final double x2, final double y2, final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.curveTo.

private void
public PathSimplifier
init(final DPathConsumer2D delegate)

public void
lineTo(final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.lineTo.

public void
moveTo(final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.moveTo.

public void
pathDone()

Implements com.sun.marlin.DPathConsumer2D.pathDone.

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

public void
quadTo(final double x1, final double y1, final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.quadTo.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cxback to summary
private double cx
cyback to summary
private double cy
delegateback to summary
private DPathConsumer2D delegate
PIX_THRESHOLDback to summary
private static final double PIX_THRESHOLD
skippedback to summary
private boolean skipped
SQUARE_TOLERANCEback to summary
private static final double SQUARE_TOLERANCE
sxback to summary
private double sx
syback to summary
private double sy

Constructor Detail

PathSimplifierback to summary
pack-priv PathSimplifier()

Method Detail

_lineToback to summary
private void _lineTo(final double xe, final double ye)
closePathback to summary
public void closePath()

Implements com.sun.marlin.DPathConsumer2D.closePath.

Annotations
@Override
curveToback to summary
public void curveTo(final double x1, final double y1, final double x2, final double y2, final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.curveTo.

Annotations
@Override
finishPathback to summary
private void finishPath()
initback to summary
public PathSimplifier init(final DPathConsumer2D delegate)
lineToback to summary
public void lineTo(final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.lineTo.

Annotations
@Override
moveToback to summary
public void moveTo(final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.moveTo.

Annotations
@Override
pathDoneback to summary
public void pathDone()

Implements com.sun.marlin.DPathConsumer2D.pathDone.

Doc from com.sun.marlin.DPathConsumer2D.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.

Annotations
@Override
quadToback to summary
public void quadTo(final double x1, final double y1, final double xe, final double ye)

Implements com.sun.marlin.DPathConsumer2D.quadTo.

Annotations
@Override