org.freehep.postscript.types
Class PSGlyph

java.lang.Object
  extended by org.freehep.postscript.types.PSObject
      extended by org.freehep.postscript.types.PSSimple
          extended by org.freehep.postscript.types.PSGlyph
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
PSJavaGlyph, PSType1Glyph

public class PSGlyph
extends PSSimple

Object is only for storage and lookup in Dictionaries and Arrays, not to be executed.

Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.postscript.types.PSSimple
log
 
Fields inherited from class org.freehep.postscript.types.PSObject
name
 
Constructor Summary
PSGlyph()
           
 
Method Summary
 Object clone()
           
 String cvs()
           
 boolean equals(Object o)
           
 boolean execute(OperandStack os)
           
 Rectangle2D getBounds2D()
           
 double getLLx()
           
 double getLLy()
           
 double getLSB()
           
 double getRSB()
           
 String getType()
           
 double getURx()
           
 double getURy()
           
 double getWidth()
           
 double getWx()
           
 double getWy()
           
 int hashCode()
           
 void setLLx(double llx)
           
 void setLLy(double lly)
           
 void setURx(double urx)
           
 void setURy(double ury)
           
 void setWx(double wx)
           
 void setWy(double wy)
           
 String toString()
           
 
Methods inherited from class org.freehep.postscript.types.PSSimple
copy
 
Methods inherited from class org.freehep.postscript.types.PSObject
checkAndExecute, error, isExecutable, isLiteral, setExecutable, setLiteral, setName, toPrint
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSGlyph

public PSGlyph()
Method Detail

execute

public boolean execute(OperandStack os)
Specified by:
execute in class PSObject

getType

public String getType()
Specified by:
getType in class PSObject

getWidth

public double getWidth()

getBounds2D

public Rectangle2D getBounds2D()

getLSB

public double getLSB()

getRSB

public double getRSB()

getWx

public double getWx()
Returns:
the wx

setWx

public void setWx(double wx)
Parameters:
wx - the wx to set

getWy

public double getWy()
Returns:
the wy

setWy

public void setWy(double wy)
Parameters:
wy - the wy to set

getLLx

public double getLLx()
Returns:
the llx

setLLx

public void setLLx(double llx)
Parameters:
llx - the llx to set

getLLy

public double getLLy()
Returns:
the lly

setLLy

public void setLLy(double lly)
Parameters:
lly - the lly to set

getURx

public double getURx()
Returns:
the urx

setURx

public void setURx(double urx)
Parameters:
urx - the urx to set

getURy

public double getURy()
Returns:
the ury

setURy

public void setURy(double ury)
Parameters:
ury - the ury to set

hashCode

public int hashCode()
Specified by:
hashCode in class PSObject

equals

public boolean equals(Object o)
Specified by:
equals in class PSObject

clone

public Object clone()
             throws CloneNotSupportedException
Specified by:
clone in class PSObject
Throws:
CloneNotSupportedException

cvs

public String cvs()
Specified by:
cvs in class PSObject

toString

public String toString()
Overrides:
toString in class PSObject


Copyright © 2001-2009 FreeHEP. All Rights Reserved.