Skip to content

Commit

Permalink
Clarify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn committed Jul 7, 2023
1 parent 9ebf7ac commit 9082ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/scripting-doc/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9082ceb

Please sign in to comment.