message: Reformat documentation for Polygon
diff: @@ -4,17 +4,27 @@ import type { IPointData } from '../IPointData';
  /**
  * A class to define a shape via user defined coordinates.
  *
  - * @class
  * @memberof PIXI
  */
  export class Polygon
  {
  + /** An array of the points of this polygon. */
  public points: number[];
  +
  + /** `false` after moveTo, `true` after `closePath`. In all other cases it is `true`. */
  public closeStroke: boolean;
  +
  + /**
  + * The type of the object, mainly used to avoid `instanceof` checks
  + *
  + * @default PIXI.SHAPES.POLY
  + * @see PIXI.SHAPES
  + */
  public readonly type: SHAPES.POLY;
  constructor(points: IPointData[]|number[]);
  constructor(...points: IPointData[]|number[]);
  +
  /**
  * @param {PIXI.IPointData[]|number[]} points - This can be an array of Points
  * that form the polygon, a flat array of numbers that will be interpreted as [x,y, x,y, ...], or
  @@ -39,35 +49,15 @@ export class Polygon
  flat = p;
  }
  - /**
  - * An array of the points of this polygon
  - *
  - * @member {number[]}
  - */
  this.points = flat as number[];
  -
  - /**
  - * The type of the object, mainly used to avoid `instanceof` checks
  - *
  - * @member {number}
  - * @readOnly
  - * @default PIXI.SHAPES.POLY
  - * @see PIXI.SHAPES
  - */
  this.type = SHAPES.POLY;
  -
  - /**
  - * `false` after moveTo, `true` after `closePath`. In all other cases it is `true`.
  - * @member {boolean}
  - * @default true
  - */
  this.closeStroke = true;
  }
  /**
  - * Creates a clone of this polygon
  + * Creates a clone of this polygon.
  *
  - * @return {PIXI.Polygon} a copy of the polygon
  + * @return - A copy of the polygon.
  */
  clone(): Polygon
  {
  @@ -80,11 +70,11 @@ export class Polygon
  }
  /**
  - * Checks whether the x and y coordinates passed to this function are contained within this polygon
  + * Checks whether the x and y coordinates passed to this function are contained within this polygon.
  *
  - * @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 polygon
  + * @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 polygon.
  */
  contains(x: number, y: number): boolean
  {
  