PathPdfObject


class PathPdfObject : PdfObject


Represents a path PDF object with a PDF document.

Summary

Nested types

Data model for a single 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-alpha19
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-alpha19
val brushColorInt

The color of the path.

brushWidth

Added in 1.0.0-alpha19
val brushWidthFloat

The width of the path's stroke.

inputs

Added in 1.0.0-alpha19
val inputsList<PathPdfObject.PathInput>

The list of coordinates and commands that define the path.