PictureCanvas(Single, Single, Single, Single) Constructor
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.
Initializes a new instance of the PictureCanvas class with the specified dimensions.
public:
PictureCanvas(float x, float y, float width, float height);
public PictureCanvas(float x, float y, float width, float height);
new Microsoft.Maui.Graphics.PictureCanvas : single * single * single * single -> Microsoft.Maui.Graphics.PictureCanvas
Public Sub New (x As Single, y As Single, width As Single, height As Single)
Parameters
- x
- Single
The x-coordinate of the top-left corner of the canvas.
- y
- Single
The y-coordinate of the top-left corner of the canvas.
- width
- Single
The width of the canvas.
- height
- Single
The height of the canvas.