skia_safe::svg

Type Alias Mask

Source
pub type Mask = RCHandle<SkSVGMask>;

Aliased Type§

struct Mask(/* private fields */);

Implementations§

Source§

impl Mask

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 mask_units(&self) -> &BoundingBoxUnits

Source

pub fn set_mask_units(&mut self, value: BoundingBoxUnits)

Source

pub fn mask_content_units(&self) -> &BoundingBoxUnits

Source

pub fn set_mask_content_units(&mut self, value: BoundingBoxUnits)

Trait Implementations§

Source§

impl DebugAttributes for Mask

Source§

const NAME: &'static str = "Mask"

Source§

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

Source§

impl Default for Mask

Source§

fn default() -> Self

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