Struct usvg::TextChunk[][src]

pub struct TextChunk {
    pub x: Option<NumberList>,
    pub y: Option<NumberList>,
    pub dx: Option<NumberList>,
    pub dy: Option<NumberList>,
    pub anchor: TextAnchor,
    pub spans: Vec<TextSpan>,
}

A text chunk.

Contains position and anchor of the next text chunk.

Doesn't represented in the SVG directly. Usually, it's a first tspan or text node and any tspan that defines either x or y coordinates.

Fields

A list of absolute positions along the X-axis.

A list of absolute positions along the Y-axis.

A list of relative positions along the X-axis.

A list of relative positions along the Y-axis.

A text anchor/align.

A list of text spans.

Trait Implementations

impl Clone for TextChunk
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for TextChunk

impl Sync for TextChunk