FRect.this

Constructs a dsdl2.FRect by feeding in the x, y, width, and height of the rectangle

  1. this()
  2. this(SDL_FRect sdlFRect)
  3. this(float x, float y, float width, float height)
    struct FRect
    this
    (
    float x
    ,
    float y
    ,
    float width
    ,
    float height
    )
  4. this(FPoint point, float width, float height)
  5. this(Rect rect)

Parameters

x float

top-left x coordinate point of the rectangle

y float

top-left y coordinate point of the rectangle

width float

rectangle width

height float

rectangle height

Meta