Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InkStrokeBuilder class

Applies to Windows only

Builds strokes from raw pointer input.

Syntax


var inkStrokeBuilder = new Windows.UI.Input.Inking.InkStrokeBuilder();

Attributes

[DualApiPartition()]
[MarshalingBehavior(None)]
[Threading(Both)]
[Version(0x06020000)]

Members

The InkStrokeBuilder class has these types of members:

Constructors

The InkStrokeBuilder class has these constructors.

ConstructorDescription
InkStrokeBuilder Creates a new InkStrokeBuilder object that is used to construct InkStroke objects.

 

Methods

The InkStrokeBuilder class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
AppendToStroke Adds a new segment to the stroke.
BeginStroke Begins the stroke.
CreateStroke Creates a stroke from an array of points.
EndStroke Ends the stroke.
SetDefaultDrawingAttributes Sets the default InkDrawingAttributes for all new InkStroke objects, after EndStroke is called for the current stroke.

 

Remarks

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.winmd

See also

Windows.UI.Input.Inking Classes
Responding to pen and stylus input
Ink App sample

 

 

Show:
© 2014 Microsoft