InkDrawingAttributes.PenTip 속성

정의

InkStroke를 그릴 때 펜 팁의 모양을 나타내는 값을 가져오거나 설정합니다.

public:
 property PenTipShape PenTip { PenTipShape get(); void set(PenTipShape value); };
PenTipShape PenTip();

void PenTip(PenTipShape value);
public PenTipShape PenTip { get; set; }
var penTipShape = inkDrawingAttributes.penTip;
inkDrawingAttributes.penTip = penTipShape;
Public Property PenTip As PenTipShape

속성 값

펜/스타일러스 팁의 모양입니다. 기본값은 Circle입니다.

예제

다음 예제에서는 InkManager 개체(inkManager)에서 관리하는 모든 스트로크에 대해 PenTip 특성을 설정하는 방법을 보여 줍니다.

var inkManager = new Windows.UI.Input.Inking.InkManager();
var drawingAttributes = new Windows.UI.Input.Inking.InkDrawingAttributes();
drawingAttributes.penTip = Windows.UI.Input.Inking.PenTipShape.rectangle;
inkManager.setDefaultDrawingAttributes(drawingAttributes);

설명

PenTip과 함께 PenTipShape 속성을 사용하여 다양한 서예 효과를 지원합니다.

적용 대상

추가 정보