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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the currentXPosition.intReturns the currentYPosition.Returns the fontInfo.Returns the height.intReturns the height.org.apache.xmlgraphics.ps.PSGeneratorReturns the PSGenerator.intgetWidth()Returns the width.voidsetCurrentXPosition(int currentXPosition) Sets the currentXPosition.voidsetCurrentYPosition(int currentYPosition) Sets the currentYPosition.voidsetFontInfo(FontInfo fontInfo) Sets the fontInfo.voidSets the handler configuration.voidsetHeight(int height) Sets the height.voidsetPsGenerator(org.apache.xmlgraphics.ps.PSGenerator psGenerator) Sets the PSGenerator.voidsetWidth(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
-