RenderStateManager.AntiAliasedLineEnable Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets antialiasing of lines.

Definition

Visual Basic .NET Public Property AntiAliasedLineEnable As Boolean
C# public bool AntiAliasedLineEnable { get; set; }
Managed C++ public: __property bool get_AntiAliasedLineEnable();
public: __property void set_AntiAliasedLineEnable(bool);
JScript .NET public function get AntiAliasedLineEnable() : boolean
public function set AntiAliasedLineEnable(boolean);

Property Value

System.Boolean . Set to true to enable antialiasing of lines, or false to disable it. The default value is false.

This property is read/write. 

Remarks

The AntiAliasedLineEnable property applies to triangles drawn in wireframe mode as well as line-drawing primitive types.

When rendering to a multisample render target, this render state is ignored, and all lines are rendered aliased. For antialiased line rendering in multisample render targets, use a Line object, which generates textured polygons.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.