skia_safe::svg

Type Alias Node

Source
pub type Node = RCHandle<SkSVGNode>;

Aliased Type§

struct Node(/* private fields */);

Implementations§

Source§

impl Node

Source

pub fn tag(&self) -> NodeTag

Source

pub fn typed(self) -> TypedNode

Source

pub fn clip_rule(&self) -> Option<&FillRule>

Source

pub fn set_clip_rule(&mut self, value: FillRule)

Source

pub fn color_interpolation(&self) -> Option<&ColorSpace>

Source

pub fn set_color_interpolation(&mut self, value: ColorSpace)

Source

pub fn color_interpolation_filters(&self) -> Option<&ColorSpace>

Source

pub fn set_color_interpolation_filters(&mut self, value: ColorSpace)

Source

pub fn color(&self) -> Option<&Color>

Source

pub fn set_color(&mut self, value: Color)

Source

pub fn fill_rule(&self) -> Option<&FillRule>

Source

pub fn set_fill_rule(&mut self, value: FillRule)

Source

pub fn fill(&self) -> Option<&Paint>

Source

pub fn set_fill(&mut self, value: Paint)

Source

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

Source

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

Source

pub fn font_family(&self) -> Option<&FontFamily>

Source

pub fn set_font_family(&mut self, value: FontFamily)

Source

pub fn font_size(&self) -> Option<&FontSize>

Source

pub fn set_font_size(&mut self, value: FontSize)

Source

pub fn font_style(&self) -> Option<&FontStyle>

Source

pub fn set_font_style(&mut self, value: FontStyle)

Source

pub fn font_weight(&self) -> Option<&FontWeight>

Source

pub fn set_font_weight(&mut self, value: FontWeight)

Source

pub fn stroke(&self) -> Option<&Paint>

Source

pub fn set_stroke(&mut self, value: Paint)

Source

pub fn stroke_line_cap(&self) -> Option<&LineCap>

Source

pub fn set_stroke_line_cap(&mut self, value: LineCap)

Source

pub fn stroke_line_join(&self) -> Option<&LineJoin>

Source

pub fn set_stroke_line_join(&mut self, value: LineJoin)

Source

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

Source

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

Source

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

Source

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

Source

pub fn stroke_width(&self) -> Option<&Length>

Source

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

Source

pub fn text_anchor(&self) -> Option<&TextAnchor>

Source

pub fn set_text_anchor(&mut self, value: TextAnchor)

Source

pub fn visibility(&self) -> Option<&Visibility>

Source

pub fn set_visibility(&mut self, value: Visibility)

Source

pub fn clip_path(&self) -> Option<&IriFunc>

Source

pub fn set_clip_path(&mut self, value: IriFunc)

Source

pub fn display(&self) -> Option<&Display>

Source

pub fn set_display(&mut self, value: Display)

Source

pub fn mask(&self) -> Option<&IriFunc>

Source

pub fn set_mask(&mut self, value: IriFunc)

Source

pub fn filter(&self) -> Option<&IriFunc>

Source

pub fn set_filter(&mut self, value: IriFunc)

Source

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

Source

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

Source

pub fn stop_color(&self) -> Option<&Fill>

Source

pub fn set_stop_color(&mut self, value: Fill)

Source

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

Source

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

Source

pub fn flood_color(&self) -> Option<&Fill>

Source

pub fn set_flood_color(&mut self, value: Fill)

Source

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

Source

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

Source

pub fn lighting_color(&self) -> Option<&Fill>

Source

pub fn set_lighting_color(&mut self, value: Fill)

Trait Implementations§

Source§

impl DebugAttributes for Node

Source§

const NAME: &'static str = "Node"

Source§

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

Source§

impl From<TypedNode> for Node

Source§

fn from(value: TypedNode) -> Self

Converts to this type from the input type.