UtilDrawingDrawRectangleOnScreen(Screen, Rectangle, Color) Method
Draw a rectangle on the specified device screen.
Namespace: DevCase.Core.Media.GraphicsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void DrawRectangleOnScreen(
Screen screen,
Rectangle rc,
Color borderColor
)
Public Shared Sub DrawRectangleOnScreen (
screen As Screen,
rc As Rectangle,
borderColor As Color
)
Dim screen As Screen
Dim rc As Rectangle
Dim borderColor As Color
UtilDrawing.DrawRectangleOnScreen(screen,
rc, borderColor)
public:
static void DrawRectangleOnScreen(
Screen^ screen,
Rectangle rc,
Color borderColor
)
static member DrawRectangleOnScreen :
screen : Screen *
rc : Rectangle *
borderColor : Color -> unit
No code example is currently available or this language may not be supported.
Parameters
- screen Screen
-
The device screen where to draw the rectangle.
- rc Rectangle
-
A Rectangle structure that represents the size and position of the rectangle to draw.
- borderColor Color
-
The border color of the rectangle.
This is a code example.
No code example is currently available or this language may not be supported.
Dim scr As Screen = Screen.PrimaryScreen
Dim rc As New Rectangle(New Point(0, 0), New Size(100, 100))
DrawRectangleOnScreen(scr, rc, Color.Red)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.