# InkToolbarCustomPenImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-inking/trait-inktoolbarcustompenimpl/

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

```rust
trait InkToolbarCustomPenImpl: FerroObjectImpl + $crate::Upcast<InkToolbarCustomPen>
```

The overridable members introduced by the class.

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

## Members

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

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

### create_ink_drawing_attributes_core

```rust
fn create_ink_drawing_attributes_core(this: &Self, brush: Option<Rc<dyn IBrush>>, stroke_width: f64) -> Result<InkDrawingAttributes, InkError>
```



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

## Trait implementations

- [`InkToolbarCustomPenImpl`](/docs/0.5.0/api/ferroui-controls-inking/trait-inktoolbarcustompenimpl/)

## Availability

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