skia_safe::svg

Type Alias Image

Source
pub type Image = RCHandle<SkSVGImage>;

Aliased Type§

struct Image(/* private fields */);

Implementations§

Source§

impl Image

Source

pub fn x(&self) -> &Length

Source

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

Source

pub fn y(&self) -> &Length

Source

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

Source

pub fn width(&self) -> &Length

Source

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

Source

pub fn height(&self) -> &Length

Source

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

Source

pub fn href(&self) -> &Iri

Source

pub fn set_href(&mut self, value: Iri)

Source

pub fn preserve_aspect_ratio(&self) -> &PreserveAspectRatio

Source

pub fn set_preserve_aspect_ratio(&mut self, value: PreserveAspectRatio)

Trait Implementations§

Source§

impl DebugAttributes for Image

Source§

const NAME: &'static str = "Image"

Source§

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

Source§

impl Default for Image

Source§

fn default() -> Self

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