Automatically sets clipping region for a control.

Namespace: Skewworks.NETMF
Assembly: Skewworks.NETMF.Core (in Skewworks.NETMF.Core.dll) Version: 2.5.0.0 (2.5.0.0)

Syntax

C#
public static void ClipForControl(
	IControl control,
	int x,
	int y,
	int width,
	int height
)

Parameters

control
Type: Skewworks.NETMF.Controls..::..IControl
Control to clip for
x
Type: System..::..Int32
X of control
y
Type: System..::..Int32
Y of control
width
Type: System..::..Int32
Width of control
height
Type: System..::..Int32
Height of control

See Also