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, }
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
x: Option<NumberList>
A list of absolute positions along the X-axis.
y: Option<NumberList>
A list of absolute positions along the Y-axis.
dx: Option<NumberList>
A list of relative positions along the X-axis.
dy: Option<NumberList>
A list of relative positions along the Y-axis.
anchor: TextAnchor
A text anchor/align.