com.jgraph.pad.graph
Class JGraphpadHeavyweightRenderer.ScaledLineBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.LineBorder
com.jgraph.pad.graph.JGraphpadHeavyweightRenderer.ScaledLineBorder
- All Implemented Interfaces:
- Border, Serializable
- Enclosing class:
- JGraphpadHeavyweightRenderer
- public class JGraphpadHeavyweightRenderer.ScaledLineBorder
- extends LineBorder
Workaround for the line border in Swing that has bad offsets and
asymetric line widths when zoomed.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGraphpadHeavyweightRenderer.ScaledLineBorder
public JGraphpadHeavyweightRenderer.ScaledLineBorder(Color color)
JGraphpadHeavyweightRenderer.ScaledLineBorder
public JGraphpadHeavyweightRenderer.ScaledLineBorder(Color color,
int thickness)
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Copyright (C) 2005 JGraph.com. All rights reserved.