pub struct ResolvedRadialGradient {
pub focal_point: Point,
pub center: Point,
pub radius: f64,
}Expand description
Runtime geometry shared by radial color fills and painted alpha masks. Coordinates are local logical pixels, before the element’s affine transform.
Fields§
§focal_point: PointPoint corresponding to the 0% stop.
center: PointCenter of the circle corresponding to the 100% stop.
radius: f64Radius of the 100% circle in local logical pixels.
Trait Implementations§
Source§impl Clone for ResolvedRadialGradient
impl Clone for ResolvedRadialGradient
Source§fn clone(&self) -> ResolvedRadialGradient
fn clone(&self) -> ResolvedRadialGradient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResolvedRadialGradient
Source§impl Debug for ResolvedRadialGradient
impl Debug for ResolvedRadialGradient
Source§impl PartialEq for ResolvedRadialGradient
impl PartialEq for ResolvedRadialGradient
impl StructuralPartialEq for ResolvedRadialGradient
Auto Trait Implementations§
impl Freeze for ResolvedRadialGradient
impl RefUnwindSafe for ResolvedRadialGradient
impl Send for ResolvedRadialGradient
impl Sync for ResolvedRadialGradient
impl Unpin for ResolvedRadialGradient
impl UnsafeUnpin for ResolvedRadialGradient
impl UnwindSafe for ResolvedRadialGradient
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.