cytoscape.visual.strokes
Class ZigzagStroke
java.lang.Object
cytoscape.visual.strokes.ZigzagStroke
- All Implemented Interfaces:
- WidthStroke, Stroke
public class ZigzagStroke
- extends Object
- implements WidthStroke
ZigzagStroke
public ZigzagStroke(float width)
createStrokedShape
public Shape createStrokedShape(Shape shape)
- Specified by:
createStrokedShape
in interface Stroke
getLineStyle
public LineStyle getLineStyle()
- Specified by:
getLineStyle
in interface WidthStroke
- Returns:
- the LineStyle associated with this particular WidthStroke.
newInstanceForWidth
public WidthStroke newInstanceForWidth(float w)
- Specified by:
newInstanceForWidth
in interface WidthStroke
- Returns:
- A new instance of this WidthStroke with the specified width.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2010 Cytoscape Consortium. All rights reserved.