---
title: "TextGeometricTransform"
description: "Define a geometric transformation on text."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class TextGeometricTransform(val scaleX: Float = 1.0f, val skewX: Float = 0f)
```


Define a geometric transformation on text.

#### Parameters

| | |
| --- | --- |
| scaleX | The scale of the text on the horizontal direction. The default value is 1.0f, i.e no scaling. |
| skewX | The shear of the text on the horizontal direction. A pixel at (x, y), where y is the distance above baseline, will be transformed to (x + y * skewX, y). The default value is 0.0f i.e. no skewing. |



## Functions

```kotlin
fun copy(scaleX: Float = this.scaleX, skewX: Float = this.skewX): TextGeometricTransform
```

## Companion Object



