Skip to content

Latest commit

 

History

History
732 lines (702 loc) · 24.9 KB

graphics.md

File metadata and controls

732 lines (702 loc) · 24.9 KB

graphics

class graphics.Canvas

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:4:1

method construct

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:13:2

method construct(int width, int height, any handle = null)

method getInternalHandle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:26:2

getInternalHandle returns the internal handle of the canvas

method getInternalHandle() returns any

method getPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:31:2

method getPixel(int x, int y) returns Color

method setPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:37:2

method setPixel(int x, int y, Color color, bool blend = true)

method fill

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:42:2

method fill(Color color, bool blend = true)

method drawImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:47:2

method drawImage(Canvas image, int x, int y, bool blend = true)

method drawLine

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:52:2

method drawLine(int x1, int y1, int x2, int y2, Color color, int thickness = 1, bool blend = true, bool antialias = true)

method drawRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:57:2

method drawRectangle(Rectangle rectangle, Color color, bool blend = true)

method fillRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:62:2

method fillRectangle(Rectangle rectangle, Color color, bool blend = true)

method drawCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:67:2

method drawCircle(Ellipse circle, Color color, bool blend = true)

method fillCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:72:2

method fillCircle(Ellipse circle, Color color, bool blend = true)

method drawText

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:77:2

method drawText(string text, int x, int y, Font font, Color color, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Bottom, bool blend = true)

method replaceColor

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:82:2

method replaceColor(Color from, Color to, bool blend = true)

method replaceColorIgnoreAlpha

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:88:2

replaceColorIgnoreAlpha works like replaceColor, but checks only the R, G and B components and leaves the alpha value unchanged

method replaceColorIgnoreAlpha(Color from, Color to)

method blur

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:93:2

method blur(int radius)

method resize

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:98:2

method resize(int width, int height)

method resizeScale

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:108:2

method resizeScale(float scale)

method extendTo

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:118:2

method extendTo(int width, int height)

method getSubImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:128:2

method getSubImage(int x, int y, int width, int height) returns Canvas

method copy

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:133:2

method copy() returns Canvas

method save

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:138:2

method save(string path)

method fromFile

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:144:2

method fromFile(string file) returns Canvas

method fromFileData

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:151:2

method fromFileData(list<byte> bytes) returns Canvas

method fromData

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:158:2

method fromData(list<byte> bytes, int width, int height, int channels) returns Canvas

class graphics.Color

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:4:1

method construct

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:17:2

method construct(byte a, byte r, byte g, byte b)

method fromRGBA

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:26:2

method fromRGBA(byte r, byte g, byte b, byte a) returns self

method fromRGB

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:32:2

method fromRGB(byte r, byte g, byte b) returns self

method fromARGB

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:38:2

method fromARGB(byte a, byte r, byte g, byte b) returns self

method toString

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:43:2

method toString() returns string

method random

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:49:2

method random() returns Color

class graphics.Font

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:4:1

property default

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:11:5

property Font default

method construct

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:40:2

method construct(string name, string path, string regularPath, int size, bool bold = false, bool italic = false, bool underline = false, bool strikeout = false)

method withSize

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:52:2

method withSize(int size) returns Font

method asBold

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:57:2

method asBold(bool value = true) returns Font

method asItalic

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:62:2

method asItalic(bool value = true) returns Font

method asUnderlined

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:67:2

method asUnderlined(bool value = true) returns Font

method asStrikedout

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:72:2

method asStrikedout(bool value = true) returns Font

class graphics.ICanvas

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:5:1

method getPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:14:5

method getPixel(int x, int y) returns Color

method setPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:18:5

method setPixel(int x, int y, Color color, bool blend = true)

method fill

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:22:5

method fill(Color color, bool blend = true)

method drawImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:26:5

method drawImage(Canvas image, int x, int y, bool blend = true)

method drawLine

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:30:2

method drawLine(int x1, int y1, int x2, int y2, Color color, int thickness = 1, bool blend = true, bool antialias = true)

method drawRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:34:2

method drawRectangle(Rectangle rectangle, Color color, bool blend = true)

method fillRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:38:2

method fillRectangle(Rectangle rectangle, Color color, bool blend = true)

method drawCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:42:2

method drawCircle(Ellipse circle, Color color, bool blend = true)

method fillCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:46:2

method fillCircle(Ellipse circle, Color color, bool blend = true)

method drawText

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:50:2

method drawText(string text, int x, int y, Font font, Color color, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Bottom, bool blend = true)

method replaceColor

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:54:2

method replaceColor(Color from, Color to, bool blend = true)

method replaceColorIgnoreAlpha

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:59:2

replaceColorIgnoreAlpha works like replaceColor, but checks only the R, G and B components and leaves the alpha value unchanged

method replaceColorIgnoreAlpha(Color from, Color to)

method blur

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:63:2

method blur(int radius)

method resize

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:67:2

method resize(int width, int height)

method resizeScale

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:71:2

method resizeScale(float scale)

method extendTo

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:75:2

method extendTo(int width, int height)

method getSubImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:79:2

method getSubImage(int x, int y, int width, int height) returns Canvas

method copy

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:83:2

method copy() returns Canvas

method save

Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:87:2

method save(string path)

class graphics.LazyChunkedCanvas

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:4:1

method construct

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:23:2

method construct(int width, int height, string directory, any handle = null)

method getPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:35:2

method getPixel(int x, int y) returns Color

method setPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:41:2

method setPixel(int x, int y, Color color, bool blend = true)

method fill

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:46:2

method fill(Color color, bool blend = true)

method drawImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:51:2

method drawImage(Canvas image, int x, int y, bool blend = true)

method drawLine

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:56:2

method drawLine(int x1, int y1, int x2, int y2, Color color, int thickness = 1, bool blend = true, bool antialias = true)

method drawRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:61:2

method drawRectangle(Rectangle rectangle, Color color, bool blend = true)

method fillRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:66:2

method fillRectangle(Rectangle rectangle, Color color, bool blend = true)

method drawCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:71:2

method drawCircle(Ellipse circle, Color color, bool blend = true)

method fillCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:76:2

method fillCircle(Ellipse circle, Color color, bool blend = true)

method drawText

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:81:2

method drawText(string text, int x, int y, Font font, Color color, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Bottom, bool blend = true)

method replaceColor

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:86:2

method replaceColor(Color from, Color to, bool blend = true)

method replaceColorIgnoreAlpha

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:92:2

replaceColorIgnoreAlpha works like replaceColor, but checks only the R, G and B components and leaves the alpha value unchanged

method replaceColorIgnoreAlpha(Color from, Color to)

method blur

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:97:2

method blur(int radius)

method resize

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:102:2

method resize(int width, int height)

method resizeScale

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:109:2

method resizeScale(float scale)

method extendTo

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:116:2

method extendTo(int width, int height)

method getSubImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:123:2

method getSubImage(int x, int y, int width, int height) returns Canvas

method copy

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:128:2

method copy() returns LazyChunkedCanvas

method requireArea

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:133:2

method requireArea(int x, int y, int width, int height)

method isChunkLoaded

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:138:2

method isChunkLoaded(int x, int y) returns bool

method loadChunk

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:143:2

method loadChunk(int x, int y)

method unloadChunk

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:148:2

method unloadChunk(int x, int y)

method save

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:153:2

method save(string path)

method fromFile

Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:159:2

method fromFile(string file, string directory) returns LazyChunkedCanvas

class graphics.PrimitiveChunkedCanvas

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:4:1

property width

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:8:2

property int width

property height

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:10:2

property int height

method construct

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:21:2

method construct(int width, int height, any handle = null)

method getPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:32:2

method getPixel(int x, int y) returns Color

method setPixel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:38:2

method setPixel(int x, int y, Color color, bool blend = true)

method fill

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:43:2

method fill(Color color, bool blend = true)

method drawImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:48:2

method drawImage(Canvas image, int x, int y, bool blend = true)

method drawLine

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:53:2

method drawLine(int x1, int y1, int x2, int y2, Color color, int thickness = 1, bool blend = true, bool antialias = true)

method drawRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:58:2

method drawRectangle(Rectangle rectangle, Color color, bool blend = true)

method fillRectangle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:63:2

method fillRectangle(Rectangle rectangle, Color color, bool blend = true)

method drawCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:68:2

method drawCircle(Ellipse circle, Color color, bool blend = true)

method fillCircle

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:73:2

method fillCircle(Ellipse circle, Color color, bool blend = true)

