FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IRadialGradientBrush

    trait · ferroui-base · v0.5.0

    trait IRadialGradientBrush: IGradientBrush
    

    Paints an area with a radial gradient.

    View source

    Members

    center

    fn center(self: &Self) -> RelativePoint
    

    The start point for the gradient.

    Source

    gradient_origin

    fn gradient_origin(self: &Self) -> RelativePoint
    

    The location of the two-dimensional focal point that defines the beginning of the gradient.

    Source

    radius_x

    fn radius_x(self: &Self) -> RelativeScalar
    

    The horizontal radius of the outermost circle of the radial gradient.

    Source

    radius_y

    fn radius_y(self: &Self) -> RelativeScalar
    

    The vertical radius of the outermost circle of the radial gradient.

    Source

    Trait implementations

    Availability

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