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

Returns Image


convertFontIconToImageAsync static

convertFontIconToImageAsync(icon: StiFontIcons, color: Color, width: number, height: number, dy: string, horAlign: StiHorAlignment): Promise<Image>

Parameters

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


drawFillIcons static

drawFillIcons(context: StiContext, brush: object, rect: Rectangle, singleSize: Size, icon: StiFontIcons, toolTip: string): void

Parameters


getContent static

getContent(fontIcons: StiFontIcons): string

Parameters

Returns string


getFontIcons static

getFontIcons(iconSet: StiFontIconSet): StiFontIcons[]

Parameters

Returns StiFontIcons[]


getFontIcons1 static

getFontIcons1(iconGroup: StiFontIconGroup): StiFontIcons[]

Parameters

Returns StiFontIcons[]


getIconFontSize static

getIconFontSize(context: StiContext, size: Size, text: string): number

Parameters

Returns number


getIconPadding static

getIconPadding(fontIcons: StiFontIcons): number[]

Parameters

Returns number[]


getIsonSetContent static

getIsonSetContent(iconSet: StiFontIconSet): string

Parameters

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

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