Struct piet_svg::TextLayout [−][src]
pub struct TextLayout;
Expand description
SVG text layout (unimplemented)
Trait Implementations
The width of this layout, including the width of any trailing whitespace. Read more
Returns a Rect
representing the bounding box of the glyphs in this layout,
relative to the top-left of the layout object. Read more
Given a line number, return a reference to that line’s underlying string. Read more
Given a line number, return a reference to that line’s metrics, if the line exists. Read more
Returns total number of lines in the text layout. Read more
Given a Point
, return a HitTestPoint
describing the corresponding
text position. Read more
Given a grapheme boundary in the string used to create this TextLayout
,
return a HitTestPosition
object describing the location of that boundary
within the layout. Read more
Returns a vector of Rect
s that cover the region of the text indicated
by range
. Read more
Auto Trait Implementations
impl RefUnwindSafe for TextLayout
impl Send for TextLayout
impl Sync for TextLayout
impl Unpin for TextLayout
impl UnwindSafe for TextLayout
Blanket Implementations
Mutably borrows from an owned value. Read more
Performs the conversion.
Performs the conversion.