jfig.objects
Class AWTXSplineRenderer
java.lang.Object
jfig.objects.AWTXSplineRenderer
- All Implemented Interfaces:
- FigRenderer
- public class AWTXSplineRenderer
- extends java.lang.Object
- implements FigRenderer
AWT 1.1 based renderer for n-points spline objects.
AWTXSplineRenderer renders the basic FIG spline objects for jfig.
However, due to AWT restrictions, not all attributes are displayed
correctly. While line-thickness and dot/dash attributes are kept
internally, only thickness or dots/dashes are displayed, but not both.
Constructor Summary |
AWTXSplineRenderer(FigXSpline spline)
default constructor: a spline with default attributes at (0,0)
Default drawing Color is black, no fill. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spline
FigXSpline spline
wline
LineWrapper wline
wfill
FillWrapper wfill
b_arrow
FigArrow b_arrow
f_arrow
FigArrow f_arrow
timestamp
long timestamp
AWTXSplineRenderer
public AWTXSplineRenderer(FigXSpline spline)
- default constructor: a spline with default attributes at (0,0)
Default drawing Color is black, no fill.
rebuild
public void rebuild()
- Specified by:
rebuild
in interface FigRenderer
paint
public void paint(java.awt.Graphics g)
- Specified by:
paint
in interface FigRenderer
paint
public void paint(java.awt.Graphics g,
FigTrafo2D trafo)
- Specified by:
paint
in interface FigRenderer