RGBLedMatrix.FillRectangle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fill a rectangle on the display with specific color
public void FillRectangle (int x, int y, int width, int height, byte red, byte green, byte blue, bool backBuffer = false);
member this.FillRectangle : int * int * int * int * byte * byte * byte * bool -> unit
Public Sub FillRectangle (x As Integer, y As Integer, width As Integer, height As Integer, red As Byte, green As Byte, blue As Byte, Optional backBuffer As Boolean = false)
Parameters
- x
- Int32
Upper left rectangle x coordinate
- y
- Int32
Upper left rectangle y coordinate
- width
- Int32
The rectangle width
- height
- Int32
The rectangle height
- red
- Byte
red color value
- green
- Byte
green color value
- blue
- Byte
blue color value
- backBuffer
- Boolean
true if to draw on back buffer, false to draw on the forground buffer
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for