nanosvg.*

Type Library
Revision Release 2022.3683
Keywords SVG, nanosvg
Platforms Android, iOS, macOS, Windows, tvOS

Overview

This plugin provides the ability to rasterize simple SVG vector images using the Nano SVG library.

Not all SVG files work with Nano SVG. Be sure to test individual files for compatibility.

Syntax

local nanosvg = require( "plugin.nanosvg" )

Functions

Project Settings

To use this plugin, add an entry into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

settings =
{
    plugins =
    {
        ["plugin.nanosvg"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}