skia_
safe
0.81.0
Node
Aliased type
Methods
clip_path
clip_rule
color
color_interpolation
color_interpolation_filters
display
fill
fill_opacity
fill_rule
filter
flood_color
flood_opacity
font_family
font_size
font_style
font_weight
lighting_color
mask
opacity
set_clip_path
set_clip_rule
set_color
set_color_interpolation
set_color_interpolation_filters
set_display
set_fill
set_fill_opacity
set_fill_rule
set_filter
set_flood_color
set_flood_opacity
set_font_family
set_font_size
set_font_style
set_font_weight
set_lighting_color
set_mask
set_opacity
set_stop_color
set_stop_opacity
set_stroke
set_stroke_line_cap
set_stroke_line_join
set_stroke_miter_limit
set_stroke_opacity
set_stroke_width
set_text_anchor
set_visibility
stop_color
stop_opacity
stroke
stroke_line_cap
stroke_line_join
stroke_miter_limit
stroke_opacity
stroke_width
tag
text_anchor
typed
visibility
Trait Implementations
DebugAttributes
From<TypedNode>
In skia_
safe::
svg
skia_safe
::
svg
Type Alias
Node
Copy item path
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.