![]() |
![]() |
![]() |
Device.ScissorRectangle Property |
Language: |
Retrieves or sets the scissor rectangle.
Visual Basic .NET Public Property ScissorRectangle As Rectangle C# public Rectangle ScissorRectangle { get; set; } Managed C++ public: __property Rectangle get_ScissorRectangle();
public: __property void set_ScissorRectangle(Rectangle);JScript .NET public function get ScissorRectangle() : Rectangle
public function set ScissorRectangle(Rectangle);
System.Drawing.Rectangle . A Rectangle
This property is read/write.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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center