Device.ScissorRectangle Property |
Language: |
Retrieves or sets the scissor rectangle.
Visual Basic Public Property ScissorRectangle As Rectangle C# public Rectangle ScissorRectangle { get; set; } C++ public:
property Rectangle ScissorRectangle {
Rectangle get();
void set(Rectangle value);
}JScript public function get ScissorRectangle() : Rectangle
public function set ScissorRectangle(Rectangle);
System.Drawing.Rectangle
This property is read/write.
A Rectangle object that defines the rendering area within the render target, if scissor testing is enabled.
The scissor rectangle is used as a rectangular clipping region. For more information about the use of rectangles in Microsoft DirectX, see Rectangle .
Exceptions
InvalidCallException Occurs if any properties of the Rectangle object are invalid.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center