# RadialGradientBrushProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-radialgradientbrushprops/

**trait** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
trait RadialGradientBrushProps: ElementBuilder
```

The properties and routed events of `RadialGradientBrush`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L6522)

## Members

- [`center`](#function-center)
- [`gradient_origin`](#function-gradient_origin)
- [`radius_x`](#function-radius_x)
- [`radius_y`](#function-radius_y)

<a id="function-center"></a>

### center

```rust
fn center<M>(self: Self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self
```

Sets `RadialGradientBrush::center_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L6524)

<a id="function-gradient_origin"></a>

### gradient_origin

```rust
fn gradient_origin<M>(self: Self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self
```

Sets `RadialGradientBrush::gradient_origin_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L6529)

<a id="function-radius_x"></a>

### radius_x

```rust
fn radius_x<M>(self: Self, value: impl IntoProp<ferroui_base::RelativeScalar, M>) -> Self
```

Sets `RadialGradientBrush::radius_x_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L6534)

<a id="function-radius_y"></a>

### radius_y

```rust
fn radius_y<M>(self: Self, value: impl IntoProp<ferroui_base::RelativeScalar, M>) -> Self
```

Sets `RadialGradientBrush::radius_y_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L6539)

## Trait implementations

- [`RadialGradientBrushProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-radialgradientbrushprops/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
