# InkStrokeInput

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-inking/struct-inkstrokeinput/

**struct** · [`ferroui-controls-inking`](/docs/0.5.0/api/ferroui-controls-inking/) · v0.5.0

```rust
struct InkStrokeInput
```

Stable presenter-owned input event service, with a weak back-pointer.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Inking/ink_input.rs#L175)

## Members

- [`ink_presenter`](#function-ink_presenter)
- [`stroke_started`](#function-stroke_started)
- [`stroke_continued`](#function-stroke_continued)
- [`stroke_ended`](#function-stroke_ended)
- [`stroke_canceled`](#function-stroke_canceled)

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

### ink_presenter

```rust
fn ink_presenter(self: &Self) -> Option<Rc<InkPresenter>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Inking/ink_input.rs#L193)

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

### stroke_started

```rust
fn stroke_started(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Inking/ink_input.rs#L196)

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

### stroke_continued

```rust
fn stroke_continued(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Inking/ink_input.rs#L202)

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

### stroke_ended

```rust
fn stroke_ended(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Inking/ink_input.rs#L208)

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

### stroke_canceled

```rust
fn stroke_canceled(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Inking/ink_input.rs#L214)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `IUnknownImpl`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- `PartialEq`

## Availability

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