Hierarchy

  • StiFunctionsDrawing

Index

Methods

Static aRGB

  • aRGB(alpha: number, red: number, green: number, blue: number): Color
  • Parameters

    • alpha: number
    • red: number
    • green: number
    • blue: number

    Returns Color

Static colorFade

  • colorFade(color: any, fadeAmount: number): Color
  • Parameters

    • color: any
    • fadeAmount: number

    Returns Color

Static colorValue

  • colorValue(value: string): Color
  • Parameters

    • value: string

    Returns Color

Static create

  • create(): void
  • Returns void

Static fontValue

  • Makes a new font using a specified name and size. For example: FontValue("Arial", 8).

    Parameters

    • name: string

      A font name.

    • size: number

      A font size.

    • Optional style: FontStyle

      A font style

    Returns Font

    A created font.

Static glareBrushValue

  • glareBrushValue(startColor: any, endColor: any, angle: number, focus: number, scale: number): StiGlareBrush
  • Parameters

    • startColor: any
    • endColor: any
    • angle: number
    • focus: number
    • scale: number

    Returns StiGlareBrush

Static glassBrushValue

  • glassBrushValue(color: any, drawHatch: boolean, blendFactor: number): StiGlassBrush
  • Parameters

    • color: any
    • drawHatch: boolean
    • blendFactor: number

    Returns StiGlassBrush

Static gradientBrushValue

  • gradientBrushValue(startColor: any, endColor: any, angle: number): StiGradientBrush
  • Parameters

    • startColor: any
    • endColor: any
    • angle: number

    Returns StiGradientBrush

Static hatchBrushValue

Static rGB

  • rGB(red: number, green: number, blue: number): Color
  • Parameters

    • red: number
    • green: number
    • blue: number

    Returns Color

Static solidBrushValue

Generated using TypeDoc