編輯

共用方式為


SKPath.Contains(Single, Single) Method

Definition

Returns true if the point (x, y) is contained by the path, taking into account the FillType.

public bool Contains (float x, float y);

Parameters

x
Single

The x-coordinate to check.

y
Single

The y-coordinate to check.

Returns

Returns true if the point (x, y) is contained by the path.

Applies to