public class TXTGraphicsWriter extends Object implements IGraphicsSurface
| Constructor and Description |
|---|
TXTGraphicsWriter(TXT textDoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawImage(BufferedImage image,
float x,
float y) |
void |
drawImage(BufferedImage image,
Point point) |
void |
drawImage(BufferedImage image,
Rectangle rectangle) |
void |
drawImage(InputStream imageStream,
float x,
float y) |
void |
drawImage(InputStream imageStream,
Point point) |
void |
drawImage(InputStream imageStream,
Rectangle rectangle) |
void |
drawLine(Pen pen,
float startX,
float startY,
float endX,
float endY) |
void |
drawParagraph(Paragraph p) |
void |
drawRectangle(Pen pen,
Brush brush,
float x,
float y,
float width,
float height) |
void |
drawString(String s,
Font font,
Brush brush,
Point point) |
void |
drawString(String s,
Font font,
Color fontColor,
Color brushColor,
Point point) |
void |
drawString(String s,
Font font,
Color color,
Point point) |
void |
drawString(String s,
Font font,
Color brushColor,
Point point,
double rotation) |
void |
drawString(String s,
Font font,
Point point) |
EncoderSettings |
getEncoderSettings() |
RenderingSettings |
getRenderingSettings() |
void |
setEncoderSettings(EncoderSettings encoderSettings) |
void |
setRenderingSettings(RenderingSettings renderingSettings) |
public TXTGraphicsWriter(TXT textDoc)
public EncoderSettings getEncoderSettings()
public void setEncoderSettings(EncoderSettings encoderSettings)
public void setRenderingSettings(RenderingSettings renderingSettings)
public RenderingSettings getRenderingSettings()
public void drawString(String s, Font font, Point point) throws XDocException, IOException
drawString in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawString(String s, Font font, Color color, Point point) throws XDocException, IOException
drawString in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawString(String s, Font font, Brush brush, Point point) throws XDocException, IOException
drawString in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawString(String s, Font font, Color brushColor, Point point, double rotation)
drawString in interface IGraphicsSurfacepublic void drawString(String s, Font font, Color fontColor, Color brushColor, Point point) throws XDocException, IOException
drawString in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawImage(BufferedImage image, Rectangle rectangle) throws XDocException, IOException
drawImage in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawImage(BufferedImage image, Point point) throws XDocException, IOException
drawImage in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawImage(BufferedImage image, float x, float y) throws XDocException, IOException
drawImage in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawImage(InputStream imageStream, Rectangle rectangle) throws XDocException, IOException
drawImage in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawImage(InputStream imageStream, Point point) throws XDocException, IOException
drawImage in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawImage(InputStream imageStream, float x, float y) throws XDocException, IOException
drawImage in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawLine(Pen pen, float startX, float startY, float endX, float endY) throws XDocException, IOException
drawLine in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawRectangle(Pen pen, Brush brush, float x, float y, float width, float height) throws XDocException, IOException
drawRectangle in interface IGraphicsSurfaceXDocExceptionIOExceptionpublic void drawParagraph(Paragraph p) throws XDocException, IOException
drawParagraph in interface IGraphicsSurfaceXDocExceptionIOException