diva.sketch.toolbox
Class TextLine

java.lang.Object
  extended by diva.util.xml.AbstractXmlBuilder
      extended by diva.sketch.toolbox.TextAnnotations
          extended by diva.sketch.toolbox.TextLine
All Implemented Interfaces:
TypedData, XmlBuilder

public class TextLine
extends TextAnnotations

Native class that defines a line of text. It also defines the avg x-height and character width.

Version:
$Revision: 1.4 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu), Niraj Shah (niraj@eecs.berkeley.edu)

Field Summary
static Type type
          The static type associated with this typed data.
 
Fields inherited from class diva.sketch.toolbox.TextAnnotations
CHAR_HEIGHT, CHAR_WIDTH
 
Constructor Summary
TextLine()
           
TextLine(double charHeight, double charWidth)
           
 
Method Summary
 Type getType()
          Return the uniquely identifying type associated with this piece of data.
 
Methods inherited from class diva.sketch.toolbox.TextAnnotations
build, equals, generate, getCharHeight, getCharWidth, setCharHeight, setCharWidth, toString
 
Methods inherited from class diva.util.xml.AbstractXmlBuilder
getDelegate, setDelegate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface diva.util.xml.XmlBuilder
setDelegate
 

Field Detail

type

public static final Type type
The static type associated with this typed data.

Constructor Detail

TextLine

public TextLine()

TextLine

public TextLine(double charHeight,
                double charWidth)
Method Detail

getType

public Type getType()
Description copied from interface: TypedData
Return the uniquely identifying type associated with this piece of data.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.