pub struct Spread(/* private fields */);
Expand description
Specifies how the area outside the gradient area should be filled.
C++ enum: QGradient::Spread
.
Implementations§
Source§impl Spread
impl Spread
Sourcepub const PadSpread: Spread
pub const PadSpread: Spread
The area is filled with the closest stop color. This is the default. (C++ enum variant: PadSpread = 0
)
Sourcepub const ReflectSpread: Spread
pub const ReflectSpread: Spread
The gradient is reflected outside the gradient area. (C++ enum variant: ReflectSpread = 1
)
Sourcepub const RepeatSpread: Spread
pub const RepeatSpread: Spread
The gradient is repeated outside the gradient area. (C++ enum variant: RepeatSpread = 2
)
Trait Implementations§
impl Copy for Spread
impl Eq for Spread
impl StructuralPartialEq for Spread
Auto Trait Implementations§
impl Freeze for Spread
impl RefUnwindSafe for Spread
impl Send for Spread
impl Sync for Spread
impl Unpin for Spread
impl UnwindSafe for Spread
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more