@page @{ ViewData["title"] = "Functions"; ViewData["page-support"] = "Functions \\ Image"; }
The image namespace contains functions that return an icon and are only assigned to the image property
Return font icon with color and size option.
Syntax
image.glyph(0xE00B)image.glyph("\uE00B")image.glyph("\xE00B")image.glyph(0xE00B, #0000ff)image.glyph(0xE00B, #0000ff, 10)image.glyph(0xE00B, #0000ff, 12, "Segoe MDL2 Assets")Returns an icon through a path or through resources.
Syntax
image.icon(path)image.icon(path, index)image.icon(path, -id)image(path)image(path, index)image(path, -id)Returns a colored rectangle icon of an optional size.
Syntax
image.rect(#0000ff)image.rect(#0000ff, 10)image.res image.str image.symbol draw.str draw.symbol draw.circle*@