API Reference Skia v#0.1.1

Copy Markdown View Source

Modules

Batched, immutable drawing documents rendered through Skia.

Small, dependency-free helpers for comparing batch and picture rendering overhead.

Color filter values for paint and image filters.

Blend a constant color into source colors using a blend mode.

Color filter composition: outer(inner(color)).

20-value row-major color matrix filter.

Normalized drawing command.

Source of truth for the curated Elixir drawing API.

Compact command batch encoding and rendering.

Readable do/end DSL for building batched drawing documents.

Immutable drawing document built by the fluent API and DSL.

Sized font value built from a Skia.Typeface.

Decoded image resource for batched drawing.

Image filter values for layers and paints.

Gaussian blur image filter.

Image filter that applies a color filter to its input.

Image filter composition: outer(inner(source)).

Drop-shadow image filter.

Magnifier image filter.

Matrix convolution image filter.

Matrix transform image filter.

Merge image filters using source-over.

Dilate/erode morphology image filter.

Offset image filter.

Image filter that fills with a shader.

Tile image filter.

Mask filters transform draw masks before painting.

Blur mask filter.

2D affine transform matrix used by shaders and canvas transforms.

Reusable paint description for future paint-focused APIs.

Reusable paragraph layout options for Skia.text/3.

Immutable path command list for batched path rendering.

Path effect values for stroke paints.

Path effect composition.

Corner rounding path effect.

Dash path effect.

Discrete/jitter path effect.

2D line path effect.

Stamp a path along stroked contours.

2D path stamp effect.

Path effect sum.

Trim path effect.

Recorded Skia picture resource.

Rendering options for Skia.render/2.

Compiled SkSL runtime effect.

Image sampling options for image drawing and image shaders.

Reusable shader paint sources.

Solid color shader paint source.

Color stop with explicit position in a gradient.

Image shader paint source.

Linear gradient paint source.

Picture shader paint source.

Radial gradient paint source.

Runtime SkSL shader paint source.

Sweep/conic gradient paint source.

Two-point conical gradient paint source.

Immutable shaped text blob resource for repeated text drawing.

Styled text run for paragraph rendering.

Reusable text style options for Skia.text/3.

Typeface resource independent of font size.

Triangle mesh vertices.

Mix Tasks

Generates native/schema files derived from Skia.CommandSpec.