pub struct Outline { /* private fields */ }Implementations§
Source§impl Outline
impl Outline
pub fn width(&self) -> u32
pub fn get_width(&self) -> u32
👎Deprecated since 3.0.0:
Use width()
pub fn set_width(&mut self, value: u32) -> &mut Self
pub fn cap_type(&self) -> Option<&str>
pub fn get_cap_type(&self) -> Option<&str>
👎Deprecated since 3.0.0:
Use cap_type()
pub fn set_cap_type<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn compound_line_type(&self) -> Option<&str>
pub fn get_compound_line_type(&self) -> Option<&str>
👎Deprecated since 3.0.0:
Use compound_line_type()
pub fn set_compound_line_type<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn solid_fill(&self) -> Option<&SolidFill>
pub fn get_solid_fill(&self) -> Option<&SolidFill>
👎Deprecated since 3.0.0:
Use solid_fill()
pub fn solid_fill_mut(&mut self) -> Option<&mut SolidFill>
pub fn get_solid_fill_mut(&mut self) -> Option<&mut SolidFill>
👎Deprecated since 3.0.0:
Use solid_fill_mut()
pub fn set_solid_fill(&mut self, value: SolidFill) -> &mut Self
pub fn gradient_fill(&self) -> Option<&GradientFill>
pub fn get_gradient_fill(&self) -> Option<&GradientFill>
👎Deprecated since 3.0.0:
Use gradient_fill()
pub fn gradient_fill_mut(&mut self) -> Option<&mut GradientFill>
pub fn get_gradient_fill_mut(&mut self) -> Option<&mut GradientFill>
👎Deprecated since 3.0.0:
Use gradient_fill_mut()
pub fn set_gradient_fill(&mut self, value: GradientFill) -> &mut Self
pub fn tail_end(&self) -> Option<&TailEnd>
pub fn get_tail_end(&self) -> Option<&TailEnd>
👎Deprecated since 3.0.0:
Use tail_end()
pub fn tail_end_mut(&mut self) -> Option<&mut TailEnd>
pub fn get_tail_end_mut(&mut self) -> Option<&mut TailEnd>
👎Deprecated since 3.0.0:
Use tail_end_mut()
pub fn set_tail_end(&mut self, value: TailEnd) -> &mut Self
pub fn no_fill(&self) -> Option<&NoFill>
pub fn get_no_fill(&self) -> Option<&NoFill>
👎Deprecated since 3.0.0:
Use no_fill()
pub fn no_fill_mut(&mut self) -> Option<&mut NoFill>
pub fn get_no_fill_mut(&mut self) -> Option<&mut NoFill>
👎Deprecated since 3.0.0:
Use no_fill_mut()
pub fn set_no_fill(&mut self, value: NoFill) -> &mut Self
pub fn bevel(&self) -> Option<&Bevel>
pub fn get_bevel(&self) -> Option<&Bevel>
👎Deprecated since 3.0.0:
Use bevel()
pub fn bevel_mut(&mut self) -> Option<&mut Bevel>
pub fn get_bevel_mut(&mut self) -> Option<&mut Bevel>
👎Deprecated since 3.0.0:
Use bevel_mut()
pub fn set_bevel(&mut self, value: Bevel) -> &mut Self
pub fn preset_dash(&self) -> Option<&PresetDash>
pub fn get_preset_dash(&self) -> Option<&PresetDash>
👎Deprecated since 3.0.0:
Use preset_dash()
pub fn preset_dash_mut(&mut self) -> Option<&mut PresetDash>
pub fn get_preset_dash_mut(&mut self) -> Option<&mut PresetDash>
👎Deprecated since 3.0.0:
Use preset_dash_mut()
pub fn set_preset_dash(&mut self, value: PresetDash) -> &mut Self
pub fn miter(&self) -> Option<&Miter>
pub fn get_miter(&self) -> Option<&Miter>
👎Deprecated since 3.0.0:
Use miter()
pub fn miter_mut(&mut self) -> Option<&mut Miter>
pub fn get_miter_mut(&mut self) -> Option<&mut Miter>
👎Deprecated since 3.0.0:
Use miter_mut()
pub fn set_miter(&mut self, value: Miter) -> &mut Self
pub fn round(&self) -> Option<&Round>
pub fn get_round(&self) -> Option<&Round>
👎Deprecated since 3.0.0:
Use round()
pub fn round_mut(&mut self) -> Option<&mut Round>
pub fn get_round_mut(&mut self) -> Option<&mut Round>
👎Deprecated since 3.0.0:
Use round_mut()
pub fn set_round(&mut self, value: Round) -> &mut Self
pub fn alignment(&self) -> &PenAlignmentValues
pub fn get_alignment(&self) -> &PenAlignmentValues
👎Deprecated since 3.0.0:
Use alignment()
pub fn set_alignment(&mut self, value: PenAlignmentValues)
pub fn system_color(&self) -> Option<&SystemColor>
pub fn get_system_color(&self) -> Option<&SystemColor>
👎Deprecated since 3.0.0:
Use system_color()
pub fn system_color_mut(&mut self) -> Option<&mut SystemColor>
pub fn get_system_color_mut(&mut self) -> Option<&mut SystemColor>
👎Deprecated since 3.0.0:
Use system_color_mut()
pub fn set_system_color(&mut self, value: SystemColor)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Outline
impl RefUnwindSafe for Outline
impl Send for Outline
impl Sync for Outline
impl Unpin for Outline
impl UnsafeUnpin for Outline
impl UnwindSafe for Outline
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