pub struct Text { /* fields omitted */ }
Expand description
Highlight this text in the plot by drawing a rectangle around it.
Text style. Default is TextStyle::Small
.
Text color. Default is Color32::TRANSPARENT
which means a color will be auto-assigned.
Anchor position of the text. Default is Align2::CENTER_CENTER
.
Name of this text.
This name will show up in the plot legend, if legends are turned on.
Multiple plot items may share the same name, in which case they will also share an entry in
the legend.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.