# BrushPaint.TilingTexture

Artifact: [androidx.ink:ink-brush](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/brush/BrushPaint.kt+class:androidx.ink.brush.BrushPaint.TilingTexture) Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

*** ** * ** ***

Common/AllAndroid/JVMNative/C/iOS
- Cmn

  ```
  class BrushPaint.TilingTexture : BrushPaint.TextureLayer
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.ink.brush.BrushPaint.TextureLayer](https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer) ||
|   | ↳ | [androidx.ink.brush.BrushPaint.TilingTexture](https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture) |

*** ** * ** ***

A texture layer that will repeat according to a 2D affine transformation of vertex positions. Each copy of the texture will have the same size and shape, modulo reflections.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture`. |
| `class https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Origin` Specification of the origin point to use for the texture. |

| ### Public companion functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#builder()()` Returns a new `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder`. | Cmn |

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#TilingTexture(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)( clientTextureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, sizeX: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, sizeY: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, offsetX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, offsetY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, rotationDegrees: @https://developer.android.com/reference/kotlin/androidx/ink/geometry/AngleDegreesFloat https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, sizeUnit: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.SizeUnit, origin: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Origin, wrapX: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap, wrapY: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap, blendMode: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.BlendMode )` Creates a new `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture` with the specified parameters. | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#copy(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)( clientTextureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, sizeX: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, sizeY: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, offsetX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, offsetY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, rotationDegrees: @https://developer.android.com/reference/kotlin/androidx/ink/geometry/AngleDegreesFloat https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, sizeUnit: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.SizeUnit, origin: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Origin, wrapX: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap, wrapY: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap, blendMode: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.BlendMode )` Creates a copy of `this` and allows named properties to be altered while keeping the rest unchanged. | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#hashCode()()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#toBuilder()()` Returns a `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder` with values set equivalent to `this`. | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#toString()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#clientTextureId()` The client texture ID for this texture layer. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#offsetX()` The horizontal offset for the texture, specified as a fraction of the texture width. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#offsetY()` The vertical offset for the texture, specified as a fraction of the texture height. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Origin` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#origin()` The origin that will be used for positioning this texture layer. | Cmn |
| `@https://developer.android.com/reference/kotlin/androidx/ink/geometry/AngleDegreesFloat https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#rotationDegrees()` Angle specifying the rotation of the texture. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.SizeUnit` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#sizeUnit()` The units in which this texture layer's width and height are measured. | Cmn |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#sizeX()` The width of the texture, specified in `sizeUnit`s. | Cmn |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#sizeY()` The height of the texture, specified in `sizeUnit`s. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#wrapX()` The horizontal wrapping mode for this texture layer. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#wrapY()` The vertical wrapping mode for this texture layer. | Cmn |

### Inherited functions

From [androidx.ink.brush.BrushPaint.TextureLayer](https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer) `https://developer.android.com/reference/kotlin/androidx/ink/brush/Version` `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer#calculateMinimumRequiredVersion()()`

Returns the minimum required `https://developer.android.com/reference/kotlin/androidx/ink/brush/Version` for this `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer`.
Cmn

### Inherited properties

From [androidx.ink.brush.BrushPaint.TextureLayer](https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer) `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.BlendMode` `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer#blendMode()`

The rule by which the texture layers up to and including this one are combined with the subsequent layer.
Cmn

## Public companion functions

### builder

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
fun builder(): BrushPaint.TilingTexture.Builder
```

Returns a new `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder`.

## Public constructors

### TilingTexture

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
TilingTexture(
    clientTextureId: String,
    sizeX: @FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) Float,
    sizeY: @FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) Float,
    offsetX: Float = 0.0f,
    offsetY: Float = 0.0f,
    rotationDegrees: @AngleDegreesFloat Float = 0.0f,
    sizeUnit: BrushPaint.TextureLayer.SizeUnit = SizeUnit.STROKE_COORDINATES,
    origin: BrushPaint.TilingTexture.Origin = Origin.STROKE_SPACE_ORIGIN,
    wrapX: BrushPaint.TextureLayer.Wrap = Wrap.REPEAT,
    wrapY: BrushPaint.TextureLayer.Wrap = Wrap.REPEAT,
    blendMode: BrushPaint.TextureLayer.BlendMode = BlendMode.MODULATE
)
```

Creates a new `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture` with the specified parameters.

Java callers should use the `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder` class instead.

