Share via


PathF.GetBoundsByFlattening(Single) Method

Definition

Computes bounds by flattening curves with the given flatness, updating the cache.

public Microsoft.Maui.Graphics.RectF GetBoundsByFlattening(float flatness = 0.001);
member this.GetBoundsByFlattening : single -> Microsoft.Maui.Graphics.RectF
Public Function GetBoundsByFlattening (Optional flatness As Single = 0.001) As RectF

Parameters

flatness
Single

Maximum allowed deviation when flattening (smaller = more points).

Returns

The bounding rectangle.

Applies to