StiFunctionsDrawing Class

Namespace: Stimulsoft.Report.Dictionary

Methods

Method Returns Description
aRGB static Color  
colorFade static Color  
colorValue static Color  
create static void  
fontValue static Font Makes a new font using a specified name and size. For example: FontValue(“Arial”, 8).
glareBrushValue static StiGlareBrush  
glassBrushValue static StiGlassBrush  
gradientBrushValue static StiGradientBrush  
hatchBrushValue static StiHatchBrush  
rGB static Color  
solidBrushValue static StiSolidBrush  

Method Details

aRGB static

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

Parameters

  • alpha (number)
  • red (number)
  • green (number)
  • blue (number)

Returns Color


colorFade static

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

Parameters

  • color (any)
  • fadeAmount (number)

Returns Color


colorValue static

colorValue(value: string): Color

Parameters

  • value (string)

Returns Color


create static

create(): void


fontValue static

fontValue(name: string, size: number, style: FontStyle): Font

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.
  • style (FontStyle) — A font style

Returns Font — A created font.


glareBrushValue static

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


glassBrushValue static

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

Parameters

  • color (any)
  • drawHatch (boolean)
  • blendFactor (number)

Returns StiGlassBrush


gradientBrushValue static

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

Parameters

  • startColor (any)
  • endColor (any)
  • angle (number)

Returns StiGradientBrush


hatchBrushValue static

hatchBrushValue(style: HatchStyle, foreColor: any, backColor: any): StiHatchBrush

Parameters

  • style (HatchStyle)
  • foreColor (any)
  • backColor (any)

Returns StiHatchBrush


rGB static

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

Parameters

  • red (number)
  • green (number)
  • blue (number)

Returns Color


solidBrushValue static

solidBrushValue(color: any): StiSolidBrush

Parameters

  • color (any)

Returns StiSolidBrush