Share via


InkDrawingAttributes.CreateForPencil Method

Definition

Creates an InkDrawingAttributes object for rendering an ink stroke with pencil characteristics.

public:
 static InkDrawingAttributes ^ CreateForPencil();
 static InkDrawingAttributes CreateForPencil();
public static InkDrawingAttributes CreateForPencil();
function createForPencil()
Public Shared Function CreateForPencil () As InkDrawingAttributes

Returns

An InkDrawingAttributes object that supports the following properties:

Setting other InkDrawingAttributes properties results in an exception.

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