|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.ps.PsObjectComposite
org.foray.ps.PsDictionary
org.foray.ps.PsSystemDict4a
org.foray.ps.readonly.ReadOnlySystemDict
public final class ReadOnlySystemDict
PsSystemDict implementation that provides no painting or other rendering, but that is suitable
for simple parsing of a PostScript file.
This implementation is suitable for parsing Type1 fonts, for example.
It is "final" and should not be extended: instead extend the abstract PsSystemDict4a, which
should provide identical capabilities.
| Field Summary |
|---|
| Fields inherited from class org.foray.ps.PsDictionary |
|---|
DEFAULT_FONT_DICTIONARY_SIZE |
| Constructor Summary | |
|---|---|
ReadOnlySystemDict()
Constructor. |
|
| Method Summary | |
|---|---|
void |
closepathDevice()
Executes any implementation-specific operations related to "closepath". |
void |
curvetoDevice(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Executes any implementation-specific operations related to "curveto". |
void |
fillDevice()
Executes any implementation-specific operations related to "fill". |
byte[] |
getOutput()
|
void |
linetoDevice(PsNumber x,
PsNumber y)
Executes any implementation-specific operations related to "lineto". |
void |
movetoDevice(PsNumber x,
PsNumber y)
Executes any implementation-specific operations related to "moveto". |
void |
newpathDevice()
Executes any implementation-specific operations related to "newpath". |
void |
setcmykcolorDevice(float cyan,
float magenta,
float yellow,
float black)
Executes any implementation-specific operations related to "setcmykcolor". |
void |
setgrayDevice(float grayValue)
Executes any implementation-specific operations related to "setgray". |
void |
setrgbcolorDevice(float red,
float green,
float blue)
Executes any implementation-specific operations related to "setrgbcolor". |
void |
strokeDevice()
Executes any implementation-specific operations related to "stroke". |
| Methods inherited from class org.foray.ps.PsSystemDict4a |
|---|
execute, executeOperator |
| Methods inherited from class org.foray.ps.PsDictionary |
|---|
addItem, duplicate, execute, getBoolean, getItem, getItem, getMap, getName, getNumber, getString, getTypeName, isComparable, isComposite, isExecutable, isValidFontDictionary, maxLength, size |
| Methods inherited from class org.foray.ps.PsObjectComposite |
|---|
getAccess, setAccess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadOnlySystemDict()
| Method Detail |
|---|
public void newpathDevice()
PsSystemDict4a
newpathDevice in class PsSystemDict4a
public void movetoDevice(PsNumber x,
PsNumber y)
PsSystemDict4a
movetoDevice in class PsSystemDict4ax - The new "x" position.y - The new "y" position.public void closepathDevice()
PsSystemDict4a
closepathDevice in class PsSystemDict4a
public void linetoDevice(PsNumber x,
PsNumber y)
PsSystemDict4a
linetoDevice in class PsSystemDict4ax - The new "x" position, that is, for the end-point of the line
segment added.y - The new "y" position, that is, for the end-point of the line
segment added.
public void curvetoDevice(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
PsSystemDict4a
curvetoDevice in class PsSystemDict4ax1 - The "x" position for control point 1.y1 - The "y" position for control point 1.x2 - The "x" position for control point 2.y2 - The "y" position for control point 2.x3 - The "x" position for control point 3.y3 - The "y" position for control point 3.public void fillDevice()
PsSystemDict4a
fillDevice in class PsSystemDict4apublic void strokeDevice()
PsSystemDict4a
strokeDevice in class PsSystemDict4apublic void setgrayDevice(float grayValue)
PsSystemDict4a
setgrayDevice in class PsSystemDict4agrayValue - The value of the gray color to set. This is a value
between 0 (black) and 1 (white).
public void setcmykcolorDevice(float cyan,
float magenta,
float yellow,
float black)
PsSystemDict4a
setcmykcolorDevice in class PsSystemDict4acyan - The cyan channel value to set (0.0 through 1.0).magenta - The magenta channel value to set (0.0 through 1.0).yellow - The yellow channel value to set (0.0 through 1.0).black - The black channel value to set (0.0 through 1.0).
public void setrgbcolorDevice(float red,
float green,
float blue)
PsSystemDict4a
setrgbcolorDevice in class PsSystemDict4ared - The red channel value to set (0.0 through 1.0).green - The green channel value to set (0.0 through 1.0).blue - The blue channel value to set (0.0 through 1.0).public byte[] getOutput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||