InkDrawingAttributes.FitToCurve Property

Definition

Gets or sets a value that indicates whether a Bezier curve or a collection of straight line segments is used to draw an InkStroke.

public:
 property bool FitToCurve { bool get(); void set(bool value); };
bool FitToCurve();

void FitToCurve(bool value);
public bool FitToCurve { get; set; }
var boolean = inkDrawingAttributes.fitToCurve;
inkDrawingAttributes.fitToCurve = boolean;
Public Property FitToCurve As Boolean

Property Value

Boolean

bool

true if a Bezier curve is used; otherwise false. The default value is true.

Examples

The following example demonstrates how to set the FitToCurve attribute for all strokes managed by this InkManager object (inkManager) that are created after the SetDefaultDrawingAttributes method call.

var inkManager = new Windows.UI.Input.Inking.InkManager();
var drawingAttributes = 
     new Windows.UI.Input.Inking.InkDrawingAttributes();
// True is the Default value for fitToCurve.
drawingAttributes.fitToCurve = false;
inkManager.setDefaultDrawingAttributes(drawingAttributes);

Applies to

See also