FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionGradientStop

    struct · ferroui-base · v0.5.0

    struct CompositionGradientStop
    

    A gradient stop of the composition brushes, with animatable color and offset.

    View source

    Members

    compositor

    fn compositor(self: &Self) -> &Rc<Compositor>
    

    Source

    object

    fn object(self: &Self) -> &CompositionObject
    

    The embedded CompositionObject.

    Source

    color

    fn color(self: &Self) -> Color
    

    Source

    set_color

    fn set_color(self: &Self, value: Color)
    

    Source

    offset

    fn offset(self: &Self) -> f64
    

    Source

    set_offset

    fn set_offset(self: &Self, value: f64)
    

    Source

    implicit_animations

    fn implicit_animations(self: &Self) -> Option<Rc<ImplicitAnimationCollection>>
    

    The collection of implicit animations attached to this object.

    Source

    set_implicit_animations

    fn set_implicit_animations(self: &Self, value: Option<Rc<ImplicitAnimationCollection>>)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.