|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.extensions.prepress.PageScale
public final class PageScale
This class provides utility methods to parse the 'fox:scale' extension attribute.
Field Summary | |
---|---|
static org.apache.xmlgraphics.util.QName |
EXT_PAGE_SCALE
The extension 'scale' attribute for the simple-page-master element. |
Method Summary | |
---|---|
static java.awt.geom.Point2D |
getScale(java.lang.String scale)
Compute scale parameters from given fox:scale attribute which has the format: scaleX [scaleY] If scaleY is not defined, it equals scaleX. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.xmlgraphics.util.QName EXT_PAGE_SCALE
Method Detail |
---|
public static java.awt.geom.Point2D getScale(java.lang.String scale)
scale
- scale attribute, input format: scaleX [scaleY]
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |