StiGdiGaugeContextPainter Class

Namespace: Stimulsoft.Gauge.Painters

Inheritance

Inherits from: StiGaugeContextPainter
Implements: IStiAnimationContextPainter<StiGaugeGeom>

Constructors

Constructor Description
StiGdiGaugeContextPainter(Graphics g, StiGauge gauge, RectangleF rect, float zoom)  

StiGdiGaugeContextPainter(g: Graphics, gauge: StiGauge, rect: RectangleF, zoom: float)

Parameters

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

Properties

Property Type Description
AnimationEngine StiAnimationEngine  

Methods

Method Returns Description
MeasureString SizeF  
Render void  

Method Details

MeasureString

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

Parameters

  • text (string)
  • font (Font)

Returns SizeF


Render

Render(): void