com.etymon.pj.object.pagemark
Class XG

java.lang.Object
  |
  +--com.etymon.pj.object.BaseObject
        |
        +--com.etymon.pj.object.pagemark.PageMark
              |
              +--com.etymon.pj.object.pagemark.PageMarkOperator
                    |
                    +--com.etymon.pj.object.pagemark.XG
All Implemented Interfaces:
java.lang.Cloneable

public class XG
extends PageMarkOperator

Graphics operator: G.


Constructor Summary
XG(PjNumber gray)
           
 
Method Summary
 java.lang.Object clone()
          Returns a deep copy of this object.
 boolean equals(java.lang.Object obj)
           
 PjNumber getGray()
           
 long writePdf(java.io.OutputStream os)
          Writes this object to a file in PDF format.
 
Methods inherited from class com.etymon.pj.object.BaseObject
toString, write, write, write, writeln
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XG

public XG(PjNumber gray)
Method Detail

getGray

public PjNumber getGray()

writePdf

public long writePdf(java.io.OutputStream os)
              throws java.io.IOException
Description copied from class: BaseObject
Writes this object to a file in PDF format.
Overrides:
writePdf in class BaseObject
Following copied from class: com.etymon.pj.object.BaseObject
Parameters:
raf - the file to write to.
Returns:
the number of bytes written.
Throws:
java.io.IOException - if an I/O error occurs.

clone

public java.lang.Object clone()
Returns a deep copy of this object.
Overrides:
clone in class BaseObject
Returns:
a deep copy of this object.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object