☰
PathEffect
Methods
as_a_dash
compose
corner_path
dash
discrete
filter_path
filter_path_inplace
filter_path_inplace_with_matrix
line_2d
matrix
matrix_translate
merge
needs_ctm
path_1d
path_2d
stroke
sum
trim
Trait Implementations
Debug
Send
Sync
In skia_safe
?
Type Definition
skia_safe
::
PathEffect
source
·
[
−
]
pub type PathEffect =
RCHandle
<
SkPathEffect
>;
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
as_a_dash
(&self) ->
Option
<
DashInfo
>
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
merge
( one: impl
Into
<
PathEffect
>, two: impl
Into
<
PathEffect
>, op:
PathOp
) ->
PathEffect
source
§
impl
PathEffect
source
pub fn
matrix_translate
(d: impl
Into
<
Vector
>) ->
Option
<
PathEffect
>
source
pub fn
matrix
(matrix: &
Matrix
) ->
Option
<
PathEffect
>
source
§
impl
PathEffect
source
pub fn
stroke
( width:
scalar
, join:
Join
, cap:
Cap
, miter: impl
Into
<
Option
<
scalar
>> ) ->
Option
<
PathEffect
>
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