skia_safe::svg::fe

Type Alias SpotLight

Source
pub type SpotLight = RCHandle<SkSVGFeSpotLight>;

Aliased Type§

struct SpotLight(/* private fields */);

Implementations§

Source§

impl SpotLight

Source

pub fn x(&self) -> scalar

Source

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

Source

pub fn y(&self) -> scalar

Source

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

Source

pub fn z(&self) -> scalar

Source

pub fn set_z(&mut self, value: scalar)

Source

pub fn points_at_x(&self) -> scalar

Source

pub fn set_points_at_x(&mut self, value: scalar)

Source

pub fn points_at_y(&self) -> scalar

Source

pub fn set_points_at_y(&mut self, value: scalar)

Source

pub fn points_at_z(&self) -> scalar

Source

pub fn set_points_at_z(&mut self, value: scalar)

Source

pub fn specular_exponent(&self) -> scalar

Source

pub fn set_specular_exponent(&mut self, value: scalar)

Source

pub fn limiting_cone_angle(&self) -> Option<scalar>

Source

pub fn set_limiting_cone_angle(&mut self, value: scalar)

Trait Implementations§

Source§

impl DebugAttributes for SpotLight

Source§

const NAME: &'static str = "FeSpotLight"

Source§

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

Source§

impl Default for SpotLight

Source§

fn default() -> Self

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