com.yworks.yfiles.server.graphml.folding.markup
Class Bend

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.folding.markup.Bend

public class Bend
extends java.lang.Object

A data object that represents a yFiles FLEX bend for EdgeViewState objects.


Constructor Summary
Bend()
          Creates a bend at 0,0.
Bend(double x, double y)
          Creates a bend at the provided coordinates.
 
Method Summary
 java.lang.Object getTag()
          The user tag assigned to this bend
 double getX()
           
 double getY()
           
 void setTag(java.lang.Object tag)
          The user tag assigned to this bend
 void setX(double x)
           
 void setY(double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bend

public Bend(double x,
            double y)
Creates a bend at the provided coordinates.

Parameters:
x - The bend's x coordinate
y - The bend's y coordinate

Bend

public Bend()
Creates a bend at 0,0.

Method Detail

getX

public double getX()
Returns:
the x coordinate of this bend.

setX

public void setX(double x)
Parameters:
x - the x coordinate of this bend.

getY

public double getY()
Returns:
the y coordinate of this bend.

setY

public void setY(double y)
Parameters:
y - the y coordinate of this bend.

getTag

public java.lang.Object getTag()
The user tag assigned to this bend


setTag

public void setTag(java.lang.Object tag)
The user tag assigned to this bend



Copyright © 2000-2013 yWorks GmbH. All rights reserved