Overview of Skia Canvas API classes
mainSkia Canvas emulates standard browser objects and provides several utility classes and functions for canvas manipulation, font management, and windowed display.
Emulated Browser Objects
The library provides implementations of standard web APIs, some of which include Skia-specific extensions (marked with 🧪):
Canvas🧪CanvasGradientCanvasPatternCanvasRenderingContext2D🧪DOMMatrixImage🧪ImageData🧪Path2D🧪
Additional Utilities
FontLibrary: A global object used to inspect system fonts and load additional fonts.Window: A class for displaying a canvas interactively in an on-screen window.App: A helper class for coordinating multipleWindowinstances within a single script.loadImage(): A utility function to loadImageobjects asynchronously.loadImageData(): A utility function to loadImageDataobjects asynchronously.