public class ItemLabelPosition extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
ItemLabelPosition()
Creates a new position record with default settings.
|
ItemLabelPosition(ItemLabelAnchor itemLabelAnchor,
org.jfree.ui.TextAnchor textAnchor)
Creates a new position record (with zero rotation).
|
ItemLabelPosition(ItemLabelAnchor itemLabelAnchor,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new position record.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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.
|
org.jfree.ui.TextAnchor |
getRotationAnchor()
Returns the rotation anchor point.
|
org.jfree.ui.TextAnchor |
getTextAnchor()
Returns the text anchor.
|
public ItemLabelPosition()
public ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, org.jfree.ui.TextAnchor textAnchor)
itemLabelAnchor
- the item label anchor (null
not
permitted).textAnchor
- the text anchor (null
not permitted).public ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
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).public ItemLabelAnchor getItemLabelAnchor()
null
).public org.jfree.ui.TextAnchor getTextAnchor()
null
).public org.jfree.ui.TextAnchor getRotationAnchor()
null
).public double getAngle()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).