org.faceless.graph2
Class Text
java.lang.Object
org.faceless.graph2.AbstractMarker
org.faceless.graph2.Text
public class Text
- extends AbstractMarker
A type of Marker that represents an item of Text. These can be placed onto the Graph
wherever an AbstractMarker
is required - ie with the
Series.addMarker
or PieGraph.setLabel
methods.
Text
public Text(String text,
TextStyle style)
- Create a Text marker
- Parameters:
text
- The text to display. May contain newlines '\n'.style
- The style of the text
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2011 Big Faceless Organization