FRect.this

Constructs a dsdl2.FRect by feeding in a dsdl2.FPoint as the xy, then width and height of the rectangle

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

Parameters

point FPoint

top-left point of the rectangle

width float

rectangle width

height float

rectangle height

Meta