pub struct ActiveShape { /* private fields */ }
Implementations§
Source§impl ActiveShape
impl ActiveShape
pub fn new() -> ActiveShape
Sourcepub fn fill_color<C: Color>(self, fill_color: C) -> ActiveShape
pub fn fill_color<C: Color>(self, fill_color: C) -> ActiveShape
Sets the color filling the active shape’ interior.
Sourcepub fn opacity(self, opacity: f64) -> ActiveShape
pub fn opacity(self, opacity: f64) -> ActiveShape
Sets the opacity of the active shape. Number between or equal to 0 and 1.
Trait Implementations§
Source§impl Debug for ActiveShape
impl Debug for ActiveShape
Source§impl Default for ActiveShape
impl Default for ActiveShape
Source§fn default() -> ActiveShape
fn default() -> ActiveShape
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActiveShape
impl RefUnwindSafe for ActiveShape
impl Send for ActiveShape
impl Sync for ActiveShape
impl Unpin for ActiveShape
impl UnwindSafe for ActiveShape
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