Export (0) Print
Expand All

DrawingAttributes Class

Represents the attributes that are applied to ink when it is drawn.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class DrawingAttributes : ICloneable

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.

System.Object
  Microsoft.Ink.DrawingAttributes

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft