diff --git a/docs/functions/image.html b/docs/functions/image.html index c316415..1051a8e 100644 --- a/docs/functions/image.html +++ b/docs/functions/image.html @@ -1,10 +1,11 @@ -
IMAGE (ICON)
+
IMAGE (ICON)

The image namespace contains functions that return an icon and are only assigned to the image property

image.glyph

Return font icon with color and size option.

Syntax

image.glyph(0xE00B)
+ image.glyph(\uE00B)
image.glyph("\uE00B")
image.glyph("\xE00B")

@@ -13,21 +14,28 @@ image.glyph(0xE00B, #0000ff, 12, "Segoe MDL2 Assets")
-
image.icon
+
image.res

Returns an icon through a path or through resources.

Syntax

- image.icon(path)
- image.icon(path, index)
- image.icon(path, -id)
+ image.res(path)
+ image.res(path, index)
+ image.res(path, -id)

image(path)
image(path, index)
image(path, -id)
+
+
image.svg, image.svgf
+

Returns an svg image via a string or from a file path.

+

Syntax

+ image.svg('')
+ image.svgf(path)
+
image.rect

Returns a colored rectangle icon of an optional size.

Syntax

image.rect(#0000ff)
image.rect(#0000ff, 10)
-
\ No newline at end of file +