Dela via


CoreIncrementalInkStroke Class

Definition

Represents a single ink stroke that can be rendered incrementally, using individual InkPoint objects.

public ref class CoreIncrementalInkStroke sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Input.Inking.Core.ICoreIncrementalInkStrokeFactory, 327680, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreIncrementalInkStroke final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Input.Inking.Core.ICoreIncrementalInkStrokeFactory), 327680, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreIncrementalInkStroke
Public NotInheritable Class CoreIncrementalInkStroke
Inheritance
Object Platform::Object IInspectable CoreIncrementalInkStroke
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Constructors

CoreIncrementalInkStroke(InkDrawingAttributes, Matrix3x2)

Initializes a new instance of the CoreIncrementalInkStroke class.

Properties

BoundingRect

Gets the bounding rectangle of the CoreIncrementalInkStroke.

DrawingAttributes

Gets the ink stroke attributes associated with the drawing of a CoreIncrementalInkStroke.

PointTransform

Gets or sets an affine transformation matrix to apply to the CoreIncrementalInkStroke object.

Both position and rotation are based on the top left corner of the stroke relative to the origin of the InkCanvas.

Methods

AppendInkPoints(IIterable<InkPoint>)

Appends one or more InkPoint objects to the collection of InkPoint objects that compose the CoreIncrementalInkStroke.

CreateInkStroke()

Creates a new ink stroke.

Applies to