inStroke

common
fun inStroke(xPos: Double, yPos: Double): Boolean

Tests whether the given point is inside the area that would be affected by a stroke operation given the current path and stroking parameters. Surface dimensions and clipping are not taken into account.

Return

A value of true if the point is inside.

See also

Parameters

xPos

X coordinate of the point to test.

yPos

Y coordinate of the point to test.

linuxArm32
fun inStroke(xPos: Double, yPos: Double): Boolean

See also

Parameters

xPos

X coordinate of the point to test.

yPos

Y coordinate of the point to test.

linuxX64
fun inStroke(xPos: Double, yPos: Double): Boolean

See also

Parameters

xPos

X coordinate of the point to test.

yPos

Y coordinate of the point to test.