# PathPdfObject

Artifact: [androidx.pdf:pdf-core](https://developer.android.com/jetpack/androidx/releases/pdf) [View Source](https://cs.android.com/search?q=file:androidx/pdf/annotation/content/PathPdfObject.kt+class:androidx.pdf.annotation.content.PathPdfObject) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
@ExperimentalPdfApi
class PathPdfObject : PdfObject
```

<br />

*** ** * ** ***

Represents a path PDF object with a PDF document.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject.PathInput` Data model for a single path operation and coordinate in a `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject#PathPdfObject(kotlin.Int,kotlin.Float,kotlin.collections.List)( brushColor: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, brushWidth: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, inputs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject.PathInput> )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject#hashCode()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject#brushColor()` The color of the path. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject#brushWidth()` The width of the path's stroke. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject.PathInput>` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/PathPdfObject#inputs()` The list of coordinates and commands that define the path. |

## Public constructors

### PathPdfObject

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
PathPdfObject(
    brushColor: Int,
    brushWidth: Float,
    inputs: List<PathPdfObject.PathInput>
)
```

## Public functions

### equals

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

### hashCode

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

## Public properties

### brushColor

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val brushColor: Int
```

The color of the path.

### brushWidth

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val brushWidth: Float
```

The width of the path's stroke.

### inputs

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val inputs: List<PathPdfObject.PathInput>
```

The list of coordinates and commands that define the path.