Udostępnij za pośrednictwem


InkDrawingAttributes.PencilProperties Property

Definition

Gets an instance of an InkDrawingAttributesPencilProperties object for setting properties characteristic to a pencil stroke.

public:
 property InkDrawingAttributesPencilProperties ^ PencilProperties { InkDrawingAttributesPencilProperties ^ get(); };
InkDrawingAttributesPencilProperties PencilProperties();
public InkDrawingAttributesPencilProperties PencilProperties { get; }
var inkDrawingAttributesPencilProperties = inkDrawingAttributes.pencilProperties;
Public ReadOnly Property PencilProperties As InkDrawingAttributesPencilProperties

Property Value

An InkDrawingAttributesPencilProperties used to set pencil stroke properties.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

By default, a pencil draws a soft-edged, textured, and semi-transparent stroke (useful for layered shading effects) with a Circle PenTip. The stroke color (darkness) is dependent on the pen pressure detected.

Applies to

See also