Hierarchy

  • StiGaugeContextPainter

Index

Constructors

constructor

Properties

animations

animations: List<StiAnimation>

gauge

gauge: IStiGauge

geoms

geoms: StiGaugeGeom[] = []

rect

zoom

zoom: number

Methods

addEllipseGaugeGeom

addGraphicsArcGeometryGaugeGeom

  • addGraphicsArcGeometryGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: number, startAngle: number, sweepAngle: number, startWidth: number, endWidth: number): void
  • Parameters

    • rect: RectangleF
    • background: StiBrush
    • borderBrush: StiBrush
    • borderWidth: number
    • startAngle: number
    • sweepAngle: number
    • startWidth: number
    • endWidth: number

    Returns void

addGraphicsPathGaugeGeom

addPieGaugeGeom

  • addPieGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: number, startAngle: number, sweepAngle: number): void
  • Parameters

    Returns void

addPopTranformGaugeGeom

  • addPopTranformGaugeGeom(): void
  • Returns 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

    • rect: RectangleF
    • background: StiBrush
    • borderBrush: StiBrush
    • borderWidth: number
    • centerPoint: PointF
    • startAngle: number
    • sweepAngle: number
    • radius1: number
    • radius2: number
    • radius3: number
    • radius4: number

    Returns void

addRectangleGaugeGeom

addRoundedRectangleGaugeGeom

  • addRoundedRectangleGaugeGeom(rect: RectangleF, background: StiBrush, borderBrush: StiBrush, borderWidth: number, leftTop: number, rightTop: number, rightBottom: number, leftBottom: number): void
  • Parameters

    • rect: RectangleF
    • background: StiBrush
    • borderBrush: StiBrush
    • borderWidth: number
    • leftTop: number
    • rightTop: number
    • rightBottom: number
    • leftBottom: number

    Returns void

addTextGaugeGeom

measureString

  • measureString(text: string, font: Font): SizeF
  • Parameters

    • text: string
    • font: Font

    Returns SizeF

render

  • render(): void
  • Returns void

Static changeFontSize

  • changeFontSize(font: Font, zoom: number): Font
  • Parameters

    • font: Font
    • zoom: number

    Returns Font

Generated using TypeDoc