Cytoscape 2.8.0 API

cytoscape.render.immed
Interface EdgeAnchors


public interface EdgeAnchors

Specifies edge anchor points to use when rendering edges in full detail mode.


Method Summary
 void getAnchor(int anchorIndex, float[] anchorArr, int offset)
          Writes an edge anchor point into the array provided, at offset specified.
 int numAnchors()
          Returns the number of edge anchors.
 

Method Detail

numAnchors

int numAnchors()
Returns the number of edge anchors.


getAnchor

void getAnchor(int anchorIndex,
               float[] anchorArr,
               int offset)
Writes an edge anchor point into the array provided, at offset specified. The information written into the supplied anchorArr parameter consists of the following:
array index information written
offset X coordinate of anchor
offset+1 Y coordinate of anchor

Throws:
IndexOutOfBoundsException - if anchorIndex is not in the range [0, numAnchors()-1].

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.