message: Reformat documentation for RoundedRectangle
diff: @@ -4,72 +4,54 @@ import { SHAPES } from '../const';
  * The Rounded Rectangle object is an area that has nice rounded corners, as indicated by its
  * top-left corner point (x, y) and by its width and its height and its radius.
  *
  - * @class
  * @memberof PIXI
  */
  export class RoundedRectangle
  {
  + /** @default 0 */
  public x: number;
  +
  + /** @default 0 */
  public y: number;
  +
  + /** @default 0 */
  public width: number;
  +
  + /** @default 0 */
  public height: number;
  +
  + /** @default 20 */
  public radius: number;
  +
  + /**
  + * The type of the object, mainly used to avoid `instanceof` checks
  + *
  + * @default PIXI.SHAPES.RREC
  + * @see PIXI.SHAPES
  + */
  public readonly type: SHAPES.RREC;
  /**
  - * @param {number} [x=0] - The X coordinate of the upper-left corner of the rounded rectangle
  - * @param {number} [y=0] - The Y coordinate of the upper-left corner of the rounded rectangle
  - * @param {number} [width=0] - The overall width of this rounded rectangle
  - * @param {number} [height=0] - The overall height of this rounded rectangle
  - * @param {number} [radius=20] - Controls the radius of the rounded corners
  + * @param x - The X coordinate of the upper-left corner of the rounded rectangle
  + * @param y - The Y coordinate of the upper-left corner of the rounded rectangle
  + * @param width - The overall width of this rounded rectangle
  + * @param height - The overall height of this rounded rectangle
  + * @param radius - Controls the radius of the rounded corners
  */
  constructor(x = 0, y = 0, width = 0, height = 0, radius = 20)
  {
  - /**
  - * @member {number}
  - * @default 0
  - */
  this.x = x;
  -
  - /**
  - * @member {number}
  - * @default 0
  - */
  this.y = y;
  -
  - /**
  - * @member {number}
  - * @default 0
  - */
  this.width = width;
  -
  - /**
  - * @member {number}
  - * @default 0
  - */
  this.height = height;
  -
  - /**
  - * @member {number}
  - * @default 20
  - */
  this.radius = radius;
  -
  - /**
  - * The type of the object, mainly used to avoid `instanceof` checks
  - *
  - * @member {number}
  - * @readonly
  - * @default PIXI.SHAPES.RREC
  - * @see PIXI.SHAPES
  - */
  this.type = SHAPES.RREC;
  }
  /**
  - * Creates a clone of this Rounded Rectangle
  + * Creates a clone of this Rounded Rectangle.
  *
  - * @return {PIXI.RoundedRectangle} a copy of the rounded rectangle
  + * @return - A copy of the rounded rectangle.
  */
  clone(): RoundedRectangle
  {
  @@ -79,9 +61,9 @@ export class RoundedRectangle
  /**
  * Checks whether the x and y coordinates given are contained within this Rounded Rectangle
  *
  - * @param {number} x - The X coordinate of the point to test
  - * @param {number} y - The Y coordinate of the point to test
  - * @return {boolean} Whether the x/y coordinates are within this Rounded Rectangle
  + * @param x - The X coordinate of the point to test.
  + * @param y - The Y coordinate of the point to test.
  + * @return - Whether the x/y coordinates are within this Rounded Rectangle.
  */
  contains(x: number, y: number): boolean
  {
  