Crate spreet

source ·

Re-exports

Structs

  • A single icon within a spritesheet.
  • A description of a sprite image within a spritesheet. Used for the JSON output required by a Mapbox Style Specification index file.
  • Builder pattern for Spritesheet: construct a Spritesheet object using calls to a builder helper.

Enums

Functions

  • Returns a vector of file paths matching all SVGs within the given directory.
  • Load an SVG image from a file path.
  • Returns the name (unique id within a spritesheet) taken from a file.

Type Aliases