|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.common.ps.PsUtil
public final class PsUtil
PostScript-related tools included in the Common module to prevent unnecessary dependencies on the PostScript module.
Field Summary | |
---|---|
static byte |
MATRIX_QTY_ELEMENTS
The number of array elements in a PostScript matrix, that is, 6. |
Method Summary | |
---|---|
static String |
doubleOut(double doubleValue)
Format a double primitive as PostScript output. |
static String |
doubleOut(Double theDouble)
Format a Double instance as PostScript output. |
static String |
doubleOut(double doubleValue,
int radix)
Format a double primitive as PostScript output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte MATRIX_QTY_ELEMENTS
Method Detail |
---|
public static String doubleOut(Double theDouble)
Double
instance as PostScript output.
theDouble
- The Double
instance to format.
Double
as PostScript output.public static String doubleOut(double doubleValue)
doubleValue
- The double primitive to format.
public static String doubleOut(double doubleValue, int radix)
doubleValue
- The double primitive to format.radix
- The root numbering system in which the number should be
written. For example, for decimal, the value should be 10, for octal,
the value should be 8.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |