Struct plotpy::SuperTitleParams
source · pub struct SuperTitleParams { /* private fields */ }
Expand description
Holds parameters for the SuperTitle
Implementations§
source§impl SuperTitleParams
impl SuperTitleParams
sourcepub fn set_x(&mut self, value: f64) -> &mut Self
pub fn set_x(&mut self, value: f64) -> &mut Self
Sets the x location of the text in figure coordinates (default = 0.5)
sourcepub fn set_y(&mut self, value: f64) -> &mut Self
pub fn set_y(&mut self, value: f64) -> &mut Self
Sets the y location of the text in figure coordinates (default = 0.98)
sourcepub fn set_align_horizontal(&mut self, value: &str) -> &mut Self
pub fn set_align_horizontal(&mut self, value: &str) -> &mut Self
Sets the horizontal alignment of the text relative to (x, y) (default = “center”)
Options: “center”, “left”, “right”
sourcepub fn set_align_vertical(&mut self, value: &str) -> &mut Self
pub fn set_align_vertical(&mut self, value: &str) -> &mut Self
Sets the vertical alignment of the text relative to (x, y) (default = “top”)
Options: “top”, “center”, “bottom”, “baseline”
sourcepub fn set_fontsize(&mut self, value: f64) -> &mut Self
pub fn set_fontsize(&mut self, value: f64) -> &mut Self
Sets the font size of the text
sourcepub fn set_fontweight(&mut self, value: f64) -> &mut Self
pub fn set_fontweight(&mut self, value: f64) -> &mut Self
Sets the font weight of the text
Auto Trait Implementations§
impl Freeze for SuperTitleParams
impl RefUnwindSafe for SuperTitleParams
impl Send for SuperTitleParams
impl Sync for SuperTitleParams
impl Unpin for SuperTitleParams
impl UnwindSafe for SuperTitleParams
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