From 9082ceb068f23092eb9b9d49928fd3f44434f9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Fri, 7 Jul 2023 16:32:24 +0200 Subject: [PATCH] Clarify docs --- docs/scripting-doc/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/scripting-doc/index.d.ts b/docs/scripting-doc/index.d.ts index 3b54de513d..72d80eeb03 100644 --- a/docs/scripting-doc/index.d.ts +++ b/docs/scripting-doc/index.d.ts @@ -1517,13 +1517,13 @@ declare namespace Geometry { export function pointsOnEllipse(center: point, radiusX: number, radiusY: number): point[]; /** - * Returns an elliptical region based on a rectangle. + * Returns an elliptical region based on the given bounding rectangle. */ export function ellipseRegion(rect: rect): region /** - * Returns an elliptical region based on a rectangle given by x0,y0 (top-left) - * and x1,y1 (bottom-right), inclusive. + * Returns an elliptical region based on a bounding rectangle given by x0,y0 + * (top-left) and x1,y1 (bottom-right), inclusive. */ export function ellipseRegion(x0: number, y0: number, x1: number, y1: number): region }