<div class='sourceset sourceset-android'>Android</div>

```kotlin
value class Strategy internal constructor(internal val value: Int)
```

The strategy used for line breaking.

## Companion Object

#### Properties

<div class='sourceset sourceset-android'>Android</div>

```kotlin
val Simple: Strategy
```

Basic, fast break strategy. Hyphenation, if enabled, is done only for words that
don't fit on an entire line by themselves.
<pre>
+---------+
| This is |
| an      |
| example |
| text.   |
+---------+
</pre>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
val HighQuality: Strategy
```

Does whole paragraph optimization for more readable text, including hyphenation if
enabled.
<pre>
+---------+
| This    |
| is an   |
| example |
| text.   |
+---------+
</pre>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
val Balanced: Strategy
```

Attempts to balance the line lengths of the text, also applying automatic hyphenation
if enabled. Suitable for small screens.
<pre>
+-----------------------+
| This is an            |
| example text.         |
+-----------------------+
</pre>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
val Unspecified: Strategy
```

This represents an unset value, a usual replacement for "null" when a primitive value
is desired.