skia_
safe
0.81.0
Mask
Aliased type
Methods
height
mask_content_units
mask_units
set_height
set_mask_content_units
set_mask_units
set_width
set_x
set_y
width
x
y
Trait Implementations
DebugAttributes
Default
In skia_
safe::
svg
skia_safe
::
svg
Type Alias
Mask
Copy item path
Source
pub type Mask =
RCHandle
<SkSVGMask>;
Aliased Type
§
struct Mask(
/* private fields */
);
Implementations
§
Source
§
impl
Mask
Source
pub fn
x
(&self) -> &
Length
Source
pub fn
set_x
(&mut self, value:
Length
)
Source
pub fn
y
(&self) -> &
Length
Source
pub fn
set_y
(&mut self, value:
Length
)
Source
pub fn
width
(&self) -> &
Length
Source
pub fn
set_width
(&mut self, value:
Length
)
Source
pub fn
height
(&self) -> &
Length
Source
pub fn
set_height
(&mut self, value:
Length
)
Source
pub fn
mask_units
(&self) -> &
BoundingBoxUnits
Source
pub fn
set_mask_units
(&mut self, value:
BoundingBoxUnits
)
Source
pub fn
mask_content_units
(&self) -> &
BoundingBoxUnits
Source
pub fn
set_mask_content_units
(&mut self, value:
BoundingBoxUnits
)
Trait Implementations
§
Source
§
impl
DebugAttributes
for
Mask
Source
§
const
NAME
: &'static
str
= "Mask"
Source
§
fn
_dbg
(&self, builder: &mut
DebugStruct
<'_, '_>)
Source
§
impl
Default
for
Mask
Source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more