Cytoscape 2.8.0 API

cytoscape.visual.strokes
Interface WidthStroke

All Superinterfaces:
Stroke
All Known Implementing Classes:
BackwardSlashStroke, ContiguousArrowStroke, DashDotStroke, DotStroke, EqualDashStroke, ForwardSlashStroke, LongDashStroke, ParallelStroke, PipeStroke, SeparateArrowStroke, ShapeStroke, SineWaveStroke, SolidStroke, VerticalSlashStroke, ZeroStroke, ZigzagStroke

public interface WidthStroke
extends Stroke

A simple extension of Stroke that allows Stroke objects to be coupled with LineStyle enum values and allows the width of the stroke to be adjusted.


Method Summary
 LineStyle getLineStyle()
           
 WidthStroke newInstanceForWidth(float width)
           
 
Methods inherited from interface java.awt.Stroke
createStrokedShape
 

Method Detail

newInstanceForWidth

WidthStroke newInstanceForWidth(float width)
Returns:
A new instance of this WidthStroke with the specified width.

getLineStyle

LineStyle getLineStyle()
Returns:
the LineStyle associated with this particular WidthStroke.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.