|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwo.utils.gui.HollowStroke
public class HollowStroke
A custom stroke that draws outlined linear features.
Constructor Summary | |
---|---|
HollowStroke(BasicStroke stroke,
float outlineThickness)
Draws the given stroke with a hollowed out interior of the given thickness. |
|
HollowStroke(Stroke exteriorStroke,
Stroke interiorStroke)
Draws the given stroke with a hollowed out interior defined by the given stroke. |
Method Summary | |
---|---|
Shape |
createStrokedShape(Shape shape)
Generates a shape that is the outline of that supplied to this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HollowStroke(BasicStroke stroke, float outlineThickness)
stroke
- Stroke to drawoutlineThickness
- Thickness in pixels of pen to draw along edge of stroke.public HollowStroke(Stroke exteriorStroke, Stroke interiorStroke)
exteriorStroke
- Stroke representing the foreground of the line.interiorStroke
- Stroke representing the background (interior) of the line.Method Detail |
---|
public Shape createStrokedShape(Shape shape)
createStrokedShape
in interface Stroke
shape
- Shape of stroke to outline
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |