Struct hvif::style::Gradient [−][src]
pub struct Gradient {
pub type_: GradientType,
pub flags: GradientFlags,
pub stops: Vec<Stop>,
pub transform: Option<Transform>,
}
Expand description
A gradient.
Fields
type_: GradientType
The type of this gradient.
flags: GradientFlags
The flags of this gradient.
stops: Vec<Stop>
Contains up to 255 different stops in this gradient.
transform: Option<Transform>
An optional 3×2 transformation matrix applied to this gradient.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Gradient
impl UnwindSafe for Gradient
Blanket Implementations
Mutably borrows from an owned value. Read more