Package org.apache.fop.render.ps
Class PSSVGHandler.PSInfo
java.lang.Object
org.apache.fop.render.ps.PSSVGHandler.PSInfo
- Enclosing class:
- PSSVGHandler
PostScript information structure for drawing the XML document.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the currentXPosition.int
Returns the currentYPosition.Returns the fontInfo.Returns the height.int
Returns the height.org.apache.xmlgraphics.ps.PSGenerator
Returns the PSGenerator.int
getWidth()
Returns the width.void
setCurrentXPosition
(int currentXPosition) Sets the currentXPosition.void
setCurrentYPosition
(int currentYPosition) Sets the currentYPosition.void
setFontInfo
(FontInfo fontInfo) Sets the fontInfo.void
Sets the handler configuration.void
setHeight
(int height) Sets the height.void
setPsGenerator
(org.apache.xmlgraphics.ps.PSGenerator psGenerator) Sets the PSGenerator.void
setWidth
(int width) Sets the width.
-
Constructor Details
-
PSInfo
public PSInfo()
-
-
Method Details
-
getPSGenerator
public org.apache.xmlgraphics.ps.PSGenerator getPSGenerator()Returns the PSGenerator.- Returns:
- PSGenerator
-
setPsGenerator
public void setPsGenerator(org.apache.xmlgraphics.ps.PSGenerator psGenerator) Sets the PSGenerator.- Parameters:
psGenerator
- The PSGenerator to set
-
getFontInfo
Returns the fontInfo.- Returns:
- FontInfo
-
setFontInfo
Sets the fontInfo.- Parameters:
fontInfo
- The fontInfo to set
-
getCurrentXPosition
public int getCurrentXPosition()Returns the currentXPosition.- Returns:
- int
-
setCurrentXPosition
public void setCurrentXPosition(int currentXPosition) Sets the currentXPosition.- Parameters:
currentXPosition
- The currentXPosition to set
-
getCurrentYPosition
public int getCurrentYPosition()Returns the currentYPosition.- Returns:
- int
-
setCurrentYPosition
public void setCurrentYPosition(int currentYPosition) Sets the currentYPosition.- Parameters:
currentYPosition
- The currentYPosition to set
-
getWidth
public int getWidth()Returns the width.- Returns:
- int
-
setWidth
public void setWidth(int width) Sets the width.- Parameters:
width
- The pageWidth to set
-
getHeight
public int getHeight()Returns the height.- Returns:
- int
-
setHeight
public void setHeight(int height) Sets the height.- Parameters:
height
- The height to set
-
getHandlerConfiguration
Returns the height.- Returns:
- int
-
setHandlerConfiguration
Sets the handler configuration.- Parameters:
cfg
- the configuration object
-