Class StiPdfGeomWriter
java.lang.Object
com.stimulsoft.report.export.tools.StiPdfGeomWriter
- All Implemented Interfaces:
IStiExportGeomWriter
Copyright Stimulsoft
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanfloatint -
Constructor Summary
ConstructorsConstructorDescriptionStiPdfGeomWriter(StiOutputStreamWriter stream, StiPdfExportService service) StiPdfGeomWriter(StiOutputStreamWriter stream, StiPdfExportService service, boolean assembleData) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidStiPoint[]convertSplineToCubicBezier(StiPoint[] points, float tension) voiddrawArc(StiRectangle rect, float startAngle, float sweepAngle) voidvoiddrawBezierTo(StiPoint p2, StiPoint p3, StiPoint p4, Object pen) voiddrawEllipse(StiRectangle rect, Object pen) voiddrawImage(StiImage img, StiRectangle rect) voidvoiddrawLineTo(StiPoint pointTo, StiPen pen) voiddrawPie(StiRectangle rect, float startAngle, float sweepAngle) voiddrawPolygon(StiPoint[] points, StiPen pen) voiddrawPolyline(StiPoint[] points, Object pen) voiddrawPolyline(StiPoint[] points, Object pen, boolean close, boolean drawTo) voiddrawPolylineTo(StiPoint[] points, StiPen pen) voiddrawRectangle(StiRectangle rect, StiPen pen) voiddrawRectangle(StiRectangle rect, Object pen) voiddrawSpline(StiPoint[] points, float tension, Object pen) voiddrawString(String st, StiFont font, StiBrush brush, StiRectangle rect, StiTextHorAlignment horAlignment, StiVertAlignment vertAlignment) voiddrawText(StiPoint basePoint, String text, int[] charsOffset, StiFont font, StiColor textColor, double angle, EmfTextAlignmentMode textAlign) voidendPath()voidfillEllipse(StiRectangle rect, Object brush) voidvoidfillPolygon(StiPoint[] points, Object brush) voidfillPolygons(List<List<StiPoint>> points, Object brush) voidfillRectangle(StiRectangle rect, StiColor color) voidfillRectangle(StiRectangle rect, Object brush) getArrowString(StiRectangle rect, boolean pointsRight) getBannerString(StiRectangle rect, boolean pointsRight) getBezierString(StiPoint p1, StiPoint p2, StiPoint p3) getRectString(double x, double y, double width, double height) getRectString(StiRectangle rect) getRectWithCornersString(StiRectangle rect, StiCornerRadius corners) measureString(String st, StiFont font) voidvoidvoidrotateTransform(double angle) voidbooleansetBrush(Object brush, StiRectangle rect, StiRefObject<Boolean> isTransparent, boolean saveState) voidsetClip(StiRectangle rect) booleanvoidvoidstrokePath(Object pen) voidtranslateTransform(double x, double y)
-
Field Details
-
pageNumber
public int pageNumber -
matrixCache
-
basePoint
-
allowThinLines
public boolean allowThinLines -
componentAngle
public float componentAngle -
assembleData
public boolean assembleData
-
-
Constructor Details
-
StiPdfGeomWriter
public StiPdfGeomWriter() -
StiPdfGeomWriter
-
StiPdfGeomWriter
public StiPdfGeomWriter(StiOutputStreamWriter stream, StiPdfExportService service, boolean assembleData)
-
-
Method Details
-
setClip
- Throws:
IOException
-
beginPath
public void beginPath()- Specified by:
beginPathin interfaceIStiExportGeomWriter
-
closeFigure
public void closeFigure()- Specified by:
closeFigurein interfaceIStiExportGeomWriter
-
endPath
public void endPath()- Specified by:
endPathin interfaceIStiExportGeomWriter
-
fillPath
- Specified by:
fillPathin interfaceIStiExportGeomWriter- Throws:
IOException
-
strokePath
- Specified by:
strokePathin interfaceIStiExportGeomWriter- Throws:
IOException
-
moveTo
- Specified by:
moveToin interfaceIStiExportGeomWriter- Throws:
IOException
-
drawLine
- Specified by:
drawLinein interfaceIStiExportGeomWriter- Throws:
IOException
-
drawLineTo
- Specified by:
drawLineToin interfaceIStiExportGeomWriter- Throws:
IOException
-
drawRectangle
- Throws:
IOException
-
setPen
- Throws:
IOException
-
drawRectangle
- Specified by:
drawRectanglein interfaceIStiExportGeomWriter- Throws:
Exception
-
fillRectangle
- Specified by:
fillRectanglein interfaceIStiExportGeomWriter- Throws:
Exception
-
fillRectangle
- Specified by:
fillRectanglein interfaceIStiExportGeomWriter- Throws:
Exception
-
convertSplineToCubicBezier
-
drawSpline
- Throws:
IOException
-
getBezierString
-
drawPolyline
- Specified by:
drawPolylinein interfaceIStiExportGeomWriter- Throws:
IOException
-
drawPolygon
- Specified by:
drawPolygonin interfaceIStiExportGeomWriter- Throws:
Exception
-
drawPolyline
public void drawPolyline(StiPoint[] points, Object pen, boolean close, boolean drawTo) throws IOException - Throws:
IOException
-
drawPolylineTo
- Specified by:
drawPolylineToin interfaceIStiExportGeomWriter- Throws:
IOException
-
fillPolygon
- Specified by:
fillPolygonin interfaceIStiExportGeomWriter- Throws:
Exception
-
drawBezier
public void drawBezier(StiPoint p1, StiPoint p2, StiPoint p3, StiPoint p4, Object pen) throws IOException - Specified by:
drawBezierin interfaceIStiExportGeomWriter- Throws:
IOException
-
fillPolygons
- Throws:
IOException
-
drawBezierTo
- Specified by:
drawBezierToin interfaceIStiExportGeomWriter- Throws:
IOException
-
drawArc
- Specified by:
drawArcin interfaceIStiExportGeomWriter- Throws:
IOException
-
drawPie
- Throws:
IOException
-
drawEllipse
- Throws:
IOException
-
fillEllipse
- Specified by:
fillEllipsein interfaceIStiExportGeomWriter- Throws:
Exception
-
setPixel
- Specified by:
setPixelin interfaceIStiExportGeomWriter
-
setBrush
public boolean setBrush(Object brush, StiRectangle rect, StiRefObject<Boolean> isTransparent, boolean saveState) throws IOException - Throws:
IOException
-
drawImage
- Specified by:
drawImagein interfaceIStiExportGeomWriter- Throws:
IOException
-
drawText
public void drawText(StiPoint basePoint, String text, int[] charsOffset, StiFont font, StiColor textColor, double angle, EmfTextAlignmentMode textAlign) throws Exception - Specified by:
drawTextin interfaceIStiExportGeomWriter- Throws:
Exception
-
drawString
public void drawString(String st, StiFont font, StiBrush brush, StiRectangle rect, StiTextHorAlignment horAlignment, StiVertAlignment vertAlignment) throws IOException - Specified by:
drawStringin interfaceIStiExportGeomWriter- Throws:
IOException
-
saveState
- Specified by:
saveStatein interfaceIStiExportGeomWriter- Throws:
IOException
-
restoreState
- Specified by:
restoreStatein interfaceIStiExportGeomWriter- Throws:
IOException
-
translateTransform
- Specified by:
translateTransformin interfaceIStiExportGeomWriter- Throws:
IOException
-
rotateTransform
- Specified by:
rotateTransformin interfaceIStiExportGeomWriter- Throws:
IOException
-
measureString
- Specified by:
measureStringin interfaceIStiExportGeomWriter
-
getArrowString
-
getBannerString
-
getRectString
-
getRectString
-
getRectWithCornersString
public String getRectWithCornersString(StiRectangle rect, StiCornerRadius corners) throws IOException - Throws:
IOException
-