# PdfPoint

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

*** ** * ** ***


```
class PdfPoint
```

<br />

*** ** * ** ***

Represents a point in PDF coordinates, where `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#pageNum()` indicates a 0-indexed PDF page, and (`https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#x()`, `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#y()`) indicates a point in PDF points within the page, with the origin existing at the top left corner of the page.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#PdfPoint(kotlin.Int,android.graphics.PointF)(pageNum: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, pagePoint: https://developer.android.com/reference/android/graphics/PointF.html)` |
| `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#PdfPoint(kotlin.Int,kotlin.Float,kotlin.Float)(pageNum: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#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/PdfPoint#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#pageNum()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#x()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/PdfPoint#y()` |

## Public constructors

### PdfPoint

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

```
PdfPoint(pageNum: Int, pagePoint: PointF)
```

### PdfPoint

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

```
PdfPoint(pageNum: Int, x: Float, y: Float)
```

## Public functions

### equals

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

### hashCode

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

### toString

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

## Public properties

### pageNum

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

```
val pageNum: Int
```

### x

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

```
val x: Float
```

### y

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

```
val y: Float
```