CGContext.SetFlatness(nfloat) 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.
The accuracy of curved paths.
public void SetFlatness (nfloat flatness);
member this.SetFlatness : nfloat -> unit
Parameters
- flatness
- nfloat
The largest distance, in device pixels, between the true curve and its approximation.
Remarks
Application developers should be cautious about manipulating this property, which can have significant performance overhead. Setting flatness
to a value of less than 1.0 leads to highly accurate curves, but may be slow.