StrokeExtentsResult

data class StrokeExtentsResult(x1: Double, y1: Double, x2: Double, y2: Double)

Provides the result of the strokeExtents function from Canvas.

Parameters

x1

Left of the resulting extents.

y1

Top of the resulting extents.

x2

Right of the resulting extents.

y2

Bottom of the resulting extents.

Constructors

StrokeExtentsResult
Link copied to clipboard
common
fun StrokeExtentsResult(x1: Double, y1: Double, x2: Double, y2: Double)
Left of the resulting extents.

Properties

x1
Link copied to clipboard
common
val x1: Double
Left of the resulting extents.
x2
Link copied to clipboard
common
val x2: Double
Right of the resulting extents.
y1
Link copied to clipboard
common
val y1: Double
Top of the resulting extents.
y2
Link copied to clipboard
common
val y2: Double
Bottom of the resulting extents.