StiGaugeContextPainter Class

Namespace: Stimulsoft.Report.Painters

Constructors

Constructor Description
StiGaugeContextPainter(StiGauge gauge, RectangleF rect, float zoom)  

StiGaugeContextPainter(gauge: StiGauge, rect: RectangleF, zoom: float)

Parameters

  • gauge (StiGauge)
  • rect (RectangleF)
  • zoom (float)

Properties

Property Type Description
Animations List<StiAnimation>  
Gauge StiGauge  
Geoms List<StiGaugeGeom>  
Rect RectangleF  
ScaleSystem double  
Zoom float  

Methods

Method Returns Description
AddEllipseGaugeGeom void  
AddGraphicsPathGaugeGeom void  
AddPieGaugeGeom void  
AddPopTranformGaugeGeom void  
AddPushMatrixGaugeGeom void  
AddRectangleGaugeGeom void  
AddRoundedRectangleGaugeGeom void  
AddTextGaugeGeom void  
ChangeFontSize static Font  
MeasureString SizeF  
Render void  

Method Details

AddEllipseGaugeGeom

AddEllipseGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: float): void

Parameters

  • rect (RectangleF)
  • background (StiBrush)
  • borderBrush (StiBrush)
  • borderWidth (float)

AddGraphicsPathGaugeGeom

AddGraphicsPathGaugeGeom(geom: StiGraphicsPathGaugeGeom): void

Parameters


AddPieGaugeGeom

AddPieGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: float, startAngle: float, sweepAngle: float): void

Parameters

  • rect (RectangleF)
  • background (StiBrush)
  • borderBrush (StiBrush)
  • borderWidth (float)
  • startAngle (float)
  • sweepAngle (float)

AddPopTranformGaugeGeom

AddPopTranformGaugeGeom(): void


AddPushMatrixGaugeGeom

AddPushMatrixGaugeGeom(angle: float, centerPoint: PointF): void

Parameters

  • angle (float)
  • centerPoint (PointF)

AddRectangleGaugeGeom

AddRectangleGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: float): void

Parameters

  • rect (RectangleF)
  • background (StiBrush)
  • borderBrush (StiBrush)
  • borderWidth (float)

AddRoundedRectangleGaugeGeom

AddRoundedRectangleGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: float, leftTop: int, rightTop: int, rightBottom: int, leftBottom: int): void

Parameters

  • rect (RectangleF)
  • background (StiBrush)
  • borderBrush (StiBrush)
  • borderWidth (float)
  • leftTop (int)
  • rightTop (int)
  • rightBottom (int)
  • leftBottom (int)

AddTextGaugeGeom

AddTextGaugeGeom(text: string, font: Font, foreground: StiBrush, rect: RectangleF, sf: StringFormat): void

Parameters


ChangeFontSize static

ChangeFontSize(font: Font, zoom: float): Font

Parameters

  • font (Font)
  • zoom (float)

Returns Font


MeasureString

MeasureString(text: string, font: Font): SizeF

Parameters

  • text (string)
  • font (Font)

Returns SizeF


Render

Render(): void