Path.Approximate(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.
Approximate the <code>Path</code> with a series of line segments.
[Android.Runtime.Register("approximate", "(F)[F", "GetApproximate_FHandler", ApiSince=26)]
public virtual float[] Approximate (float acceptableError);
[<Android.Runtime.Register("approximate", "(F)[F", "GetApproximate_FHandler", ApiSince=26)>]
abstract member Approximate : single -> single[]
override this.Approximate : single -> single[]
Parameters
- acceptableError
- Single
The acceptable error for a line on the Path. Typically this would be 0.5 so that the error is less than half a pixel.
Returns
- Single[]
An array of components for points approximating the Path.
- Attributes
Remarks
Java documentation for android.graphics.Path.approximate(float).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.