skia_
safe
0.81.0
Paint
Aliased type
Methods
color
current_color
from_color
is_color
is_current_color
is_none
none
Trait Implementations
Debug
In skia_
safe::
svg
skia_safe
::
svg
Type Alias
Paint
Copy item path
Source
pub type Paint =
Handle
<SkSVGPaint>;
Aliased Type
§
struct Paint(
/* private fields */
);
Implementations
§
Source
§
impl
Paint
Source
pub fn
color
(&self) ->
Option
<
Color
>
Source
pub fn
is_current_color
(&self) ->
bool
Source
pub fn
is_color
(&self) ->
bool
Source
pub fn
is_none
(&self) ->
bool
Source
pub fn
from_color
(color:
Color
) -> Self
Source
pub fn
current_color
() -> Self
Source
pub fn
none
() -> Self
Trait Implementations
§
Source
§
impl
Debug
for
Paint
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more