skia_safe::svg

Type Alias LinearGradient

Source
pub type LinearGradient = RCHandle<SkSVGLinearGradient>;

Aliased Type§

struct LinearGradient(/* private fields */);

Implementations§

Source§

impl Linear

Source

pub fn x1(&self) -> &Length

Source

pub fn set_x1(&mut self, value: Length)

Source

pub fn y1(&self) -> &Length

Source

pub fn set_y1(&mut self, value: Length)

Source

pub fn x2(&self) -> &Length

Source

pub fn set_x2(&mut self, value: Length)

Source

pub fn y2(&self) -> &Length

Source

pub fn set_y2(&mut self, value: Length)

Trait Implementations§

Source§

impl DebugAttributes for Linear

Source§

const NAME: &'static str = "LinearGradient"

Source§

fn _dbg(&self, builder: &mut DebugStruct<'_, '_>)

Source§

impl Default for Linear

Source§

fn default() -> Self

Returns the “default value” for a type. Read more