pub struct RGBAColor(_, _, _, _);Available on crate feature
plot only.Expand description
The RGBA representation of the color, Plotters use RGBA as the internal representation of color
Trait Implementations
sourceimpl BackendStyle for RGBAColor
impl BackendStyle for RGBAColor
fn stroke_width(&self) -> u32
fn stroke_width(&self) -> u32
Get the stroke width of current style
sourceimpl Color for RGBAColor
impl Color for RGBAColor
sourcefn to_backend_color(&self) -> BackendColor
fn to_backend_color(&self) -> BackendColor
Normalize this color representation to the backend color
sourcefn to_rgba(&self) -> RGBAColor
fn to_rgba(&self) -> RGBAColor
Convert the color into the RGBA color which is internally used by Plotters
sourcefn filled(&self) -> ShapeStyle
fn filled(&self) -> ShapeStyle
Make a filled style form the color
sourcefn stroke_width(&self, width: u32) -> ShapeStyle
fn stroke_width(&self, width: u32) -> ShapeStyle
Make a shape style with stroke width from a color
impl Copy for RGBAColor
impl StructuralPartialEq for RGBAColor
Auto Trait Implementations
impl RefUnwindSafe for RGBAColor
impl Send for RGBAColor
impl Sync for RGBAColor
impl Unpin for RGBAColor
impl UnwindSafe for RGBAColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more