public interface CircularRendererContext
Note: All angles are measured in radians, using the normal Java graphics concepts of angles.
Modifier and Type | Method and Description |
---|---|
double |
getAngle(int indx)
Return the angle for an index into a sequence.
|
FeatureHolder |
getFeatures()
The features to render.
|
int |
getIndex(double angle)
Calculate the position in the sequence relating to the angle.
|
double |
getOffset()
Get the angle through which the origin of the sequence is rotated through.
|
double |
getRadius()
Get the current radius at which data should be rendered.
|
SymbolList |
getSymbols()
The SymbolList that is currently rendered by this context.
|
double getOffset()
This is equivalent to adding the offset to all calculated angles.
double getAngle(int indx)
indx
- the sequence offsetint getIndex(double angle)
angle
- the angle arround the circledouble getRadius()
SymbolList getSymbols()
FeatureHolder getFeatures()
Copyright © 2014 BioJava. All rights reserved.