From 1f739429220fe8b0772b98f2841ede31b4d9b718 Mon Sep 17 00:00:00 2001 From: Brian Fajardo Date: Fri, 9 Jun 2017 17:13:57 -0400 Subject: [PATCH 1/2] Update rectangle.md (issue #9552) Clear confusion regarding rectangle object parameter values --- docs/api/structures/rectangle.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/structures/rectangle.md b/docs/api/structures/rectangle.md index 0cd000699e..e547573137 100644 --- a/docs/api/structures/rectangle.md +++ b/docs/api/structures/rectangle.md @@ -4,3 +4,5 @@ * `y` Number - The y coordinate of the origin of the rectangle * `width` Number * `height` Number + +Note numeric values must be integers. From cd28bdd815802e29cdab8c01c1f88cae72a50896 Mon Sep 17 00:00:00 2001 From: Vanessa Yuen Date: Tue, 13 Jun 2017 11:51:55 -0700 Subject: [PATCH 2/2] add integer note to each parameter --- docs/api/structures/rectangle.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/api/structures/rectangle.md b/docs/api/structures/rectangle.md index e547573137..1a1228bc0b 100644 --- a/docs/api/structures/rectangle.md +++ b/docs/api/structures/rectangle.md @@ -1,8 +1,6 @@ # Rectangle Object -* `x` Number - The x coordinate of the origin of the rectangle -* `y` Number - The y coordinate of the origin of the rectangle -* `width` Number -* `height` Number - -Note numeric values must be integers. +* `x` Number - The x coordinate of the origin of the rectangle (must be an integer) +* `y` Number - The y coordinate of the origin of the rectangle (must be an integer) +* `width` Number - The width of the rectangle (must be an integer) +* `height` Number - The height of the rectangle (must be an integer)