RectangularShape Data Type

Abstract Type
Subtypes
Rectangle2D, Rectangle
Implemented Interfaces
Cloneable, Shape
Properties
name data type constraints description
bounds Rectangle  
maxY number required
empty boolean required
y number required
width number required
frame Rectangle2D  
minX number required
x number required
centerY number required
height number required
minY number required
maxX number required
centerX number required

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
{
  "bounds" : {
    "width" : 12345,
    "height" : 12345,
    "location" : {
      "x" : 12345,
      "location" : { },
      "y" : 12345
    },
    "x" : 12345,
    "size" : {
      "size" : { },
      "width" : 12345,
      "height" : 12345
    },
    "y" : 12345,
    "bounds2D" : {
      "bounds2D" : { },
      "bounds" : { },
      "maxY" : 12345.0,
      "empty" : true,
      "y" : 12345.0,
      "width" : 12345.0,
      "frame" : { },
      "minX" : 12345.0,
      "x" : 12345.0,
      "centerY" : 12345.0,
      "height" : 12345.0,
      "minY" : 12345.0,
      "maxX" : 12345.0,
      "centerX" : 12345.0
    },
    "bounds" : { },
    "empty" : true,
    "maxY" : 12345.0,
    "frame" : {
      "bounds2D" : { },
      "bounds" : { },
      "maxY" : 12345.0,
      "empty" : true,
      "y" : 12345.0,
      "width" : 12345.0,
      "frame" : { },
      "minX" : 12345.0,
      "x" : 12345.0,
      "centerY" : 12345.0,
      "height" : 12345.0,
      "minY" : 12345.0,
      "maxX" : 12345.0,
      "centerX" : 12345.0
    },
    "minX" : 12345.0,
    "centerY" : 12345.0,
    "minY" : 12345.0,
    "maxX" : 12345.0,
    "centerX" : 12345.0
  },
  "maxY" : 12345.0,
  "empty" : true,
  "y" : 12345.0,
  "width" : 12345.0,
  "frame" : {
    "bounds2D" : { },
    "bounds" : {
      "width" : 12345,
      "height" : 12345,
      "location" : { },
      "x" : 12345,
      "size" : { },
      "y" : 12345,
      "bounds2D" : { },
      "bounds" : { },
      "empty" : true,
      "maxY" : 12345.0,
      "frame" : { },
      "minX" : 12345.0,
      "centerY" : 12345.0,
      "minY" : 12345.0,
      "maxX" : 12345.0,
      "centerX" : 12345.0
    },
    "maxY" : 12345.0,
    "empty" : true,
    "y" : 12345.0,
    "width" : 12345.0,
    "frame" : { },
    "minX" : 12345.0,
    "x" : 12345.0,
    "centerY" : 12345.0,
    "height" : 12345.0,
    "minY" : 12345.0,
    "maxX" : 12345.0,
    "centerX" : 12345.0
  },
  "minX" : 12345.0,
  "x" : 12345.0,
  "centerY" : 12345.0,
  "height" : 12345.0,
  "minY" : 12345.0,
  "maxX" : 12345.0,
  "centerX" : 12345.0
}