# ImagePdfObject

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/ImagePdfObject.kt+class:androidx.pdf.annotation.content.ImagePdfObject) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
@ExperimentalPdfApi
class ImagePdfObject : PdfObject
```

<br />

*** ** * ** ***

Represents an image object within a PDF document.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/ImagePdfObject#ImagePdfObject(android.graphics.Bitmap,android.graphics.RectF)(bitmap: https://developer.android.com/reference/android/graphics/Bitmap.html, bounds: https://developer.android.com/reference/android/graphics/RectF.html)` |

| ### 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/ImagePdfObject#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/ImagePdfObject#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/android/graphics/Bitmap.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/ImagePdfObject#bitmap()` The `https://developer.android.com/reference/android/graphics/Bitmap.html` data of the image. |
| `https://developer.android.com/reference/android/graphics/RectF.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/annotation/content/ImagePdfObject#bounds()` The rectangular boundaries of its position and size on the PDF page. |

## Public constructors

### ImagePdfObject

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

```
ImagePdfObject(bitmap: Bitmap, bounds: RectF)
```

## Public functions

### equals

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

### hashCode

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

## Public properties

### bitmap

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

```
val bitmap: Bitmap
```

The `https://developer.android.com/reference/android/graphics/Bitmap.html` data of the image.

### bounds

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

```
val bounds: RectF
```

The rectangular boundaries of its position and size on the PDF page.