Cytoscape 2.8.0 API

cytoscape.visual.strokes
Class ZigzagStroke

java.lang.Object
  extended by cytoscape.visual.strokes.ZigzagStroke
All Implemented Interfaces:
WidthStroke, Stroke

public class ZigzagStroke
extends Object
implements WidthStroke


Constructor Summary
ZigzagStroke(float width)
           
 
Method Summary
 Shape createStrokedShape(Shape shape)
           
 LineStyle getLineStyle()
           
 WidthStroke newInstanceForWidth(float w)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZigzagStroke

public ZigzagStroke(float width)
Method Detail

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

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.