SafeStrokeWidthResult

data class SafeStrokeWidthResult(val requestedWidthPx: Float, val hardwareWidthPx: Float?, val path: RenderingPath, val warnings: Set<RenderingWarning>)(source)

Hardware-safe interpretation of an authored stroke width.

Constructors

Link copied to clipboard
constructor(requestedWidthPx: Float, hardwareWidthPx: Float?, path: RenderingPath, warnings: Set<RenderingWarning>)

Properties

Link copied to clipboard

Usable hardware width, or null when no limit is verified.

Link copied to clipboard

Rendering implementation required for the requested width.

Link copied to clipboard

Original width in physical pixels.

Link copied to clipboard

Capability limitations affecting the result.