Share via


RenderStateManager.AntiAliasedLineEnable Property (Microsoft.DirectX.Direct3D)

Retrieves or sets antialiasing of lines.

Definition

Visual Basic Public Property AntiAliasedLineEnable As Boolean
C# public bool AntiAliasedLineEnable { get; set; }
C++ public:
property bool AntiAliasedLineEnable {
        bool get();
        void set(bool value);
}
JScript 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.