pub struct Insidetextfont<'a> { /* private fields */ }
Expand description
Sets the font used for textinfo
lying inside the sector.
Implementations§
Source§impl<'a> Insidetextfont<'a>
impl<'a> Insidetextfont<'a>
Sourcepub fn family(&mut self, family: &'a str) -> &mut Self
pub fn family(&mut self, family: &'a str) -> &mut Self
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren’t available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include Arial, Balto, Courier New, Droid Sans,, Droid Serif, Droid Sans Mono, Gravitas One, Old Standard TT, Open Sans, Overpass, PT Sans Narrow, Raleway, Times New Roman.
pub fn size(&mut self, size: f64) -> &mut Self
pub fn color(&mut self, color: &'a str) -> &mut Self
Trait Implementations§
Source§impl<'a> Default for Insidetextfont<'a>
impl<'a> Default for Insidetextfont<'a>
Source§fn default() -> Insidetextfont<'a>
fn default() -> Insidetextfont<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for Insidetextfont<'a>
impl<'a> RefUnwindSafe for Insidetextfont<'a>
impl<'a> Send for Insidetextfont<'a>
impl<'a> Sync for Insidetextfont<'a>
impl<'a> Unpin for Insidetextfont<'a>
impl<'a> UnwindSafe for Insidetextfont<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more