skia_safe::svg

Type Alias Line

Source
pub type Line = RCHandle<SkSVGLine>;

Aliased Type§

struct Line(/* private fields */);

Implementations§

Source§

impl Line

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 Line

Source§

const NAME: &'static str = "Line"

Source§

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

Source§

impl Default for Line

Source§

fn default() -> Self

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