jfig.objects
Class AWTPolylineRenderer
java.lang.Object
jfig.objects.AWTPolylineRenderer
- All Implemented Interfaces:
- FigRenderer
- public class AWTPolylineRenderer
- extends java.lang.Object
- implements FigRenderer
AWT 1.1 based renderer for n-points polyline objects.
AWTPolylineRenderer renders the basic FIG polyline 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 |
AWTPolylineRenderer(FigPolyline polyline)
default constructor: a polyline 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 |
polyline
FigPolyline polyline
wline
LineWrapper wline
wfill
FillWrapper wfill
b_arrow
FigArrow b_arrow
f_arrow
FigArrow f_arrow
timestamp
long timestamp
AWTPolylineRenderer
public AWTPolylineRenderer(FigPolyline polyline)
- default constructor: a polyline 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