Struct mon_artist::svg::Svg [] [src]

pub struct Svg { /* fields omitted */ }

Methods

impl Svg
[src]

Create an SVG doc of given width and height.

Add (or overwrite) an attribute on the SVG document.

Returns the version of the SVG document. Documents start by default at version 1.1.

Returns the element children of the SVG document.

Returns the width of the SVG document.

Returns the height of the SVG document.

Adds the given shape as a child element.

Adds the given named object as an (unrendered but referencable) definition.

Trait Implementations

impl IntoElement for Svg
[src]

impl Display for Svg
[src]

Formats the value using the given formatter. Read more