CoreIncrementalInkStroke CoreIncrementalInkStroke CoreIncrementalInkStroke CoreIncrementalInkStroke Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents a single ink stroke that can be rendered incrementally, using individual InkPoint objects.

public : sealed class CoreIncrementalInkStroke : ICoreIncrementalInkStrokepublic sealed class CoreIncrementalInkStroke : ICoreIncrementalInkStrokePublic NotInheritable Class CoreIncrementalInkStroke Implements ICoreIncrementalInkStroke// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Constructors

CoreIncrementalInkStroke(InkDrawingAttributes, Matrix3x2) CoreIncrementalInkStroke(InkDrawingAttributes, Matrix3x2) CoreIncrementalInkStroke(InkDrawingAttributes, Matrix3x2) CoreIncrementalInkStroke(InkDrawingAttributes, Matrix3x2)

Prerelease. Initializes a new instance of the CoreIncrementalInkStroke class.

public : CoreIncrementalInkStroke(InkDrawingAttributes drawingAttributes, Matrix3x2 pointTransform)public CoreIncrementalInkStroke(InkDrawingAttributes drawingAttributes, Matrix3x2 pointTransform)Public Sub New(drawingAttributes As InkDrawingAttributes, pointTransform As Matrix3x2)// This API is not available in Javascript.
Parameters
drawingAttributes
InkDrawingAttributes InkDrawingAttributes InkDrawingAttributes InkDrawingAttributes

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

pointTransform
Matrix3x2 Matrix3x2 Matrix3x2 Matrix3x2

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.

Properties

BoundingRect BoundingRect BoundingRect BoundingRect

Prerelease. Gets the bounding rectangle of the CoreIncrementalInkStroke.

public : Rect BoundingRect { get; }public Rect BoundingRect { get; }Public ReadOnly Property BoundingRect As Rect// This API is not available in Javascript.
Value
Rect Rect Rect Rect

The bounding rectangle of the CoreIncrementalInkStroke.

DrawingAttributes DrawingAttributes DrawingAttributes DrawingAttributes

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

public : InkDrawingAttributes DrawingAttributes { get; }public InkDrawingAttributes DrawingAttributes { get; }Public ReadOnly Property DrawingAttributes As InkDrawingAttributes// This API is not available in Javascript.

PointTransform PointTransform PointTransform PointTransform

Prerelease. 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.

public : Matrix3x2 PointTransform { get; }public Matrix3x2 PointTransform { get; }Public ReadOnly Property PointTransform As Matrix3x2// This API is not available in Javascript.
Value
Matrix3x2 Matrix3x2 Matrix3x2 Matrix3x2

The position and angle of the stroke as a 3*2 floating point matrix.

The default position is the origin of the InkCanvas. The default rotation angle is 0 degrees.

Methods

AppendInkPoints(IIterable) AppendInkPoints(IIterable) AppendInkPoints(IIterable) AppendInkPoints(IIterable)

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

public : Rect AppendInkPoints(IIterable<InkPoint> inkPoints)public Rect AppendInkPoints(IEnumerable<InkPoint> inkPoints)Public Function AppendInkPoints(inkPoints As IEnumerable<InkPoint>) As Rect// This API is not available in Javascript.
Parameters
inkPoints
IIterable<InkPoint> IEnumerable<InkPoint> IEnumerable<InkPoint> IEnumerable<InkPoint>

The collection of InkPoint objects to append.

Returns

The bounding rectangle of the appended InkPoint objects.

CreateInkStroke() CreateInkStroke() CreateInkStroke() CreateInkStroke()

Prerelease. Creates a new ink stroke.

public : InkStroke CreateInkStroke()public InkStroke CreateInkStroke()Public Function CreateInkStroke() As InkStroke// This API is not available in Javascript.
Returns

The new ink stroke.