# DrawingImageProps

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

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

```rust
trait DrawingImageProps: ElementBuilder
```

The properties and routed events of `DrawingImage`.

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

## Members

- [`drawing`](#function-drawing)
- [`viewbox`](#function-viewbox)

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

### drawing

```rust
fn drawing<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Drawing>>, M>) -> Self
```

Sets `DrawingImage::drawing_property`.

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

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

### viewbox

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

Sets `DrawingImage::viewbox_property`.

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

## Trait implementations

- [`DrawingImageProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-drawingimageprops/)

## Availability

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