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
- x
Type: System. . :: . .Int32
The horizontal coordinate of the left edge of the clipping rectangle.
- y
Type: System. . :: . .Int32
The vertical coordinate of the top edge of the clipping rectangle.
- width
Type: System. . :: . .Int32
The width of the clipping rectangle.
- height
Type: System. . :: . .Int32
The height of the clipping rectangle.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.