Export (0) Print
Expand All

Device.ScissorRectangle Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the scissor rectangle.

Definition

Visual BasicPublic Property ScissorRectangle As RectangleLeave Site
C#public RectangleLeave Site ScissorRectangle { get; set; }
C++public:
property RectangleLeave Site ScissorRectangle {
        RectangleLeave Site get();
        void set(RectangleLeave Site value);
}
JScriptpublic function get ScissorRectangle() : RectangleLeave Site
public function set ScissorRectangle(RectangleLeave Site);

Property Value

System.Drawing.Rectangle
A RectangleLeave Site object that defines the rendering area within the render target, if scissor testing is enabled.

This property is read/write. 

Remarks

The scissor rectangle is used as a rectangular clipping region. For more information about the use of rectangles in Microsoft DirectX, see RectangleLeave Site.

Exceptions
InvalidCallException Occurs if any properties of the RectangleLeave Site object are invalid.
Show:
© 2015 Microsoft