# IPretextTextShaper

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-pretext-contracts/trait-ipretexttextshaper/

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

```rust
trait IPretextTextShaper
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Contracts/text_shaping_contracts.rs#L100)

## Members

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

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

### shape_text

```rust
fn shape_text(self: &Self, text: &str, options: PretextShapeOptions) -> Result<PretextShapedRun, PretextError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Contracts/text_shaping_contracts.rs#L101)

## Availability

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