skia_
safe
0.81.0
Path
Effect
Aliased type
Methods
compose
corner_path
dash
discrete
filter_path
filter_path_inplace
filter_path_inplace_with_matrix
line_2d
needs_ctm
path_1d
path_2d
sum
trim
Trait Implementations
Debug
Send
Sync
In skia_
safe::
path_
effect
skia_safe
::
path_effect
Type Alias
PathEffect
Copy item path
Source
pub type PathEffect =
RCHandle
<SkPathEffect>;
Aliased Type
§
struct PathEffect(
/* private fields */
);
Implementations
§
Source
§
impl
PathEffect
Source
pub fn
sum
( first: impl
Into
<
PathEffect
>, second: impl
Into
<
PathEffect
>, ) ->
PathEffect
Source
pub fn
compose
( first: impl
Into
<
PathEffect
>, second: impl
Into
<
PathEffect
>, ) ->
PathEffect
Source
pub fn
filter_path
( &self, src: &
Path
, stroke_rec: &
StrokeRec
, cull_rect: impl
AsRef
<
Rect
>, ) ->
Option
<(
Path
,
StrokeRec
)>
Source
pub fn
filter_path_inplace
( &self, dst: &mut
Path
, src: &
Path
, stroke_rec: &mut
StrokeRec
, cull_rect: impl
AsRef
<
Rect
>, ) ->
bool
Source
pub fn
filter_path_inplace_with_matrix
( &self, dst: &mut
Path
, src: &
Path
, stroke_rec: &mut
StrokeRec
, cull_rect: impl
AsRef
<
Rect
>, ctm: &
Matrix
, ) ->
bool
Source
pub fn
needs_ctm
(&self) ->
bool
Source
§
impl
PathEffect
Source
pub fn
path_1d
( path: &
Path
, advance:
scalar
, phase:
scalar
, style:
Style
, ) ->
Option
<
PathEffect
>
Source
§
impl
PathEffect
Source
pub fn
line_2d
(width:
scalar
, matrix: &
Matrix
) ->
Option
<
PathEffect
>
Source
pub fn
path_2d
(matrix: &
Matrix
, path: &
Path
) ->
PathEffect
Source
§
impl
PathEffect
Source
pub fn
corner_path
(radius:
scalar
) ->
Option
<Self>
Source
§
impl
PathEffect
Source
pub fn
dash
(intervals: &[
scalar
], phase:
scalar
) ->
Option
<Self>
Source
§
impl
PathEffect
Source
pub fn
discrete
( seg_length:
scalar
, dev:
scalar
, seed_assist: impl
Into
<
Option
<
u32
>>, ) ->
Option
<Self>
Source
§
impl
PathEffect
Source
pub fn
trim
( start_t:
scalar
, stop_t:
scalar
, mode: impl
Into
<
Option
<
Mode
>>, ) ->
Option
<
PathEffect
>
Trait Implementations
§
Source
§
impl
Debug
for
PathEffect
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Send
for
PathEffect
Source
§
impl
Sync
for
PathEffect