com.yworks.yfiles.server.graphml.flexio.data
Class PolylineEdgeStyle

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.AbstractEdgeStyle
      extended bycom.yworks.yfiles.server.graphml.flexio.data.PolylineEdgeStyle
All Implemented Interfaces:
IEdgeStyle

public class PolylineEdgeStyle
extends AbstractEdgeStyle

An edge style data object that draws edges consisting of multiple lines using a chosen IStroke.


Constructor Summary
PolylineEdgeStyle()
           
 
Method Summary
 double getSmoothing()
          The smoothing length used for creating smooth bends.
 IStroke getStroke()
          The stroke used for drawing an edge with this style.
 void setSmoothing(double smoothing)
          The smoothing length used for creating smooth bends.
 void setStroke(IStroke stroke)
          The stroke used for drawing an edge with this style.
 
Methods inherited from class com.yworks.yfiles.server.graphml.flexio.data.AbstractEdgeStyle
getSourceArrow, getTargetArrow, setSourceArrow, setTargetArrow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolylineEdgeStyle

public PolylineEdgeStyle()
Method Detail

getStroke

public IStroke getStroke()
The stroke used for drawing an edge with this style. The default is a gray stroke with weight 1.0.


setStroke

public void setStroke(IStroke stroke)
The stroke used for drawing an edge with this style. The default is a gray stroke with weight 1.0.


getSmoothing

public double getSmoothing()
The smoothing length used for creating smooth bends.

A value of 0.0 (the default) will disable smoothing.


setSmoothing

public void setSmoothing(double smoothing)
The smoothing length used for creating smooth bends.

A value of 0.0 (the default) will disable smoothing.



Copyright © 2000-2007 yWorks GmbH. All rights reserved