다음을 통해 공유


DrawingAttributes 클래스

업데이트: 2007년 11월

잉크를 그릴 때 적용되는 특성을 나타냅니다.

네임스페이스:  Microsoft.Ink
어셈블리:  Microsoft.Ink(Microsoft.Ink.dll)

구문

‘선언
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class DrawingAttributes _
    Implements ICloneable
‘사용 방법
Dim instance As DrawingAttributes
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class DrawingAttributes : ICloneable
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class DrawingAttributes : ICloneable
/** @attribute PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust") */
public class DrawingAttributes implements ICloneable
public class DrawingAttributes implements ICloneable

설명

이러한 그리기 특성을 스트로크나 커서에 연결할 수 있으며 이러한 특성은 색, 너비 및 투명도 등의 설정을 지정합니다.

스트로크의 그리기 특성을 지정하려면 Stroke 개체의 DrawingAttributes 속성을 사용합니다. 스트로크 컬렉션에 있는 모든 스트로크의 그리기 특성을 지정하려면 Strokes 컬렉션의 ModifyDrawingAttributes 메서드를 호출합니다.

InkCollector 개체, InkOverlay 개체 및 InkPicture 컨트롤은 동일한 커서에 서로 다른 그리기 특성 집합을 지정할 수 있습니다. Cursor 개체의 DrawingAttributes 속성을 사용하여 커서의 그리기 특성을 가져오거나 설정합니다.

상속 계층 구조

System.Object
  Microsoft.Ink.DrawingAttributes

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows Vista

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

DrawingAttributes 멤버

Microsoft.Ink 네임스페이스

Stroke.DrawingAttributes

Strokes.ModifyDrawingAttributes

Cursor.DrawingAttributes

InkCollector.DefaultDrawingAttributes

InkOverlay.DefaultDrawingAttributes

InkPicture.DefaultDrawingAttributes

InkEdit.DrawingAttributes