Class IFPainterProxy
- java.lang.Object
-
- com.levigo.jadice.server.mail.worker.internal.fop.proxy.IFPainterProxy
-
- All Implemented Interfaces:
org.apache.fop.render.intermediate.IFPainter
public class IFPainterProxy extends Object implements org.apache.fop.render.intermediate.IFPainter
-
-
Constructor Summary
Constructors Constructor Description IFPainterProxy(org.apache.fop.render.intermediate.IFPainter target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clipBackground(Rectangle rectangle, org.apache.fop.traits.BorderProps borderProps, org.apache.fop.traits.BorderProps borderProps1, org.apache.fop.traits.BorderProps borderProps2, org.apache.fop.traits.BorderProps borderProps3)
void
clipRect(Rectangle rect)
void
drawBorderRect(Rectangle rect, org.apache.fop.traits.BorderProps top, org.apache.fop.traits.BorderProps bottom, org.apache.fop.traits.BorderProps left, org.apache.fop.traits.BorderProps right, Color innerBackgroundColor)
void
drawImage(String uri, Rectangle rect)
void
drawImage(Document doc, Rectangle rect)
void
drawLine(Point start, Point end, int width, Color color, org.apache.fop.traits.RuleStyle style)
void
drawText(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, String text)
void
drawText(int i, int i1, int i2, int i3, int[][] ints, String s, boolean b)
void
endGroup()
void
endViewport()
void
fillRect(Rectangle rect, Paint fill)
boolean
isBackgroundRequired(org.apache.fop.traits.BorderProps borderProps, org.apache.fop.traits.BorderProps borderProps1, org.apache.fop.traits.BorderProps borderProps2, org.apache.fop.traits.BorderProps borderProps3)
void
setFont(String family, String style, Integer weight, String variant, Integer size, Color color)
void
startGroup(AffineTransform[] transforms, String layer)
void
startGroup(AffineTransform transform, String layer)
void
startViewport(AffineTransform[] transforms, Dimension size, Rectangle clipRect)
void
startViewport(AffineTransform transform, Dimension size, Rectangle clipRect)
-
-
-
Method Detail
-
startViewport
public void startViewport(AffineTransform transform, Dimension size, Rectangle clipRect) throws org.apache.fop.render.intermediate.IFException
- Specified by:
startViewport
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
startViewport
public void startViewport(AffineTransform[] transforms, Dimension size, Rectangle clipRect) throws org.apache.fop.render.intermediate.IFException
- Specified by:
startViewport
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
endViewport
public void endViewport() throws org.apache.fop.render.intermediate.IFException
- Specified by:
endViewport
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
startGroup
public void startGroup(AffineTransform[] transforms, String layer) throws org.apache.fop.render.intermediate.IFException
- Specified by:
startGroup
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
startGroup
public void startGroup(AffineTransform transform, String layer) throws org.apache.fop.render.intermediate.IFException
- Specified by:
startGroup
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
endGroup
public void endGroup() throws org.apache.fop.render.intermediate.IFException
- Specified by:
endGroup
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
setFont
public void setFont(String family, String style, Integer weight, String variant, Integer size, Color color) throws org.apache.fop.render.intermediate.IFException
- Specified by:
setFont
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
drawText
public void drawText(int x, int y, int letterSpacing, int wordSpacing, int[][] dp, String text) throws org.apache.fop.render.intermediate.IFException
- Specified by:
drawText
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
drawText
public void drawText(int i, int i1, int i2, int i3, int[][] ints, String s, boolean b) throws org.apache.fop.render.intermediate.IFException
- Specified by:
drawText
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
clipRect
public void clipRect(Rectangle rect) throws org.apache.fop.render.intermediate.IFException
- Specified by:
clipRect
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
clipBackground
public void clipBackground(Rectangle rectangle, org.apache.fop.traits.BorderProps borderProps, org.apache.fop.traits.BorderProps borderProps1, org.apache.fop.traits.BorderProps borderProps2, org.apache.fop.traits.BorderProps borderProps3) throws org.apache.fop.render.intermediate.IFException
- Specified by:
clipBackground
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
isBackgroundRequired
public boolean isBackgroundRequired(org.apache.fop.traits.BorderProps borderProps, org.apache.fop.traits.BorderProps borderProps1, org.apache.fop.traits.BorderProps borderProps2, org.apache.fop.traits.BorderProps borderProps3)
- Specified by:
isBackgroundRequired
in interfaceorg.apache.fop.render.intermediate.IFPainter
-
fillRect
public void fillRect(Rectangle rect, Paint fill) throws org.apache.fop.render.intermediate.IFException
- Specified by:
fillRect
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
drawBorderRect
public void drawBorderRect(Rectangle rect, org.apache.fop.traits.BorderProps top, org.apache.fop.traits.BorderProps bottom, org.apache.fop.traits.BorderProps left, org.apache.fop.traits.BorderProps right, Color innerBackgroundColor) throws org.apache.fop.render.intermediate.IFException
- Specified by:
drawBorderRect
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
drawLine
public void drawLine(Point start, Point end, int width, Color color, org.apache.fop.traits.RuleStyle style) throws org.apache.fop.render.intermediate.IFException
- Specified by:
drawLine
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
drawImage
public void drawImage(String uri, Rectangle rect) throws org.apache.fop.render.intermediate.IFException
- Specified by:
drawImage
in interfaceorg.apache.fop.render.intermediate.IFPainter
- Throws:
org.apache.fop.render.intermediate.IFException
-
-