InkDrawingAttributes.FitToCurve Property
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.
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
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample