편집

다음을 통해 공유


CGContext.SetFlatness(nfloat) Method

Definition

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.

Applies to