MCPcopy Create free account
hub / github.com/cpmech/plotpy / set_align_horizontal

Method set_align_horizontal

src/text.rs:141–144  ·  view source on GitHub ↗

Sets the horizontal alignment Options: "center", "left", "right"

(&mut self, option: &str)

Source from the content-addressed store, hash-verified

139 ///
140 /// Options: "center", "left", "right"
141 pub fn set_align_horizontal(&mut self, option: &str) -> &mut Self {
142 self.align_horizontal = String::from(option);
143 self
144 }
145
146 /// Sets the vertical alignment
147 ///

Callers 7

options_worksFunction · 0.45
super_title_worksFunction · 0.45
test_inset_axes_4Function · 0.45
test_textFunction · 0.45
test_text_3dFunction · 0.45
test_plot_tick_labelsFunction · 0.45

Calls

no outgoing calls

Tested by 7

options_worksFunction · 0.36
super_title_worksFunction · 0.36
test_inset_axes_4Function · 0.36
test_textFunction · 0.36
test_text_3dFunction · 0.36
test_plot_tick_labelsFunction · 0.36