PathPdfObject


@ExperimentalPdfApi
class PathPdfObject : PdfObject


Represents a path PDF object with a PDF document.

Summary

Nested types

Data model for a single path operation and coordinate in a PathPdfObject.

Public constructors

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

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Int

The color of the path.

Float

The width of the path's stroke.

List<PathPdfObject.PathInput>

The list of coordinates and commands that define the path.

Public constructors

PathPdfObject

Added in 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
val brushColor: Int

The color of the path.

brushWidth

Added in 1.0.0-beta01
val brushWidth: Float

The width of the path's stroke.

inputs

Added in 1.0.0-beta01
val inputs: List<PathPdfObject.PathInput>

The list of coordinates and commands that define the path.