com.stimulsoft.report.export.tools
Class StiSvgGeomWriter
java.lang.Object
com.stimulsoft.report.export.tools.StiSvgGeomWriter
- All Implemented Interfaces:
- IStiExportGeomWriter
public class StiSvgGeomWriter
- extends java.lang.Object
- implements IStiExportGeomWriter
Copyright Stimulsoft
Constructor Summary |
StiSvgGeomWriter(org.w3c.dom.Element element,
org.w3c.dom.Document document)
|
Method Summary |
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 |
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 |
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 |
endTransform()
|
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()
|
void |
setPixel(StiPoint point,
StiColor color)
|
void |
strokePath(StiPen pen)
|
void |
translateTransform(double x,
double y)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiSvgGeomWriter
public StiSvgGeomWriter(org.w3c.dom.Element element,
org.w3c.dom.Document document)
beginPath
public void beginPath()
- Specified by:
beginPath
in interface IStiExportGeomWriter
closeFigure
public void closeFigure()
- Specified by:
closeFigure
in interface IStiExportGeomWriter
drawArc
public void drawArc(StiRectangle rect,
StiPoint p1,
StiPoint p2,
StiPen pen)
- Specified by:
drawArc
in interface IStiExportGeomWriter
drawBezier
public void drawBezier(StiPoint p1,
StiPoint p2,
StiPoint p3,
StiPoint p4,
StiPen pen)
- Specified by:
drawBezier
in interface IStiExportGeomWriter
drawBezierTo
public void drawBezierTo(StiPoint p2,
StiPoint p3,
StiPoint p4,
StiPen pen)
- Specified by:
drawBezierTo
in interface IStiExportGeomWriter
drawImage
public void drawImage(StiImage img,
StiRectangle rect)
- Specified by:
drawImage
in interface IStiExportGeomWriter
drawLine
public void drawLine(StiPoint pointFrom,
StiPoint pointTo,
StiPen pen)
- Specified by:
drawLine
in interface IStiExportGeomWriter
drawLineTo
public void drawLineTo(StiPoint pointTo,
StiPen pen)
- Specified by:
drawLineTo
in interface IStiExportGeomWriter
drawPolygon
public void drawPolygon(StiPoint[] points,
StiPen pen)
- Specified by:
drawPolygon
in interface IStiExportGeomWriter
drawPolyline
public void drawPolyline(StiPoint[] points,
StiPen pen)
- Specified by:
drawPolyline
in interface IStiExportGeomWriter
drawPolylineTo
public void drawPolylineTo(StiPoint[] points,
StiPen pen)
- Specified by:
drawPolylineTo
in interface IStiExportGeomWriter
drawRectangle
public void drawRectangle(StiRectangle rect,
StiPen pen)
- Specified by:
drawRectangle
in interface IStiExportGeomWriter
drawString
public void drawString(java.lang.String st,
StiFont font,
StiBrush brush,
StiRectangle rect,
StiTextHorAlignment horAlignment,
StiVertAlignment vertAlignment)
- Specified by:
drawString
in interface IStiExportGeomWriter
drawText
public void drawText(StiPoint basePoint,
java.lang.String text,
int[] charsOffset,
StiFont font,
StiColor textColor,
double angle,
EmfTextAlignmentMode textAlign)
- Specified by:
drawText
in interface IStiExportGeomWriter
endPath
public void endPath()
- Specified by:
endPath
in interface IStiExportGeomWriter
fillPath
public void fillPath(StiBrush brush)
- Specified by:
fillPath
in interface IStiExportGeomWriter
fillPolygon
public void fillPolygon(StiPoint[] points,
StiBrush brush)
- Specified by:
fillPolygon
in interface IStiExportGeomWriter
fillRectangle
public void fillRectangle(StiRectangle rect,
StiBrush brush)
- Specified by:
fillRectangle
in interface IStiExportGeomWriter
fillRectangle
public void fillRectangle(StiRectangle rect,
StiColor color)
- Specified by:
fillRectangle
in interface IStiExportGeomWriter
measureString
public StiSize measureString(java.lang.String st,
StiFont font)
- Specified by:
measureString
in interface IStiExportGeomWriter
moveTo
public void moveTo(StiPoint point)
- Specified by:
moveTo
in interface IStiExportGeomWriter
restoreState
public void restoreState()
- Specified by:
restoreState
in interface IStiExportGeomWriter
rotateTransform
public void rotateTransform(double angle)
- Specified by:
rotateTransform
in interface IStiExportGeomWriter
saveState
public void saveState()
- Specified by:
saveState
in interface IStiExportGeomWriter
setPixel
public void setPixel(StiPoint point,
StiColor color)
- Specified by:
setPixel
in interface IStiExportGeomWriter
strokePath
public void strokePath(StiPen pen)
- Specified by:
strokePath
in interface IStiExportGeomWriter
translateTransform
public void translateTransform(double x,
double y)
- Specified by:
translateTransform
in interface IStiExportGeomWriter
endTransform
public void endTransform()
fillEllipse
public void fillEllipse(StiRectangle rect,
StiBrush brush)
- Specified by:
fillEllipse
in interface IStiExportGeomWriter