platypus.pdf
Class Underline

java.lang.Object
  extended by platypus.pdf.Underline

public class Underline
extends java.lang.Object

Handle underlining of text. Note: currently Platypus does not allow specifying location of underline, nor changing the thickness or color of the line. This will change in the future.

Author:
alb

Field Summary
private  boolean inEffect
          is underlining in effect currently?
private  int lineNumber
          line number where the value of Underline was last changed
private  float location
          the location of underline relative to the baseline.
 
Constructor Summary
Underline()
           
 
Method Summary
 java.lang.String dump()
           
 int getLineNumber()
           
 float getLocation()
           
 boolean isInEffect()
           
 void setEnabled(boolean yesOrNo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

private float location
the location of underline relative to the baseline. Is always <= 0, i.e., below baseline


inEffect

private boolean inEffect
is underlining in effect currently?


lineNumber

private int lineNumber
line number where the value of Underline was last changed

Constructor Detail

Underline

public Underline()
Method Detail

isInEffect

public boolean isInEffect()

setEnabled

public void setEnabled(boolean yesOrNo)

getLocation

public float getLocation()

getLineNumber

public int getLineNumber()

dump

public java.lang.String dump()


Copyright © 2006-7 Pacific Data Works LLC