PushClippingRectangle Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Pushes the specified clipping rectangle onto the current drawing context.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub PushClippingRectangle ( _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer _
)
public void PushClippingRectangle(
    int x,
    int y,
    int width,
    int height
)
public:
void PushClippingRectangle(
    int x, 
    int y, 
    int width, 
    int height
)
member PushClippingRectangle : 
        x:int * 
        y:int * 
        width:int * 
        height:int -> unit 
public function PushClippingRectangle(
    x : int, 
    y : int, 
    width : int, 
    height : int
)

Parameters

Remarks

The clipping rectangle is a rectangular region that restricts the drawing surface. All drawing must be done within the clipping rectangle. Any images or parts of images that are outside the clipping rectangle do not appear on the drawing surface.

The specified clipping rectangle applies to all subsequent drawing commands, until it is removed by the PopClippingRectangle method.

.NET Framework Security

See Also

Reference

DrawingContext Class

Microsoft.SPOT.Presentation.Media Namespace