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

X coordinate of the left side of the rectangle.

y int

Y coordinate of the top side of the rectangle.

width int

width of the rectangle.

height int

height of the rectangle.