# CroppedBitmapProps

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

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

```rust
trait CroppedBitmapProps: ElementBuilder
```

The properties and routed events of `CroppedBitmap`.

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

## Members

- [`source`](#function-source)
- [`source_rect`](#function-source_rect)

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

### source

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

Sets `CroppedBitmap::source_property`.

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

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

### source_rect

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

Sets `CroppedBitmap::source_rect_property`.

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

## Trait implementations

- [`CroppedBitmapProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-croppedbitmapprops/)

## Availability

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