public class InterpolatedCurveFigure extends DrawPathFigure
DrawPathFigure| Modifier and Type | Field and Description |
|---|---|
protected InterpolatedCurve2D |
curve
The InterpolatedCurve that we're using.
|
listeners, transformFreely| Constructor and Description |
|---|
InterpolatedCurveFigure(InterpolatedCurve2D curve)
Copy constructor.
|
InterpolatedCurveFigure(InterpolatedCurve2D curve,
Paint outline,
float lineWidth,
AlphaComposite composite)
Copy constructor, but using the given shape, colour, linewidth and
composite.
|
InterpolatedCurveFigure(Interpolator interpolator,
double x,
double y,
Paint outline)
Create a new instance with the given origin and colour.
|
InterpolatedCurveFigure(Interpolator interpolator,
double x,
double y,
Paint outline,
float lineWidth,
AlphaComposite composite)
Create a new instance with the given origin, colour and linewidth.
|
| Modifier and Type | Method and Description |
|---|---|
InterpolatedCurve2D |
createInterpolatedCurve(Interpolator interpolator,
double x,
double y)
Create an instance and position it at the origin.
|
boolean |
hit(Rectangle2D r)
Test if this figure intersects the given rectangle.
|
void |
setShape(Shape shape)
Set the shape of this figure.
|
void |
transform(AffineTransform at)
Transform the figure with the supplied transform.
|
void |
translate(double x,
double y)
Translate the figure with by the given distance.
|
addListener, fireChanged, fireCreated, fireRemoved, getFillPaint, isTransformFreely, removeListener, setFillPaint, setTransformFreely, setVisiblegetBounds, getComposite, getDashArray, getLineWidth, getShape, getStroke, getStrokePaint, paint, setComposite, setDashArray, setLineWidth, setStroke, setStrokePaintcontains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, repaint, repaint, setInteractor, setParent, setToolTipText, setUserObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComposite, getLineWidth, getStrokePaint, setComposite, setLineWidth, setStrokePaintcontains, getBounds, getInteractor, getLayer, getOrigin, getParent, getShape, getToolTipText, intersects, setInteractor, setParent, setToolTipTextisVisible, paint, paintgetTransformContext, repaint, repaintgetUserObject, setUserObjectprotected InterpolatedCurve2D curve
public InterpolatedCurveFigure(InterpolatedCurve2D curve)
public InterpolatedCurveFigure(InterpolatedCurve2D curve, Paint outline, float lineWidth, AlphaComposite composite)
public InterpolatedCurveFigure(Interpolator interpolator, double x, double y, Paint outline)
public InterpolatedCurveFigure(Interpolator interpolator, double x, double y, Paint outline, float lineWidth, AlphaComposite composite)
public InterpolatedCurve2D createInterpolatedCurve(Interpolator interpolator, double x, double y)
public void transform(AffineTransform at)
DrawPathFiguretransform in interface Figuretransform in class DrawPathFigurepublic void translate(double x,
double y)
DrawPathFiguretranslate in interface Figuretranslate in class DrawPathFigurepublic boolean hit(Rectangle2D r)
PathFigurehit in interface Figurehit in class PathFigurepublic void setShape(Shape shape)
PathFiguresetShape in interface ShapedFiguresetShape in interface DrawFiguresetShape in class PathFigureCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.