org.jfree.chart.labels
public class ItemLabelPosition extends Object implements Serializable
Constructor Summary | |
---|---|
ItemLabelPosition()
Creates a new position record with default settings. | |
ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor)
Creates a new position record (with zero rotation).
| |
ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new position record. |
Method Summary | |
---|---|
boolean | equals(Object obj)
Tests this object for equality with an arbitrary object.
|
double | getAngle()
Returns the angle of rotation for the label.
|
ItemLabelAnchor | getItemLabelAnchor()
Returns the item label anchor.
|
TextAnchor | getRotationAnchor()
Returns the rotation anchor point.
|
TextAnchor | getTextAnchor()
Returns the text anchor.
|
Parameters: itemLabelAnchor the item label anchor (null
not
permitted). textAnchor the text anchor (null
not permitted).
Parameters: itemLabelAnchor the item label anchor (null
not
permitted). textAnchor the text anchor (null
not permitted). rotationAnchor the rotation anchor (null
not
permitted). angle the rotation angle (in radians).
Parameters: obj the object (null
permitted).
Returns: A boolean.
Returns: The angle (in radians).
Returns: The item label anchor (never null
).
Returns: The rotation anchor point (never null
).
Returns: The text anchor (never null
).