# TileBrushProps

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

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

```rust
trait TileBrushProps: ElementBuilder
```

The properties and routed events of `TileBrush`.

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

## Members

- [`alignment_x`](#function-alignment_x)
- [`alignment_y`](#function-alignment_y)
- [`destination_rect`](#function-destination_rect)
- [`source_rect`](#function-source_rect)
- [`stretch`](#function-stretch)
- [`tile_mode`](#function-tile_mode)

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

### alignment_x

```rust
fn alignment_x<M>(self: Self, value: impl IntoProp<ferroui_base::media::AlignmentX, M>) -> Self
```

Sets `TileBrush::alignment_x_property`.

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

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

### alignment_y

```rust
fn alignment_y<M>(self: Self, value: impl IntoProp<ferroui_base::media::AlignmentY, M>) -> Self
```

Sets `TileBrush::alignment_y_property`.

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

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

### destination_rect

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

Sets `TileBrush::destination_rect_property`.

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

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

### source_rect

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

Sets `TileBrush::source_rect_property`.

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

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

### stretch

```rust
fn stretch<M>(self: Self, value: impl IntoProp<ferroui_base::media::Stretch, M>) -> Self
```

Sets `TileBrush::stretch_property`.

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

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

### tile_mode

```rust
fn tile_mode<M>(self: Self, value: impl IntoProp<ferroui_base::media::TileMode, M>) -> Self
```

Sets `TileBrush::tile_mode_property`.

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

## Trait implementations

- [`TileBrushProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-tilebrushprops/)

## Availability

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