# IConicGradientBrush

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/media/trait-iconicgradientbrush/

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

```rust
trait IConicGradientBrush: IGradientBrush
```

Paints an area with a conic gradient.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/i_conic_gradient_brush.rs#L5)

## Members

- [`center`](#function-center)
- [`angle`](#function-angle)

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

### center

```rust
fn center(self: &Self) -> RelativePoint
```

The center point for the gradient.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/i_conic_gradient_brush.rs#L7)

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

### angle

```rust
fn angle(self: &Self) -> f64
```

The starting angle for the gradient in degrees, measured from the
point above the center point.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/i_conic_gradient_brush.rs#L11)

## Trait implementations

- [`IConicGradientBrush`](/docs/0.5.0/api/ferroui-base/media/trait-iconicgradientbrush/)

## Availability

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