PathPdfObject.PathInput


class PathPdfObject.PathInput


Data model for a single coordinate in a PathPdfObject.

Summary

Constants

const Int

Draws a line from the previous point to the given coordinate.

const Int

Starts a new sub-path from the given coordinate.

Public constructors

PathInput(x: Float, y: Float, command: Int)

Public functions

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

Public properties

Int

The type of path operation (e.g., MOVE_TO or LINE_TO).

Float

The x-coordinate of the point.

Float

The y-coordinate of the point.

Constants

LINE_TO

const val LINE_TOInt

Draws a line from the previous point to the given coordinate.

MOVE_TO

const val MOVE_TOInt

Starts a new sub-path from the given coordinate.

Public constructors

PathInput

Added in 1.0.0-alpha19
PathInput(x: Float, y: Float, command: Int)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

command

Added in 1.0.0-alpha19
val commandInt

The type of path operation (e.g., MOVE_TO or LINE_TO).

x

Added in 1.0.0-alpha19
val xFloat

The x-coordinate of the point.

y

Added in 1.0.0-alpha19
val yFloat

The y-coordinate of the point.