StiSvgGeomWriter Class
Namespace: Stimulsoft.Report.Export
Inheritance
Implements: IStiExportGeomWriter
Constructors
| Constructor | Description |
|---|---|
| constructor(XmlTextWriter writer) |
constructor(writer: XmlTextWriter)
Parameters
- writer (XmlTextWriter)
Methods
| Method | Returns | Description |
|---|---|---|
| beginPath | void | |
| closeFigure | void | |
| drawArc2 | void | |
| drawBezier | void | |
| drawBezierTo | void | |
| drawEllipse | void | |
| drawFontIcon | void | |
| drawImage | void | |
| drawLine | void | |
| drawLineTo | void | |
| drawPolygon | void | |
| drawPolyline | void | |
| drawPolylineTo | void | |
| drawRectangle | void | |
| drawString | void | |
| endPath | void | |
| endTransform | void | |
| fillEllipse | void | |
| fillPath | void | |
| fillPolygon | void | |
| fillPolygons | void | |
| fillRectangle | void | |
| fillRectangle2 | void | |
| measureString | SizeD | |
| moveTo | void | |
| restoreState | void | |
| rotateTransform | void | |
| saveState | void | |
| setPixel | void | |
| strokePath | void | |
| translateTransform | void |
Method Details
beginPath
beginPath(): void
closeFigure
closeFigure(): void
drawArc2
drawArc2(rect: RectangleD, p1: PointD, p2: PointD, pen: Pen): void
Parameters
- rect (RectangleD)
- p1 (PointD)
- p2 (PointD)
- pen (Pen)
drawBezier
drawBezier(p1: PointD, p2: PointD, p3: PointD, p4: PointD, pen: any): void
Parameters
- p1 (PointD)
- p2 (PointD)
- p3 (PointD)
- p4 (PointD)
- pen (any)
drawBezierTo
drawBezierTo(p2: PointD, p3: PointD, p4: PointD, pen: any): void
Parameters
- p2 (PointD)
- p3 (PointD)
- p4 (PointD)
- pen (any)
drawEllipse
drawEllipse(rect: RectangleD, pen: any): void
Parameters
- rect (RectangleD)
- pen (any)
drawFontIcon
drawFontIcon(color: Color, icon: StiFontIcons, rect: RectangleD): void
Parameters
- color (Color)
- icon (StiFontIcons)
- rect (RectangleD)
drawImage
drawImage(img: Image, rect: RectangleD): void
Parameters
- img (Image)
- rect (RectangleD)
drawLine
drawLine(pointFrom: PointD, pointTo: PointD, pen: any): void
Parameters
- pointFrom (PointD)
- pointTo (PointD)
- pen (any)
drawLineTo
drawLineTo(pointTo: PointD, pen: any): void
Parameters
- pointTo (PointD)
- pen (any)
drawPolygon
drawPolygon(points: PointD[], pen: any): void
Parameters
- points (PointD[])
- pen (any)
drawPolyline
drawPolyline(points: PointD[], pen: Pen): void
Parameters
- points (PointD[])
- pen (Pen)
drawPolylineTo
drawPolylineTo(points: PointD[], pen: any): void
Parameters
- points (PointD[])
- pen (any)
drawRectangle
drawRectangle(rect: RectangleD, pen: any): void
Parameters
- rect (RectangleD)
- pen (any)
drawString
drawString(st: string, font: Font, brush: any, rect: RectangleD, sf: StringFormat): void
Parameters
- st (string)
- font (Font)
- brush (any)
- rect (RectangleD)
- sf (StringFormat)
endPath
endPath(): void
endTransform
endTransform(): void
fillEllipse
fillEllipse(rect: RectangleD, brush: any): void
Parameters
- rect (RectangleD)
- brush (any)
fillPath
fillPath(brush: any): void
Parameters
- brush (any)
fillPolygon
fillPolygon(points: PointD[], brush: any): void
Parameters
- points (PointD[])
- brush (any)
fillPolygons
fillPolygons(points: PointD[][], brush: any): void
Parameters
- points (PointD[][])
- brush (any)
fillRectangle
fillRectangle(rect: RectangleD, brush: any): void
Parameters
- rect (RectangleD)
- brush (any)
fillRectangle2
fillRectangle2(rect: RectangleD, color: Color): void
Parameters
- rect (RectangleD)
- color (Color)
measureString
measureString(st: string, font: Font): SizeD
Parameters
- st (string)
- font (Font)
Returns SizeD
moveTo
moveTo(point: PointD): void
Parameters
- point (PointD)
restoreState
restoreState(): void
rotateTransform
rotateTransform(angle: number): void
Parameters
- angle (number)
saveState
saveState(): void
setPixel
setPixel(point: PointD, color: Color): void
Parameters
- point (PointD)
- color (Color)
strokePath
strokePath(pen: any): void
Parameters
- pen (any)
translateTransform
translateTransform(x: number, y: number): void
Parameters
- x (number)
- y (number)
Fields
| Field | Type | Description |
|---|---|---|
| textAlign | EmfTextAlignmentMode) |