DrawingAttributes Class
Represents the attributes that are applied to ink when it is drawn.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class DrawingAttributes _
Implements ICloneable
'Usage
Dim instance As DrawingAttributes
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class DrawingAttributes : ICloneable
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class DrawingAttributes : ICloneable
public class DrawingAttributes implements ICloneable
Remarks
These drawing attributes can be associated with a stroke or a cursor and specify settings such as color, width, and transparency.
To specify the drawing attributes of a stroke, use the DrawingAttributes property of the Stroke object. To specify the drawing attributes of all of the strokes within a collection of strokes, call the ModifyDrawingAttributes method of the Strokes collection.
Each InkCollector object, InkOverlay object, and InkPicture control can specify a different set of drawing attributes for the same cursor. Use the DrawingAttributes property of the Cursor object to get or set the drawing attributes of a cursor.
Inheritance Hierarchy
System.Object
Microsoft.Ink.DrawingAttributes
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
Strokes.ModifyDrawingAttributes
InkCollector.DefaultDrawingAttributes
InkOverlay.DefaultDrawingAttributes