Expand description
Structs§
- Color
- A 8-bit RGB color.
- Fill
- A fill style.
- Lyon
Writer - Translate from
lyon_path::Pathtousvg::Pathonpushand write an SVG to a file. - NoText
- Marker struct for
LyonWriterthat indicates that noTextnode has been added so far. It disallowspush_textand does not convertTexttoSvgPathupon write. - Stroke
- A stroke style.
- SvgTransform
- An affine transformation matrix.
Enums§
- Dominant
Baseline - A dominant baseline property.
- Lyon
Translation Error - Node
Kind - Node’s kind.
Traits§
- Font
Provider - Marker trait that changes the behavior of
writeforLyonWriterand allows for writing text to the SVG.
Functions§
- create_
png_ node - Utility function to create
usvg::Imageelements. - create_
text_ node - Utility function to create
Textelements. - fill
- Utility function to build a
Fill. - stroke
- Utility function to build a
Stroke.