# IRenderTargetBitmapRenderer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-interactions-custom/trait-irendertargetbitmaprenderer/

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

```rust
trait IRenderTargetBitmapRenderer
```

Provides a method used by `RenderTargetBitmapBehavior` to
draw onto a render target.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/render_target/contract/i_render_target_bitmap_renderer.rs#L9)

## Members

- [`render`](#function-render)

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

### render

```rust
fn render(self: &Self, context: &mut DrawingContext<'_>, elapsed: SignedDuration)
```

Draws into the provided `DrawingContext`: `context` is the drawing context to use,
`elapsed` the elapsed time since the behavior was attached.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/render_target/contract/i_render_target_bitmap_renderer.rs#L12)

## Availability

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