Class StiFunctionsDrawing
Methods
Static aRGB
- aRGB(alpha: number, red: number, green: number, blue: number): Color
-
Parameters
-
alpha: number
-
red: number
-
green: number
-
blue: number
Static colorFade
- colorFade(color: any, fadeAmount: number): Color
-
Parameters
-
color: any
-
fadeAmount: number
Static colorValue
- colorValue(value: string): Color
Static fontValue
-
Parameters
-
name: string
-
size: number
-
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
Static glassBrushValue
- glassBrushValue(color: any, drawHatch: boolean, blendFactor: number): StiGlassBrush
-
Parameters
-
color: any
-
drawHatch: boolean
-
blendFactor: number
Static gradientBrushValue
- gradientBrushValue(startColor: any, endColor: any, angle: number): StiGradientBrush
-
Parameters
-
startColor: any
-
endColor: any
-
angle: number
Static hatchBrushValue
-
Parameters
-
-
foreColor: any
-
backColor: any
Static rGB
- rGB(red: number, green: number, blue: number): Color
-
Parameters
-
red: number
-
green: number
-
blue: number
Makes a new font using a specified name and size. For example: FontValue("Arial", 8).