pub fn flat_color(&self) -> render::Rgba8 {
        match self {
            FillState::None                         => render::Rgba8([0, 0, 0, 255]),
            FillState::Color(color)                 => *color,
            FillState::Texture(_, _, _, _)          => render::Rgba8([0, 0, 0, 255]),
            FillState::LinearGradient(_, _, _, _)   => render::Rgba8([0, 0, 0, 255])
        }
    }
///
/// Returns the flat colour to use for this fill state
///
Returns the flat colour to use for this fill state
Returns the flat colour to use for this fill state
pub fn flat_color(&self) -> render::Rgba8 {
        match self {
            FillState::None                         => render::Rgba8([0, 0, 0, 255]),
            FillState::Color(color)                 => *color,
            FillState::Texture(_, _, _, _)          => render::Rgba8([0, 0, 0, 255]),
            FillState::LinearGradient(_, _, _, _)   => render::Rgba8([0, 0, 0, 255])
        }
    }
pub fn flat_color ( & self ) -> render :: Rgba8 { match self { FillState :: None => render :: Rgba8 ( [ 0 , 0 , 0 , 255 ] ) , FillState :: Color ( color ) => * color , FillState :: Texture ( _ , _ , _ , _ ) => render :: Rgba8 ( [ 0 , 0 , 0 , 255 ] ) , FillState :: LinearGradient ( _ , _ , _ , _ ) => render :: Rgba8 ( [ 0 , 0 , 0 , 255 ] ) } }
Returns the flat colour to use for this fill state
Returns the flat colour to use for this fill state
&self