InkDrawingAttributes.CreateForPencil メソッド

定義

鉛筆の特性を持つインク ストロークをレンダリングするための InkDrawingAttributes オブジェクトを作成します。

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

戻り値

次のプロパティをサポートする InkDrawingAttributes オブジェクト。

他の InkDrawingAttributes プロパティを 設定すると、例外が発生します。

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

注釈

既定では、鉛筆は円のペンヒントを使用して、ソフトエッジ、テクスチャ、半透明のストローク (レイヤード シェーディング効果に役立ちます) を描画します。 ストロークの色 (濃さ) は、感知された筆圧に依存します。

適用対象

こちらもご覧ください