method drawText

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:78:2

method drawText(string text, int x, int y, Font font, Color color, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Left, VerticalAlignment verticalAlignment = VerticalAlignment.Bottom, bool blend = true)

method replaceColor

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:83:2

method replaceColor(Color from, Color to, bool blend = true)

method replaceColorIgnoreAlpha

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:89:2

replaceColorIgnoreAlpha works like replaceColor, but checks only the R, G and B components and leaves the alpha value unchanged

method replaceColorIgnoreAlpha(Color from, Color to)

method blur

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:94:2

method blur(int radius)

method resize

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:99:2

method resize(int width, int height)

method resizeScale

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:106:2

method resizeScale(float scale)

method extendTo

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:113:2

method extendTo(int width, int height)

method getSubImage

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:120:2

method getSubImage(int x, int y, int width, int height) returns Canvas

method copy

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:125:2

method copy() returns PrimitiveChunkedCanvas

method save

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:130:2

method save(string path)

method convertToLazy

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:135:2

method convertToLazy(string file, string directory)

method fromFile

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:141:2

method fromFile(string file) returns PrimitiveChunkedCanvas

method fromFileData

Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:148:2

method fromFileData(list<byte> bytes) returns PrimitiveChunkedCanvas

class graphics.TouchPoint

Source: /home/runner/work/aspl/aspl/stdlib/graphics/TouchPoint.aspl:4:1

method construct

Source: /home/runner/work/aspl/aspl/stdlib/graphics/TouchPoint.aspl:16:5

method construct(long identifier, Point position, TouchToolType toolType, bool changed)

class graphics.Window

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:4:1

property title

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:9:2

property string title

property fps

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:24:2

property int fps

property onLoad

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:31:2

property callback onLoad

property onPaint

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:33:2

property callback<Canvas> onPaint

property onResize

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:35:2

property callback<int, int> onResize

property onKeyPress

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:37:2

property callback<KeyCode> onKeyPress

property onKeyDown

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:39:2

property callback<KeyCode> onKeyDown

property onKeyUp

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:41:2

property callback<KeyCode> onKeyUp

property onMouseClick

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:43:2

property callback<Point, MouseButton> onMouseClick

property onMouseDown

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:45:2

property callback<Point, MouseButton> onMouseDown

property onMouseUp

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:47:2

property callback<Point, MouseButton> onMouseUp

property onMouseMove

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:49:2

property callback<Point, float, float> onMouseMove

property onMouseWheel

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:51:2

property callback<Point, float, float> onMouseWheel

property onTouchDown

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:53:2

property callback<list<TouchPoint>> onTouchDown

property onTouchMove

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:55:2

property callback<list<TouchPoint>> onTouchMove

property onTouchUp

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:57:2

property callback<list<TouchPoint>> onTouchUp

method construct

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:60:2

method construct(string|int title, int width, int? height = null)

method show

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:134:2

method show()

method isFullscreen

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:139:2

method isFullscreen() returns bool

method toggleFullscreen

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:144:2

method toggleFullscreen()

method isMouseButtonDown

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:149:5

method isMouseButtonDown(MouseButton button) returns bool

method isKeyDown

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:154:2

method isKeyDown(KeyCode key) returns bool

enum graphics.HorizontalAlignment

Source: /home/runner/work/aspl/aspl/stdlib/graphics/HorizontalAlignment.aspl:2:1


enum graphics.KeyCode

Source: /home/runner/work/aspl/aspl/stdlib/graphics/KeyCode.aspl:2:1


enum graphics.MouseButton

Source: /home/runner/work/aspl/aspl/stdlib/graphics/MouseButton.aspl:2:1


enum graphics.TouchToolType

Source: /home/runner/work/aspl/aspl/stdlib/graphics/TouchToolType.aspl:2:1


enum graphics.VerticalAlignment

Source: /home/runner/work/aspl/aspl/stdlib/graphics/VerticalAlignment.aspl:2:1


function graphics.get_image_width_from_file

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:166:1

function get_image_width_from_file(string file) returns int

function graphics.get_image_height_from_file

Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:171:1

function get_image_height_from_file(string file) returns int

function graphics.measure_text_size

Source: /home/runner/work/aspl/aspl/stdlib/graphics/text.aspl:4:1

function measure_text_size(string text, Font font) returns Size