Rectangle.this

Create a rectangle.Rectangle boxed type.

  1. this(int x, int y, int width, int height)
    class Rectangle
    this
    (
    int x = int.init
    ,
    int y = int.init
    ,
    int width = int.init
    ,
    int height = int.init
    )
  2. this(void* ptr, Flag!"Take" take)

Parameters

x int

the x coordinate of the top left corner

y int

the y coordinate of the top left corner

width int

the width of the rectangle

height int

the height of the rectangle