PathPdfObject


public final class PathPdfObject implements PdfObject


Represents a path PDF object with a PDF document.

Summary

Nested types

public final class PathPdfObject.PathInput

Data model for a single coordinate in a PathPdfObject.

Public constructors

PathPdfObject(
    int brushColor,
    float brushWidth,
    @NonNull List<@NonNull PathPdfObject.PathInput> inputs
)

Public methods

boolean
equals(Object other)
final int

The color of the path.

final float

The width of the path's stroke.

final @NonNull List<@NonNull PathPdfObject.PathInput>

The list of coordinates and commands that define the path.

int

Public constructors

PathPdfObject

Added in 1.0.0-alpha19
public PathPdfObject(
    int brushColor,
    float brushWidth,
    @NonNull List<@NonNull PathPdfObject.PathInput> inputs
)

Public methods

equals

public boolean equals(Object other)

getBrushColor

Added in 1.0.0-alpha19
public final int getBrushColor()

The color of the path.

getBrushWidth

Added in 1.0.0-alpha19
public final float getBrushWidth()

The width of the path's stroke.

getInputs

Added in 1.0.0-alpha19
public final @NonNull List<@NonNull PathPdfObject.PathInputgetInputs()

The list of coordinates and commands that define the path.

hashCode

public int hashCode()