| Parameters |
|---|---|
| `clientTextureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | A string identifier of an image that provides the color for a particular pixel for this layer. The coordinates within this image that will be used are determined by the other parameters. |
| `sizeX: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The X size in `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.SizeUnit` of the image specified by `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)`. |
| `sizeY: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The Y size in `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.SizeUnit` of the image specified by `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)`. |
| `offsetX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = 0.0f` | An offset into the texture, specified as fractions of the texture `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)`. |
| `offsetY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = 0.0f` | An offset into the texture, specified as fractions of the texture `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)`. |
| `rotationDegrees: @https://developer.android.com/reference/kotlin/androidx/ink/geometry/AngleDegreesFloat https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = 0.0f` | Angle in degrees specifying the rotation of the texture. The rotation is carried out about the center of the texture's first repetition along both axes. |
| `sizeUnit: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.SizeUnit = SizeUnit.STROKE_COORDINATES` | The units used to specify `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)` and `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)`. |
| `origin: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Origin = Origin.STROKE_SPACE_ORIGIN` | The origin point to be used for texture space. |
| `wrapX: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap = Wrap.REPEAT` | The wrap mode along the horizontal texture axis. |
| `wrapY: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.Wrap = Wrap.REPEAT` | The wrap mode along the vertical texture axis. |
| `blendMode: https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TextureLayer.BlendMode = BlendMode.MODULATE` | The method by which the texture layers up to this one (index \<= i) are combined with the subsequent texture layer (index == i+1). For the last texture layer, this defines the method by which the texture layer is combined with the brush color (possibly after that color gets per-vertex adjustments). |

## Public functions

### copy

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
fun copy(
    clientTextureId: String = this.clientTextureId,
    sizeX: @FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) Float = this.sizeX,
    sizeY: @FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) Float = this.sizeY,
    offsetX: Float = this.offsetX,
    offsetY: Float = this.offsetY,
    rotationDegrees: @AngleDegreesFloat Float = this.rotationDegrees,
    sizeUnit: BrushPaint.TextureLayer.SizeUnit = this.sizeUnit,
    origin: BrushPaint.TilingTexture.Origin = this.origin,
    wrapX: BrushPaint.TextureLayer.Wrap = this.wrapX,
    wrapY: BrushPaint.TextureLayer.Wrap = this.wrapY,
    blendMode: BrushPaint.TextureLayer.BlendMode = this.blendMode
): BrushPaint.TilingTexture
```

Creates a copy of `this` and allows named properties to be altered while keeping the rest unchanged.

Java callers should use `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder` instead.

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

### toBuilder

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
fun toBuilder(): BrushPaint.TilingTexture.Builder
```

Returns a `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture.Builder` with values set equivalent to `this`. Java developers, use the returned builder to build a copy of a `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture`. Kotlin developers, see `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushPaint.TilingTexture#copy(kotlin.String,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.ink.brush.BrushPaint.TextureLayer.SizeUnit,androidx.ink.brush.BrushPaint.TilingTexture.Origin,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.Wrap,androidx.ink.brush.BrushPaint.TextureLayer.BlendMode)` method.

### toString

Cmn

```
open fun toString(): String
```

## Public properties

### clientTextureId

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val clientTextureId: String
```

The client texture ID for this texture layer.

### offsetX

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val offsetX: Float
```

The horizontal offset for the texture, specified as a fraction of the texture width.

### offsetY

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val offsetY: Float
```

The vertical offset for the texture, specified as a fraction of the texture height.

### origin

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val origin: BrushPaint.TilingTexture.Origin
```

The origin that will be used for positioning this texture layer.

### rotationDegrees

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val rotationDegrees: @AngleDegreesFloat Float
```

Angle specifying the rotation of the texture. The rotation is carried out about the center of the texture's first repetition along both axes.

### sizeUnit

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val sizeUnit: BrushPaint.TextureLayer.SizeUnit
```

The units in which this texture layer's width and height are measured.

### sizeX

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val sizeX: @FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) Float
```

The width of the texture, specified in `sizeUnit`s.

### sizeY

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val sizeY: @FloatRange(from = 0.0, fromInclusive = false, toInclusive = false) Float
```

The height of the texture, specified in `sizeUnit`s.

### wrapX

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val wrapX: BrushPaint.TextureLayer.Wrap
```

The horizontal wrapping mode for this texture layer.

### wrapY

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val wrapY: BrushPaint.TextureLayer.Wrap
```

The vertical wrapping mode for this texture layer.