{
  "name": "RectF",
  "header": "nativeui/gfx/geometry/rect_f.h",
  "type": "table",
  "namespace": "nu",
  "description": "Rectangle type.",
  "detail": "This type defines a simple integer rectangle class. The containment semantics\nare array-like; that is, the coordinate (x, y) is considered to be\ncontained by the rectangle, but the coordinate (x + width, y) is not.\n\nThis type is represented by a table with `x`, `y`, `width`, `height`\nproperties.\n\n```lua\nwindow:setbounds{x=11, y=24, width=100, height=100}\n```\n\nWhen a function accepts `RectF` as its last parameter, you can simply\nunpack the properties:\n\n```lua\nwindow:setbounds(11, 24, 100, 100)\n```\n",
  "properties": [
    {
      "description": "X coordinate.",
      "id": "x",
      "type": {
        "name": "number"
      },
      "name": "x"
    },
    {
      "description": "Y coordinate.",
      "id": "y",
      "type": {
        "name": "number"
      },
      "name": "y"
    },
    {
      "description": "Rectangle width.",
      "id": "width",
      "type": {
        "name": "number"
      },
      "name": "width"
    },
    {
      "description": "Rectangle height.",
      "id": "height",
      "type": {
        "name": "number"
      },
      "name": "height"
    }
  ],
  "id": "rectf"
}