skia_safe::svg

Type Alias Fill

Source
pub type Fill = Handle<SkSVGColor>;

Aliased Type§

struct Fill(/* private fields */);

Implementations§

Source§

impl Fill

Source

pub fn color(&self) -> Option<SkColor>

Source

pub fn kind(&self) -> ColorKind

Source

pub fn current_color() -> Self

Source

pub fn from_color(color: SkColor) -> Self

Trait Implementations§

Source§

impl Debug for Fill

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more