# InkPointerEventArgs

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

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

```rust
struct InkPointerEventArgs
```

Device-independent input; coordinates are in the canvas's local DIPs.
`handled` is shared through synchronous callback delivery.

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

## Members

- [`pointer_id`](#struct_field-pointer_id)
- [`device_type`](#struct_field-device_type)
- [`point`](#struct_field-point)
- [`is_barrel_button_pressed`](#struct_field-is_barrel_button_pressed)
- [`is_eraser`](#struct_field-is_eraser)
- [`is_right_button_pressed`](#struct_field-is_right_button_pressed)
- [`new`](#function-new)
- [`handled`](#function-handled)
- [`set_handled`](#function-set_handled)

<a id="struct_field-pointer_id"></a>

### pointer_id

```rust
pointer_id: i32
```



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

<a id="struct_field-device_type"></a>

### device_type

```rust
device_type: ferroui_base::input::PointerType
```



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

<a id="struct_field-point"></a>

### point

```rust
point: super::InkPoint
```



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

<a id="struct_field-is_barrel_button_pressed"></a>

### is_barrel_button_pressed

```rust
is_barrel_button_pressed: bool
```



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

<a id="struct_field-is_eraser"></a>

### is_eraser

```rust
is_eraser: bool
```



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

<a id="struct_field-is_right_button_pressed"></a>

### is_right_button_pressed

```rust
is_right_button_pressed: bool
```



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

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

### new

```rust
fn new(pointer_id: i32, device_type: PointerType, point: InkPoint) -> Self
```



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

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

### handled

```rust
fn handled(self: &Self) -> bool
```



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

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

### set_handled

```rust
fn set_handled(self: &Self, value: bool)
```



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`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/)
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`

## Availability

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