Share via


CoreIncrementalInkStroke Klasse

Definition

Stellt einen einzelnen Freihandstrich dar, der mithilfe einzelner InkPoint-Objekte inkrementell gerendert werden kann.

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
Vererbung
Object Platform::Object IInspectable CoreIncrementalInkStroke
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Konstruktoren

CoreIncrementalInkStroke(InkDrawingAttributes, Matrix3x2)

Initialisiert eine neue instance der CoreIncrementalInkStroke-Klasse.

Eigenschaften

BoundingRect

Ruft das umgebende Rechteck des CoreIncrementalInkStroke ab.

DrawingAttributes

Ruft die Freihandstrichattribute ab, die der Zeichnung einer CoreIncrementalInkStroke zugeordnet sind.

PointTransform

Ruft eine affine Transformationsmatrix ab, die auf das CoreIncrementalInkStroke-Objekt angewendet werden soll, oder legt diese fest.

Sowohl Position als auch Drehung basieren auf der oberen linken Ecke des Strichs relativ zum Ursprung der InkCanvas.

Methoden

AppendInkPoints(IIterable<InkPoint>)

Fügt mindestens ein InkPoint-Objekt an die Auflistung von InkPoint-Objekten an, die die CoreIncrementalInkStroke bilden.

CreateInkStroke()

Erstellt einen neuen Freihandstrich.

Gilt für: