Struct usvg::Mask [] [src]

pub struct Mask {
    pub id: String,
    pub units: Units,
    pub content_units: Units,
    pub rect: Rect,
}

A mask element.

mask element in the SVG.

Fields

Element's ID.

Taken from the SVG itself. Can't be empty.

Coordinate system units.

maskUnits in the SVG.

Content coordinate system units.

maskContentUnits in the SVG.

Pattern rectangle.

x, y, width and height in the SVG.

Trait Implementations

Auto Trait Implementations

impl Send for Mask

impl Sync for Mask