Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:4:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:13:2
method construct(int width, int height, any handle = null)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:26:2
getInternalHandle returns the internal handle of the canvas
method getInternalHandle() returns any
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:31:2
method getPixel(int x, int y) returns Color
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:37:2
method setPixel(int x, int y, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:42:2
method fill(Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:47:2
method drawImage(Canvas image, int x, int y, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:57:2
method drawRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:62:2
method fillRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:67:2
method drawCircle(Ellipse circle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:72:2
method fillCircle(Ellipse circle, Color color, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:82:2
method replaceColor(Color from, Color to, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:93:2
method blur(int radius)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:98:2
method resize(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:108:2
method resizeScale(float scale)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:118:2
method extendTo(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:128:2
method getSubImage(int x, int y, int width, int height) returns Canvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:133:2
method copy() returns Canvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:138:2
method save(string path)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:144:2
method fromFile(string file) returns Canvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:151:2
method fromFileData(list<byte> bytes) returns Canvas
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
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:4:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:17:2
method construct(byte a, byte r, byte g, byte b)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:26:2
method fromRGBA(byte r, byte g, byte b, byte a) returns self
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:32:2
method fromRGB(byte r, byte g, byte b) returns self
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:38:2
method fromARGB(byte a, byte r, byte g, byte b) returns self
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:43:2
method toString() returns string
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Color.aspl:49:2
method random() returns Color
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:4:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:11:5
property Font default
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:52:2
method withSize(int size) returns Font
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:57:2
method asBold(bool value = true) returns Font
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:62:2
method asItalic(bool value = true) returns Font
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:67:2
method asUnderlined(bool value = true) returns Font
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Font.aspl:72:2
method asStrikedout(bool value = true) returns Font
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:5:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:14:5
method getPixel(int x, int y) returns Color
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:18:5
method setPixel(int x, int y, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:22:5
method fill(Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:26:5
method drawImage(Canvas image, int x, int y, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:34:2
method drawRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:38:2
method fillRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:42:2
method drawCircle(Ellipse circle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:46:2
method fillCircle(Ellipse circle, Color color, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:54:2
method replaceColor(Color from, Color to, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:63:2
method blur(int radius)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:67:2
method resize(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:71:2
method resizeScale(float scale)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:75:2
method extendTo(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:79:2
method getSubImage(int x, int y, int width, int height) returns Canvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:83:2
method copy() returns Canvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/ICanvas.aspl:87:2
method save(string path)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:4:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:23:2
method construct(int width, int height, string directory, any handle = null)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:35:2
method getPixel(int x, int y) returns Color
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:41:2
method setPixel(int x, int y, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:46:2
method fill(Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:51:2
method drawImage(Canvas image, int x, int y, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:61:2
method drawRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:66:2
method fillRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:71:2
method drawCircle(Ellipse circle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:76:2
method fillCircle(Ellipse circle, Color color, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:86:2
method replaceColor(Color from, Color to, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:97:2
method blur(int radius)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:102:2
method resize(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:109:2
method resizeScale(float scale)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:116:2
method extendTo(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:123:2
method getSubImage(int x, int y, int width, int height) returns Canvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:128:2
method copy() returns LazyChunkedCanvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:133:2
method requireArea(int x, int y, int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:138:2
method isChunkLoaded(int x, int y) returns bool
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:143:2
method loadChunk(int x, int y)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:148:2
method unloadChunk(int x, int y)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:153:2
method save(string path)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/LazyChunkedCanvas.aspl:159:2
method fromFile(string file, string directory) returns LazyChunkedCanvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:4:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:8:2
property int width
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:10:2
property int height
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:21:2
method construct(int width, int height, any handle = null)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:32:2
method getPixel(int x, int y) returns Color
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:38:2
method setPixel(int x, int y, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:43:2
method fill(Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:48:2
method drawImage(Canvas image, int x, int y, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:58:2
method drawRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:63:2
method fillRectangle(Rectangle rectangle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:68:2
method drawCircle(Ellipse circle, Color color, bool blend = true)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:73:2
method fillCircle(Ellipse circle, Color color, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:83:2
method replaceColor(Color from, Color to, bool blend = true)
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)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:94:2
method blur(int radius)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:99:2
method resize(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:106:2
method resizeScale(float scale)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:113:2
method extendTo(int width, int height)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:120:2
method getSubImage(int x, int y, int width, int height) returns Canvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:125:2
method copy() returns PrimitiveChunkedCanvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:130:2
method save(string path)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:135:2
method convertToLazy(string file, string directory)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:141:2
method fromFile(string file) returns PrimitiveChunkedCanvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/PrimitiveChunkedCanvas.aspl:148:2
method fromFileData(list<byte> bytes) returns PrimitiveChunkedCanvas
Source: /home/runner/work/aspl/aspl/stdlib/graphics/TouchPoint.aspl:4:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/TouchPoint.aspl:16:5
method construct(long identifier, Point position, TouchToolType toolType, bool changed)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:4:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:9:2
property string title
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:24:2
property int fps
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:31:2
property callback onLoad
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:33:2
property callback<Canvas> onPaint
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:35:2
property callback<int, int> onResize
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:37:2
property callback<KeyCode> onKeyPress
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:39:2
property callback<KeyCode> onKeyDown
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:41:2
property callback<KeyCode> onKeyUp
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:43:2
property callback<Point, MouseButton> onMouseClick
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:45:2
property callback<Point, MouseButton> onMouseDown
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:47:2
property callback<Point, MouseButton> onMouseUp
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:49:2
property callback<Point, float, float> onMouseMove
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:51:2
property callback<Point, float, float> onMouseWheel
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:53:2
property callback<list<TouchPoint>> onTouchDown
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:55:2
property callback<list<TouchPoint>> onTouchMove
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:57:2
property callback<list<TouchPoint>> onTouchUp
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:60:2
method construct(string|int title, int width, int? height = null)
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:134:2
method show()
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:139:2
method isFullscreen() returns bool
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:144:2
method toggleFullscreen()
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:149:5
method isMouseButtonDown(MouseButton button) returns bool
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Window.aspl:154:2
method isKeyDown(KeyCode key) returns bool
Source: /home/runner/work/aspl/aspl/stdlib/graphics/HorizontalAlignment.aspl:2:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/KeyCode.aspl:2:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/MouseButton.aspl:2:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/TouchToolType.aspl:2:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/VerticalAlignment.aspl:2:1
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:166:1
function get_image_width_from_file(string file) returns int
Source: /home/runner/work/aspl/aspl/stdlib/graphics/Canvas.aspl:171:1
function get_image_height_from_file(string file) returns int
Source: /home/runner/work/aspl/aspl/stdlib/graphics/text.aspl:4:1
function measure_text_size(string text, Font font) returns Size