public class DrawPolylineFigure extends DrawPathFigure
DrawBasicFigure| Modifier and Type | Field and Description |
|---|---|
protected Polyline2D.Double |
polyline
The Polyline that we're using.
|
listeners, transformFreely| Constructor and Description |
|---|
DrawPolylineFigure(double x,
double y,
Paint fill)
Create a new polyline with the given origin and colour.
|
DrawPolylineFigure(double x,
double y,
Paint fill,
float lineWidth,
AlphaComposite composite)
Create a new polyline with the given origin, colour and linewidth.
|
DrawPolylineFigure(Polyline2D poly)
Create a new polyline using the given polyline shape.
|
DrawPolylineFigure(Polyline2D poly,
Paint fill,
float lineWidth,
AlphaComposite composite)
Create a new polyline using the given polyline shape, colour
and linewidth.
|
| Modifier and Type | Method and Description |
|---|---|
Polyline2D.Double |
createPolyline(double x,
double y)
Create a polyline and position it at the origin.
|
addListener, fireChanged, fireCreated, fireRemoved, getFillPaint, isTransformFreely, removeListener, setFillPaint, setTransformFreely, setVisible, transform, translategetBounds, getComposite, getDashArray, getLineWidth, getShape, getStroke, getStrokePaint, hit, paint, setComposite, setDashArray, setLineWidth, setShape, 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, setShape, setStrokePaintcontains, getBounds, getInteractor, getLayer, getOrigin, getParent, getShape, getToolTipText, hit, intersects, setInteractor, setParent, setToolTipTextisVisible, paint, paintgetTransformContext, repaint, repaintgetUserObject, setUserObjectprotected Polyline2D.Double polyline
public DrawPolylineFigure(Polyline2D poly)
public DrawPolylineFigure(Polyline2D poly, Paint fill, float lineWidth, AlphaComposite composite)
public DrawPolylineFigure(double x,
double y,
Paint fill)
public DrawPolylineFigure(double x,
double y,
Paint fill,
float lineWidth,
AlphaComposite composite)
public Polyline2D.Double createPolyline(double x, double y)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.