|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.AbstractFigure
diva.canvas.toolbox.BasicFigure
diva.canvas.toolbox.PathFigure
public class PathFigure
A PathFigure is one that contains a single instance of Shape. The figure can have a fill with optional compositing (for translucency), and a stroke with a different fill. With this class, simple objects can be created on-the-fly simply by passing an instance of java.awt.Shape to the constructor. This class is mainly intended for use for open shapes (without fill). For filled shapes, use the BasicFigure class, and for more complex figures, use VectorFigure or create a custom Figure class.
Constructor Summary | |
---|---|
PathFigure(java.awt.Shape shape)
Deprecated. Create a new figure with the given shape. |
|
PathFigure(java.awt.Shape shape,
float lineWidth)
Deprecated. Create a new figure with the given shape and outline width. |
|
PathFigure(java.awt.Shape shape,
int lineWidth)
Deprecated. Use the float constructor instead. |
|
PathFigure(java.awt.Shape shape,
java.awt.Paint fill)
Deprecated. Create a new figure with the given paint pattern. |
|
PathFigure(java.awt.Shape shape,
java.awt.Paint fill,
float lineWidth)
Deprecated. Create a new figure with the given paint pattern and line width. |
Method Summary |
---|
Methods inherited from class diva.canvas.toolbox.BasicFigure |
---|
getBounds, getComposite, getDashArray, getFillPaint, getLineWidth, getOrigin, getShape, getStrokePaint, hit, isCentered, paint, setCentered, setComposite, setDashArray, setFillPaint, setLineWidth, setPrototypeShape, setShape, setStroke, setStrokePaint, transform |
Methods inherited from class diva.canvas.AbstractFigure |
---|
contains, getInteractor, getLayer, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, repaint, repaint, setInteractor, setParent, setToolTipText, setUserObject, setVisible, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface diva.canvas.Figure |
---|
contains, getInteractor, getLayer, getParent, getToolTipText, intersects, setInteractor, setParent, setToolTipText, translate |
Methods inherited from interface diva.canvas.VisibleComponent |
---|
isVisible, paint, setVisible |
Methods inherited from interface diva.canvas.CanvasComponent |
---|
getTransformContext, repaint, repaint |
Methods inherited from interface diva.util.UserObjectContainer |
---|
getUserObject, setUserObject |
Constructor Detail |
---|
public PathFigure(java.awt.Shape shape)
public PathFigure(java.awt.Shape shape, int lineWidth)
public PathFigure(java.awt.Shape shape, float lineWidth)
public PathFigure(java.awt.Shape shape, java.awt.Paint fill)
public PathFigure(java.awt.Shape shape, java.awt.Paint fill, float lineWidth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |