StiFontIconsHelper Class
Namespace: Stimulsoft.Report
Methods
| Method | Returns | Description |
|---|---|---|
convertFontIconToImage static |
Image | |
convertFontIconToImageAsync static |
Promise<Image> | |
drawDirectionIcons static |
void | |
drawFillIcons static |
void | |
getContent static |
string | |
getFontIcons static |
StiFontIcons[] | |
getFontIcons1 static |
StiFontIcons[] | |
getIconFontSize static |
number | |
getIconPadding static |
number[] | |
getIsonSetContent static |
string | |
writeFontIconImage static |
void |
Method Details
convertFontIconToImage static
convertFontIconToImage(icon: StiFontIcons, color: Color, width: number, height: number, dy: string): Image
Parameters
- icon (StiFontIcons)
- color (Color)
- width (number)
- height (number)
- dy (string)
Returns Image
convertFontIconToImageAsync static
convertFontIconToImageAsync(icon: StiFontIcons, color: Color, width: number, height: number, dy: string, horAlign: StiHorAlignment): Promise<Image>
Parameters
- icon (StiFontIcons)
- color (Color)
- width (number)
- height (number)
- dy (string)
- horAlign (StiHorAlignment)
Returns Promise<Image>
drawDirectionIcons static
drawDirectionIcons(context: StiContext, brush: object, rect: Rectangle, singleSize: Size, icon: StiFontIcons, toolTip: string, interaction: StiInteractionDataGeom, verticalDirection: boolean, roundValues: any): void
Parameters
- context (StiContext)
- brush (object)
- rect (Rectangle)
- singleSize (Size)
- icon (StiFontIcons)
- toolTip (string)
- interaction (StiInteractionDataGeom)
- verticalDirection (boolean)
- roundValues (any)
drawFillIcons static
drawFillIcons(context: StiContext, brush: object, rect: Rectangle, singleSize: Size, icon: StiFontIcons, toolTip: string): void
Parameters
- context (StiContext)
- brush (object)
- rect (Rectangle)
- singleSize (Size)
- icon (StiFontIcons)
- toolTip (string)
getContent static
getContent(fontIcons: StiFontIcons): string
Parameters
- fontIcons (StiFontIcons)
Returns string
getFontIcons static
getFontIcons(iconSet: StiFontIconSet): StiFontIcons[]
Parameters
- iconSet (StiFontIconSet)
Returns StiFontIcons[]
getFontIcons1 static
getFontIcons1(iconGroup: StiFontIconGroup): StiFontIcons[]
Parameters
- iconGroup (StiFontIconGroup)
Returns StiFontIcons[]
getIconFontSize static
getIconFontSize(context: StiContext, size: Size, text: string): number
Parameters
- context (StiContext)
- size (Size)
- text (string)
Returns number
getIconPadding static
getIconPadding(fontIcons: StiFontIcons): number[]
Parameters
- fontIcons (StiFontIcons)
Returns number[]
getIsonSetContent static
getIsonSetContent(iconSet: StiFontIconSet): string
Parameters
- iconSet (StiFontIconSet)
Returns string
writeFontIconImage static
writeFontIconImage(writer: XmlTextWriter, color: Color, icon: StiFontIcons, width: number, height: number, dy: string, x: number, y: number, horAlignment: StiHorAlignment, vertAlignment: StiVertAlignment): void
Parameters
- writer (XmlTextWriter)
- color (Color)
- icon (StiFontIcons)
- width (number)
- height (number)
- dy (string)
- x (number)
- y (number)
- horAlignment (StiHorAlignment)
- vertAlignment (StiVertAlignment)
Fields
| Field | Type | Description |
|---|---|---|
| alignmentBaseline | any | |
| alignmentBaseline | any | |
| alignmentBaseline | any | |
| firstDrawIcon | any | |
| firstDrawIcon | any | |
| styleText | any | |
| styleText | any | |
| textAnchor | any | |
| textAnchor | any | |
| textAnchor | any | |
| x | any | |
| xPos | any | |
| xPos | any | |
| xPos | any | |
| yPos | any | |
| yPos | any | |
| yPos | any |