# RectangleGeometryProps

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

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

```rust
trait RectangleGeometryProps: ElementBuilder
```

The properties and routed events of `RectangleGeometry`.

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

## Members

- [`radius_x`](#function-radius_x)
- [`radius_y`](#function-radius_y)
- [`rect`](#function-rect)

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

### radius_x

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

Sets `RectangleGeometry::radius_x_property`.

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

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

### radius_y

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

Sets `RectangleGeometry::radius_y_property`.

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

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

### rect

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

Sets `RectangleGeometry::rect_property`.

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

## Trait implementations

- [`RectangleGeometryProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-rectanglegeometryprops/)

## Availability

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