Cytoscape 2.8.0 API

cytoscape.render.immed.arrow
Class DiamondArrow

java.lang.Object
  extended by cytoscape.render.immed.arrow.DiamondArrow
All Implemented Interfaces:
Arrow

public class DiamondArrow
extends Object


Field Summary
protected  Shape arrow
           
protected  Shape cap
           
protected  double tOffset
           
protected  byte type
           
 
Constructor Summary
DiamondArrow()
           
 
Method Summary
 Shape getArrowShape()
          The Shape of the main Arrow body.
 Shape getCapShape(double ratio)
          The Shape of the cap that joins the Arrow body with the edge.
 double getTOffset()
          The distance that the arrow should be offset from the intersection with the node.
 byte getType()
          A legacy identifier for GraphGraphics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tOffset

protected final double tOffset

type

protected final byte type

arrow

protected Shape arrow

cap

protected Shape cap
Constructor Detail

DiamondArrow

public DiamondArrow()
Method Detail

getArrowShape

public Shape getArrowShape()
Description copied from interface: Arrow
The Shape of the main Arrow body.

Specified by:
getArrowShape in interface Arrow

getCapShape

public Shape getCapShape(double ratio)
Description copied from interface: Arrow
The Shape of the cap that joins the Arrow body with the edge. This needs to be a distinct shape from the Arrow body because the cap needs to be the same color as the edge.

Specified by:
getCapShape in interface Arrow

getType

public byte getType()
Description copied from interface: Arrow
A legacy identifier for GraphGraphics.

Specified by:
getType in interface Arrow

getTOffset

public double getTOffset()
Description copied from interface: Arrow
The distance that the arrow should be offset from the intersection with the node.

Specified by:
getTOffset in interface Arrow

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.