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

Constructor Index

 o TextState()

Method Index

 o copyAll()
 o copyState()
 o getAscent(Graphics)
 o getDescent(Graphics)
 o getHeight(Graphics)
 o getLeading(Graphics)
 o getMaxAscent(Graphics)
 o getMaxDescent(Graphics)
 o getWidth(Graphics)
 o isEmpty()
 o toString()

Constructors

 o TextState
 public TextState()

Methods

 o copyAll
 public TextState copyAll()
 o copyState
 public TextState copyState()
 o toString
 public String toString()
Overrides:
toString in class Object
 o isEmpty
 public boolean isEmpty()
 o getWidth
 public int getWidth(Graphics g)
 o getHeight
 public int getHeight(Graphics g)
 o getAscent
 public int getAscent(Graphics g)
 o getDescent
 public int getDescent(Graphics g)
 o getMaxAscent
 public int getMaxAscent(Graphics g)
 o getMaxDescent
 public int getMaxDescent(Graphics g)
 o getLeading
 public int getLeading(Graphics g)

All Packages  Class Hierarchy  This Package  Previous  Next  Index