Type Alias Node
pub type Node = RCHandle<SkSVGNode>;
Aliased Type§
struct Node(/* private fields */);
Implementations
§impl RCHandle<SkSVGNode>
impl RCHandle<SkSVGNode>
pub fn tag(&self) -> SkSVGTag
pub fn typed(self) -> TypedNode
pub fn clip_rule(&self) -> Option<&SkSVGFillRule_Type>
pub fn set_clip_rule(&mut self, value: SkSVGFillRule_Type)
pub fn color_interpolation(&self) -> Option<&SkSVGColorspace>
pub fn set_color_interpolation(&mut self, value: SkSVGColorspace)
pub fn color_interpolation_filters(&self) -> Option<&SkSVGColorspace>
pub fn set_color_interpolation_filters(&mut self, value: SkSVGColorspace)
pub fn color(&self) -> Option<&Color>
pub fn set_color(&mut self, value: Color)
pub fn fill_rule(&self) -> Option<&SkSVGFillRule_Type>
pub fn set_fill_rule(&mut self, value: SkSVGFillRule_Type)
pub fn fill(&self) -> Option<&Handle<SkSVGPaint>>
pub fn set_fill(&mut self, value: Handle<SkSVGPaint>)
pub fn fill_opacity(&self) -> Option<f32>
pub fn set_fill_opacity(&mut self, value: f32)
pub fn font_family(&self) -> Option<&FontFamily>
pub fn set_font_family(&mut self, value: FontFamily)
pub fn font_size(&self) -> Option<&FontSize>
pub fn set_font_size(&mut self, value: FontSize)
pub fn font_style(&self) -> Option<&SkSVGFontStyle_Type>
pub fn set_font_style(&mut self, value: SkSVGFontStyle_Type)
pub fn font_weight(&self) -> Option<&SkSVGFontWeight_Type>
pub fn set_font_weight(&mut self, value: SkSVGFontWeight_Type)
pub fn stroke(&self) -> Option<&Handle<SkSVGPaint>>
pub fn set_stroke(&mut self, value: Handle<SkSVGPaint>)
pub fn stroke_line_cap(&self) -> Option<&SkSVGLineCap>
pub fn set_stroke_line_cap(&mut self, value: SkSVGLineCap)
pub fn stroke_line_join(&self) -> Option<&SkSVGLineJoin_Type>
pub fn set_stroke_line_join(&mut self, value: SkSVGLineJoin_Type)
pub fn stroke_miter_limit(&self) -> Option<f32>
pub fn set_stroke_miter_limit(&mut self, value: f32)
pub fn stroke_opacity(&self) -> Option<f32>
pub fn set_stroke_opacity(&mut self, value: f32)
pub fn stroke_width(&self) -> Option<&Length>
pub fn set_stroke_width(&mut self, value: Length)
pub fn text_anchor(&self) -> Option<&SkSVGTextAnchor_Type>
pub fn set_text_anchor(&mut self, value: SkSVGTextAnchor_Type)
pub fn visibility(&self) -> Option<&SkSVGVisibility_Type>
pub fn set_visibility(&mut self, value: SkSVGVisibility_Type)
pub fn clip_path(&self) -> Option<&Handle<SkSVGFuncIRI>>
pub fn set_clip_path(&mut self, value: Handle<SkSVGFuncIRI>)
pub fn display(&self) -> Option<&SkSVGDisplay>
pub fn set_display(&mut self, value: SkSVGDisplay)
pub fn mask(&self) -> Option<&Handle<SkSVGFuncIRI>>
pub fn set_mask(&mut self, value: Handle<SkSVGFuncIRI>)
pub fn filter(&self) -> Option<&Handle<SkSVGFuncIRI>>
pub fn set_filter(&mut self, value: Handle<SkSVGFuncIRI>)
pub fn opacity(&self) -> Option<f32>
pub fn set_opacity(&mut self, value: f32)
pub fn stop_color(&self) -> Option<&Handle<SkSVGColor>>
pub fn set_stop_color(&mut self, value: Handle<SkSVGColor>)
pub fn stop_opacity(&self) -> Option<f32>
pub fn set_stop_opacity(&mut self, value: f32)
pub fn flood_color(&self) -> Option<&Handle<SkSVGColor>>
pub fn set_flood_color(&mut self, value: Handle<SkSVGColor>)
pub fn flood_opacity(&self) -> Option<f32>
pub fn set_flood_opacity(&mut self, value: f32)
pub fn lighting_color(&self) -> Option<&Handle<SkSVGColor>>
pub fn set_lighting_color(&mut self, value: Handle<SkSVGColor>)
§impl<T> RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
impl<T> RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
pub fn as_base(&self) -> &RCHandle<<T as NodeSubtype>::Base>
pub fn as_base_mut(&mut self) -> &mut RCHandle<<T as NodeSubtype>::Base>
Trait Implementations
§impl<H> ConditionallySend for RCHandle<H>where
H: NativeRefCountedBase,
RCHandle<H>
is conditionally Send and can be sent to
another thread when its reference count is 1.
impl<H> ConditionallySend for RCHandle<H>where
H: NativeRefCountedBase,
RCHandle<H>
is conditionally Send and can be sent to
another thread when its reference count is 1.
§impl<N> Debug for RCHandle<N>where
N: NativeRefCounted,
RCHandle<N>: DebugAttributes,
impl<N> Debug for RCHandle<N>where
N: NativeRefCounted,
RCHandle<N>: DebugAttributes,
§impl DebugAttributes for RCHandle<SkSVGNode>
impl DebugAttributes for RCHandle<SkSVGNode>
§impl<T> Deref for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
impl<T> Deref for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
§impl<T> DerefMut for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
impl<T> DerefMut for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
§impl<N> Flattenable for RCHandle<N>where
N: NativeFlattenable + NativeRefCountedBase,
impl<N> Flattenable for RCHandle<N>where
N: NativeFlattenable + NativeRefCountedBase,
§impl<N> From<&RCHandle<N>> for RCHandle<N>where
N: NativeRefCounted,
A reference counted handle is cheap to clone, so we do support a conversion
from a reference to a ref counter to an owned handle.
impl<N> From<&RCHandle<N>> for RCHandle<N>where
N: NativeRefCounted,
A reference counted handle is cheap to clone, so we do support a conversion from a reference to a ref counter to an owned handle.