Class StiGaugeContextPainter
Methods
addGraphicsArcGeometryGaugeGeom
- addGraphicsArcGeometryGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: number, startAngle: number, sweepAngle: number, startWidth: number, endWidth: number): void
-
Parameters
-
-
-
-
borderWidth: number
-
startAngle: number
-
sweepAngle: number
-
startWidth: number
-
endWidth: number
Returns void
addPieGaugeGeom
- addPieGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: number, startAngle: number, sweepAngle: number): void
-
Parameters
-
-
-
-
borderWidth: number
-
startAngle: number
-
sweepAngle: number
Returns void
addPopTranformGaugeGeom
- addPopTranformGaugeGeom(): void
addPushMatrixGaugeGeom
- addPushMatrixGaugeGeom(angle: number, centerPoint: PointF): void
-
Parameters
-
angle: number
-
centerPoint: PointF
Returns void
addRadialRangeGaugeGeom
- addRadialRangeGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: number, centerPoint: PointF, startAngle: number, sweepAngle: number, radius1: number, radius2: number, radius3: number, radius4: number): void
-
Parameters
-
-
-
-
borderWidth: number
-
centerPoint: PointF
-
startAngle: number
-
sweepAngle: number
-
radius1: number
-
radius2: number
-
radius3: number
-
radius4: number
Returns void
addRoundedRectangleGaugeGeom
- addRoundedRectangleGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: number, leftTop: number, rightTop: number, rightBottom: number, leftBottom: number): void
-
Parameters
-
-
-
-
borderWidth: number
-
leftTop: number
-
rightTop: number
-
rightBottom: number
-
leftBottom: number
Returns void
measureString
- measureString(text: string, font: Font): SizeF
Static changeFontSize
- changeFontSize(font: Font, zoom: number): Font