public class StiPdfGeomWriter extends java.lang.Object implements IStiExportGeomWriter
| Modifier and Type | Field and Description |
|---|---|
boolean |
assembleData |
| Constructor and Description |
|---|
StiPdfGeomWriter() |
StiPdfGeomWriter(StiOutputStreamWriter stream,
StiPdfExportService service) |
StiPdfGeomWriter(StiOutputStreamWriter stream,
StiPdfExportService service,
boolean assembleData) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginPath() |
void |
closeFigure() |
void |
drawArc(StiRectangle rect,
StiPoint p1,
StiPoint p2,
StiPen pen) |
void |
drawBezier(StiPoint p1,
StiPoint p2,
StiPoint p3,
StiPoint p4,
StiPen pen) |
void |
drawBezierTo(StiPoint p2,
StiPoint p3,
StiPoint p4,
StiPen pen) |
void |
drawEllipse(StiRectangle rect,
StiPen pen) |
void |
drawImage(StiImage img,
StiRectangle rect) |
void |
drawLine(StiPoint pointFrom,
StiPoint pointTo,
StiPen pen) |
void |
drawLineTo(StiPoint pointTo,
StiPen pen) |
void |
drawPolygon(StiPoint[] points,
StiPen pen) |
void |
drawPolyline(StiPoint[] points,
StiPen pen) |
void |
drawPolyline(StiPoint[] points,
StiPen pen,
boolean close,
boolean drawTo) |
void |
drawPolylineTo(StiPoint[] points,
StiPen pen) |
void |
drawRectangle(StiRectangle rect,
StiPen pen) |
void |
drawString(java.lang.String st,
StiFont font,
StiBrush brush,
StiRectangle rect,
StiTextHorAlignment horAlignment,
StiVertAlignment vertAlignment) |
void |
drawText(StiPoint basePoint,
java.lang.String text,
int[] charsOffset,
StiFont font,
StiColor textColor,
double angle,
EmfTextAlignmentMode textAlign) |
void |
endPath() |
void |
fillEllipse(StiRectangle rect,
StiBrush brush) |
void |
fillPath(StiBrush brush) |
void |
fillPolygon(StiPoint[] points,
StiBrush brush) |
void |
fillRectangle(StiRectangle rect,
StiBrush brush) |
void |
fillRectangle(StiRectangle rect,
StiColor color) |
StiSize |
measureString(java.lang.String st,
StiFont font) |
void |
moveTo(StiPoint point) |
void |
restoreState() |
void |
rotateTransform(double angle) |
void |
saveState() |
boolean |
setBrush(java.lang.Object brush,
StiRectangle rect,
StiRefObject<java.lang.Boolean> isTransparent,
boolean saveState) |
void |
setPixel(StiPoint point,
StiColor color) |
void |
strokePath(StiPen pen) |
void |
translateTransform(double x,
double y) |
public StiPdfGeomWriter()
public StiPdfGeomWriter(StiOutputStreamWriter stream, StiPdfExportService service)
public StiPdfGeomWriter(StiOutputStreamWriter stream, StiPdfExportService service, boolean assembleData)
public void beginPath()
beginPath in interface IStiExportGeomWriterpublic void closeFigure()
closeFigure in interface IStiExportGeomWriterpublic void endPath()
endPath in interface IStiExportGeomWriterpublic void fillPath(StiBrush brush) throws java.io.IOException
fillPath in interface IStiExportGeomWriterjava.io.IOExceptionpublic void strokePath(StiPen pen) throws java.io.IOException
strokePath in interface IStiExportGeomWriterjava.io.IOExceptionpublic void moveTo(StiPoint point) throws java.io.IOException
moveTo in interface IStiExportGeomWriterjava.io.IOExceptionpublic void drawLine(StiPoint pointFrom, StiPoint pointTo, StiPen pen) throws java.io.IOException
drawLine in interface IStiExportGeomWriterjava.io.IOExceptionpublic void drawLineTo(StiPoint pointTo, StiPen pen) throws java.io.IOException
drawLineTo in interface IStiExportGeomWriterjava.io.IOExceptionpublic void drawRectangle(StiRectangle rect, StiPen pen) throws java.lang.Exception
drawRectangle in interface IStiExportGeomWriterjava.lang.Exceptionpublic void fillRectangle(StiRectangle rect, StiColor color) throws java.lang.Exception
fillRectangle in interface IStiExportGeomWriterjava.lang.Exceptionpublic void fillRectangle(StiRectangle rect, StiBrush brush) throws java.lang.Exception
fillRectangle in interface IStiExportGeomWriterjava.lang.Exceptionpublic void drawPolyline(StiPoint[] points, StiPen pen) throws java.io.IOException
drawPolyline in interface IStiExportGeomWriterjava.io.IOExceptionpublic void drawPolygon(StiPoint[] points, StiPen pen) throws java.lang.Exception
drawPolygon in interface IStiExportGeomWriterjava.lang.Exceptionpublic void drawPolyline(StiPoint[] points, StiPen pen, boolean close, boolean drawTo) throws java.io.IOException
java.io.IOExceptionpublic void drawPolylineTo(StiPoint[] points, StiPen pen) throws java.io.IOException
drawPolylineTo in interface IStiExportGeomWriterjava.io.IOExceptionpublic void fillPolygon(StiPoint[] points, StiBrush brush) throws java.lang.Exception
fillPolygon in interface IStiExportGeomWriterjava.lang.Exceptionpublic void drawBezier(StiPoint p1, StiPoint p2, StiPoint p3, StiPoint p4, StiPen pen)
drawBezier in interface IStiExportGeomWriterpublic void drawBezierTo(StiPoint p2, StiPoint p3, StiPoint p4, StiPen pen)
drawBezierTo in interface IStiExportGeomWriterpublic void drawArc(StiRectangle rect, StiPoint p1, StiPoint p2, StiPen pen)
drawArc in interface IStiExportGeomWriterpublic void drawEllipse(StiRectangle rect, StiPen pen)
public void fillEllipse(StiRectangle rect, StiBrush brush) throws java.lang.Exception
fillEllipse in interface IStiExportGeomWriterjava.lang.Exceptionpublic void setPixel(StiPoint point, StiColor color)
setPixel in interface IStiExportGeomWriterpublic boolean setBrush(java.lang.Object brush,
StiRectangle rect,
StiRefObject<java.lang.Boolean> isTransparent,
boolean saveState)
throws java.io.IOException
java.io.IOExceptionpublic void drawImage(StiImage img, StiRectangle rect) throws java.io.IOException
drawImage in interface IStiExportGeomWriterjava.io.IOExceptionpublic void drawText(StiPoint basePoint, java.lang.String text, int[] charsOffset, StiFont font, StiColor textColor, double angle, EmfTextAlignmentMode textAlign) throws java.lang.Exception
drawText in interface IStiExportGeomWriterjava.lang.Exceptionpublic void drawString(java.lang.String st,
StiFont font,
StiBrush brush,
StiRectangle rect,
StiTextHorAlignment horAlignment,
StiVertAlignment vertAlignment)
throws java.io.IOException
drawString in interface IStiExportGeomWriterjava.io.IOExceptionpublic void saveState()
throws java.io.IOException
saveState in interface IStiExportGeomWriterjava.io.IOExceptionpublic void restoreState()
throws java.io.IOException
restoreState in interface IStiExportGeomWriterjava.io.IOExceptionpublic void translateTransform(double x,
double y)
throws java.io.IOException
translateTransform in interface IStiExportGeomWriterjava.io.IOExceptionpublic void rotateTransform(double angle)
throws java.io.IOException
rotateTransform in interface IStiExportGeomWriterjava.io.IOExceptionpublic StiSize measureString(java.lang.String st, StiFont font)
measureString in interface IStiExportGeomWriterCopyright © 2019 Stimulsoft. All Rights Reserved.