Struct usvg::tree::TextChunk [] [src]

pub struct TextChunk {
    pub x: f64,
    pub y: f64,
    pub anchor: TextAnchor,
}

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 coordinate and/or have text-anchor.

Fields

An absolute position on the X-axis.

An absolute position on the Y-axis.

A text anchor/align.

Trait Implementations

impl Clone for TextChunk
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TextChunk
[src]

Auto Trait Implementations

impl Send for TextChunk

impl Sync for TextChunk