Usage

To use the MicroVG Foundation Library, add MicroVG API module to the project build file:

implementation("ej.api:microvg:1.5.0")

See also

MicroVG requires a VEE Port with a vector GPU and has no software fallback; see Drawing Strategy before committing the UI to vector graphics.

The MicroVG Library brings the following features:

  • the creation and drawing of paths with color or linear gradient.

  • the drawing of texts using vector fonts with color or linear gradient.

  • the drawing of vector images.

  • the transformation of paths, texts, images with affine transformation matrices.

Note

The MicroVG library natives use different drawing engines, font rendering and layout engines for embedded and simulator implementations.

This can lead to some slightly drawing differences, like for instance in the antialiasing processing of font glyphs.