cytoscape.render.immed.arrow
Class HalfTopArrow
java.lang.Object
cytoscape.render.immed.arrow.HalfTopArrow
- All Implemented Interfaces:
- Arrow
public class HalfTopArrow
- extends Object
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 |
tOffset
protected final double tOffset
type
protected final byte type
arrow
protected Shape arrow
cap
protected Shape cap
HalfTopArrow
public HalfTopArrow()
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
Copyright 2010 Cytoscape Consortium. All rights reserved.