skia_
safe
0.81.0
Gradient
Aliased type
Methods
gradient_transform
gradient_units
href
set_gradient_transform
set_gradient_units
set_href
set_spread_method
spread_method
Trait Implementations
DebugAttributes
In skia_
safe::
svg
skia_safe
::
svg
Type Alias
Gradient
Copy item path
Source
pub type Gradient =
RCHandle
<SkSVGGradient>;
Aliased Type
§
struct Gradient(
/* private fields */
);
Implementations
§
Source
§
impl
Gradient
Source
pub fn
href
(&self) -> &
Iri
Source
pub fn
set_href
(&mut self, value:
Iri
)
Source
pub fn
gradient_transform
(&self) -> &
Matrix
Source
pub fn
set_gradient_transform
(&mut self, value:
Matrix
)
Source
pub fn
spread_method
(&self) -> &
SpreadMethod
Source
pub fn
set_spread_method
(&mut self, value:
SpreadMethod
)
Source
pub fn
gradient_units
(&self) -> &
BoundingBoxUnits
Source
pub fn
set_gradient_units
(&mut self, value:
BoundingBoxUnits
)
Trait Implementations
§
Source
§
impl
DebugAttributes
for
Gradient
Source
§
const
NAME
: &'static
str
= "Gradient"
Source
§
fn
_dbg
(&self, builder: &mut
DebugStruct
<'_, '_>)