# InkPresenterProtractor

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

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

```rust
struct InkPresenterProtractor
```

A movable circular guide with a measured arc readout. The transform uses
the bounding circle's top-left corner; its local center is `(radius,radius)`.

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

## Members

- [`kind`](#function-kind)
- [`is_visible`](#function-is_visible)
- [`set_is_visible`](#function-set_is_visible)
- [`transform`](#function-transform)
- [`set_transform`](#function-set_transform)
- [`radius`](#function-radius)
- [`set_radius`](#function-set_radius)
- [`is_center_marker_visible`](#function-is_center_marker_visible)
- [`set_is_center_marker_visible`](#function-set_is_center_marker_visible)
- [`is_angle_readout_visible`](#function-is_angle_readout_visible)
- [`set_is_angle_readout_visible`](#function-set_is_angle_readout_visible)
- [`are_angle_readouts_visible`](#function-are_angle_readouts_visible)
- [`set_are_angle_readouts_visible`](#function-set_are_angle_readouts_visible)
- [`are_tick_marks_visible`](#function-are_tick_marks_visible)
- [`set_are_tick_marks_visible`](#function-set_are_tick_marks_visible)
- [`are_rays_visible`](#function-are_rays_visible)
- [`set_are_rays_visible`](#function-set_are_rays_visible)
- [`is_resizable`](#function-is_resizable)
- [`set_is_resizable`](#function-set_is_resizable)
- [`background_color`](#function-background_color)
- [`set_background_color`](#function-set_background_color)
- [`foreground_color`](#function-foreground_color)
- [`set_foreground_color`](#function-set_foreground_color)
- [`accent_color`](#function-accent_color)
- [`set_accent_color`](#function-set_accent_color)
- [`angle`](#function-angle)

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

### kind

```rust
fn kind(self: &Self) -> InkPresenterStencilKind
```



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

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

### is_visible

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



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

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

### set_is_visible

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



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

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

### transform

```rust
fn transform(self: &Self) -> Matrix
```



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

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

### set_transform

```rust
fn set_transform(self: &Self, value: Matrix) -> Result<(), InkError>
```



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

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

### radius

```rust
fn radius(self: &Self) -> f64
```



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

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

### set_radius

```rust
fn set_radius(self: &Self, value: f64) -> Result<(), InkError>
```



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

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

### is_center_marker_visible

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



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

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

### set_is_center_marker_visible

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



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

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

### is_angle_readout_visible

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



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

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

### set_is_angle_readout_visible

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



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

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

### are_angle_readouts_visible

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

Compatibility spelling for the original portable API.

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

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

### set_are_angle_readouts_visible

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



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

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

### are_tick_marks_visible

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



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

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

### set_are_tick_marks_visible

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



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

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

### are_rays_visible

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



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

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

### set_are_rays_visible

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



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

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

### is_resizable

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



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

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

### set_is_resizable

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



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

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

### background_color

```rust
fn background_color(self: &Self) -> Color
```



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

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

### set_background_color

```rust
fn set_background_color(self: &Self, value: Color)
```



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

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

### foreground_color

```rust
fn foreground_color(self: &Self) -> Color
```



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

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

### set_foreground_color

```rust
fn set_foreground_color(self: &Self, value: Color)
```



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

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

### accent_color

```rust
fn accent_color(self: &Self) -> Color
```



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

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

### set_accent_color

```rust
fn set_accent_color(self: &Self, value: Color)
```



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

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

### angle

```rust
fn angle(self: &Self) -> Option<f64>
```

The absolute swept angle of the latest snapped arc, in degrees.

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

## 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/)
- [`IInkPresenterStencil`](/docs/0.5.0/api/ferroui-controls-inking/trait-iinkpresenterstencil/)
- `PartialEq`

## Availability

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