# 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)

*** ** * ** ***


```
public final class PdfPoint
```

<br />

*** ** * ** ***

Represents a point in PDF coordinates, where `https://developer.android.com/reference/androidx/pdf/PdfPoint#pageNum()` indicates a 0-indexed PDF page, and (`https://developer.android.com/reference/androidx/pdf/PdfPoint#x()`, `https://developer.android.com/reference/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/androidx/pdf/PdfPoint#PdfPoint(kotlin.Int,android.graphics.PointF)(int pageNum, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/PointF.html pagePoint)` |
| `https://developer.android.com/reference/androidx/pdf/PdfPoint#PdfPoint(kotlin.Int,kotlin.Float,kotlin.Float)(int pageNum, float x, float y)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/pdf/PdfPoint#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final int` | `https://developer.android.com/reference/androidx/pdf/PdfPoint#getPageNum()()` |
| `final float` | `https://developer.android.com/reference/androidx/pdf/PdfPoint#getX()()` |
| `final float` | `https://developer.android.com/reference/androidx/pdf/PdfPoint#getY()()` |
| `int` | `https://developer.android.com/reference/androidx/pdf/PdfPoint#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/pdf/PdfPoint#toString()()` |

## Public constructors

### PdfPoint

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

```
public PdfPoint(int pageNum, @NonNull PointF pagePoint)
```

### PdfPoint

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

```
public PdfPoint(int pageNum, float x, float y)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### getPageNum

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

```
public final int getPageNum()
```

### getX

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

```
public final float getX()
```

### getY

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

```
public final float getY()
```

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```