PathF.GetBoundsByFlattening(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.
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.