litecanvas 0.85.1 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/index.d.ts CHANGED
@@ -283,6 +283,26 @@ declare global {
283
283
  * @param [color=0] the color index
284
284
  */
285
285
  function circfill(x: number, y: number, radius: number, color?: number): void
286
+ /**
287
+ * Draw a ellipse outline
288
+ *
289
+ * @param x
290
+ * @param y
291
+ * @param radiusX
292
+ * @param radiusY
293
+ * @param [color=0] the color index
294
+ */
295
+ function oval(x: number, y: number, radiusX: number, radiusY: number, color?: number): void
296
+ /**
297
+ * Draw a color-filled ellipse
298
+ *
299
+ * @param x
300
+ * @param y
301
+ * @param radiusX
302
+ * @param radiusY
303
+ * @param [color=0] the color index
304
+ */
305
+ function ovalfill(x: number, y: number, radiusX: number, radiusY: number, color?: number): void
286
306
  /**
287
307
  * Draw a line
288
308
  *
package/types/types.d.ts CHANGED
@@ -274,6 +274,26 @@ type LitecanvasInstance = {
274
274
  * @param [color=0] the color index
275
275
  */
276
276
  circfill(x: number, y: number, radius: number, color?: number): void
277
+ /**
278
+ * Draw a ellipse outline
279
+ *
280
+ * @param x
281
+ * @param y
282
+ * @param radiusX
283
+ * @param radiusY
284
+ * @param [color=0] the color index
285
+ */
286
+ oval(x: number, y: number, radiusX: number, radiusY: number, color?: number): void
287
+ /**
288
+ * Draw a color-filled ellipse
289
+ *
290
+ * @param x
291
+ * @param y
292
+ * @param radiusX
293
+ * @param radiusY
294
+ * @param [color=0] the color index
295
+ */
296
+ ovalfill(x: number, y: number, radiusX: number, radiusY: number, color?: number): void
277
297
  /**
278
298
  * Draw a line
279
299
  *