# ImageDrawingProps

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

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

```rust
trait ImageDrawingProps: ElementBuilder
```

The properties and routed events of `ImageDrawing`.

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

## Members

- [`image_source`](#function-image_source)
- [`rect`](#function-rect)

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

### image_source

```rust
fn image_source<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IImage>>, M>) -> Self
```

Sets `ImageDrawing::image_source_property`.

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

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

### rect

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

Sets `ImageDrawing::rect_property`.

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

## Trait implementations

- [`ImageDrawingProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-imagedrawingprops/)

## Availability

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