StiGdiContextPainter Class
Namespace: Stimulsoft.Report.Painters
Inheritance
Inherits from: StiContextPainter
Implements: IStiAnimationContextPainter<StiGeom>
Constructors
| Constructor | Description |
|---|---|
| StiGdiContextPainter(Graphics graphics) |
StiGdiContextPainter(graphics: Graphics)
Parameters
- graphics (Graphics)
Properties
| Property | Type | Description |
|---|---|---|
| AnimationEngine | StiAnimationEngine |
Methods
| Method | Returns | Description |
|---|---|---|
| Clone | StiContextPainter | |
| CreateShadowGraphics | StiContext | |
| Dispose | void | |
| GetDefaultStringFormat | StiStringFormatGeom | |
| GetGenericStringFormat | StiStringFormatGeom | |
| GetPathBounds | RectangleF | |
| MeasureRotatedString (+3 overloads) | RectangleF | |
| MeasureString (+1 overloads) | SizeF | |
| Render | void |
Method Details
Clone
Clone(): StiContextPainter
Returns StiContextPainter
CreateShadowGraphics
CreateShadowGraphics(isPrinting: bool, zoom: float): StiContext
Parameters
- isPrinting (bool)
- zoom (float)
Returns StiContext
Dispose
Dispose(): void
GetDefaultStringFormat
GetDefaultStringFormat(): StiStringFormatGeom
Returns StiStringFormatGeom
GetGenericStringFormat
GetGenericStringFormat(): StiStringFormatGeom
Returns StiStringFormatGeom
GetPathBounds
GetPathBounds(geoms: List<StiSegmentGeom>): RectangleF
Parameters
- geoms (List<StiSegmentGeom>)
Returns RectangleF
MeasureRotatedString
MeasureRotatedString(text: string, font: StiFontGeom, rect: RectangleF, sf: StiStringFormatGeom, angle: float): RectangleF
Parameters
- text (string)
- font (StiFontGeom)
- rect (RectangleF)
- sf (StiStringFormatGeom)
- angle (float)
Returns RectangleF
MeasureRotatedString(text: string, font: StiFontGeom, rect: RectangleF, sf: StiStringFormatGeom, mode: StiRotationMode, angle: float): RectangleF
Parameters
- text (string)
- font (StiFontGeom)
- rect (RectangleF)
- sf (StiStringFormatGeom)
- mode (StiRotationMode)
- angle (float)
Returns RectangleF
MeasureRotatedString(text: string, font: StiFontGeom, point: PointF, sf: StiStringFormatGeom, mode: StiRotationMode, angle: float, maximalWidth: int): RectangleF
Parameters
- text (string)
- font (StiFontGeom)
- point (PointF)
- sf (StiStringFormatGeom)
- mode (StiRotationMode)
- angle (float)
- maximalWidth (int)
Returns RectangleF
MeasureRotatedString(text: string, font: StiFontGeom, point: PointF, sf: StiStringFormatGeom, mode: StiRotationMode, angle: float): RectangleF
Parameters
- text (string)
- font (StiFontGeom)
- point (PointF)
- sf (StiStringFormatGeom)
- mode (StiRotationMode)
- angle (float)
Returns RectangleF
MeasureString
MeasureString(text: string, font: StiFontGeom): SizeF
Parameters
- text (string)
- font (StiFontGeom)
Returns SizeF
MeasureString(text: string, font: StiFontGeom, width: int, sf: StiStringFormatGeom): SizeF
Parameters
- text (string)
- font (StiFontGeom)
- width (int)
- sf (StiStringFormatGeom)
Returns SizeF
Render
Render(rect: RectangleF, geoms: List<StiGeom>): void
Parameters
- rect (RectangleF)
- geoms (List<StiGeom>)