Function conrod::text::line::selected_rects
[−]
[src]
pub fn selected_rects<'a, I, C>(lines_with_rects: I, cache: &'a GlyphCache<C>, font_size: FontSize, start: Index, end: Index) -> SelectedRects<'a, I, C> where I: Iterator<Item=(&'a str, Rect)>, C: CharacterCache
Produces an iterator yielding a Rect
for the selected range in each selected line in a block
of text.
The yielded Rect
s represent the selected range within each line of text.
Lines that do not contain any selected text will be skipped.