All Packages Class Hierarchy This Package Previous Next Index
Class graph.TextState
java.lang.Object
|
+----graph.TextState
- public class TextState
- extends Object
A structure class used exclusively with the TextLine class.
When the Text changes state (new font, new color, new offset)
then this class holds the information plus the substring
that the state pertains to.
- Version:
- $Revision: 1.1.1.1 $, $Date: 1999/11/15 20:37:49 $.
- Author:
- Leigh Brookshaw, Daren Stotler
-
TextState()
-
-
copyAll()
-
-
copyState()
-
-
getAscent(Graphics)
-
-
getDescent(Graphics)
-
-
getHeight(Graphics)
-
-
getLeading(Graphics)
-
-
getMaxAscent(Graphics)
-
-
getMaxDescent(Graphics)
-
-
getWidth(Graphics)
-
-
isEmpty()
-
-
toString()
-
TextState
public TextState()
copyAll
public TextState copyAll()
copyState
public TextState copyState()
toString
public String toString()
- Overrides:
- toString in class Object
isEmpty
public boolean isEmpty()
getWidth
public int getWidth(Graphics g)
getHeight
public int getHeight(Graphics g)
getAscent
public int getAscent(Graphics g)
getDescent
public int getDescent(Graphics g)
getMaxAscent
public int getMaxAscent(Graphics g)
getMaxDescent
public int getMaxDescent(Graphics g)
getLeading
public int getLeading(Graphics g)
All Packages Class Hierarchy This Package Previous Next Index