SKRoundRect.CheckAllCornersCircular(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check to see whether all four corners are circular (with the x- and y-axis equal).
public bool CheckAllCornersCircular(float tolerance);
Parameters
- tolerance
- Single
The difference in the axis allowed before the corners are no longer circular.
Returns
true if all corners are circular within the tolerance; otherwise, false.