presenter 0.7.5 → 0.8.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.
@@ -1,7 +1,7 @@
1
1
  import { Circle } from '../../../objects/Circle';
2
2
  import { UnifiedPath2D } from '../../../renderer/browser-canvas/types/UnifiedPath2D';
3
3
  /**
4
- * Returns a circle path that is smaller than the original by half the border width.
4
+ * Returns a circle path that is smaller than the original by half the stroke width.
5
5
  * This is used as a clip region when drawing semi-transparent shapes.
6
6
  */
7
7
  export declare function getCircleInsetFillPath(circle: Circle, createPath: () => UnifiedPath2D): UnifiedPath2D | undefined;
@@ -1,7 +1,7 @@
1
1
  import { Rectangle } from '../../../objects/Rectangle';
2
2
  import { UnifiedPath2D } from '../../../renderer/browser-canvas/types/UnifiedPath2D';
3
3
  /**
4
- * Returns a rectangle path that is smaller than the original by half the border width
4
+ * Returns a rectangle path that is smaller than the original by half the stroke width
5
5
  * on each side. This is used as a clip region when drawing semi-transparent shapes.
6
6
  */
7
7
  export declare function getRectangleInsetFillPath(rectangle: Rectangle, createPath: () => UnifiedPath2D): UnifiedPath2D | undefined;
@@ -2,4 +2,4 @@ import { UnifiedPath2D } from '../../../renderer/browser-canvas/types/UnifiedPat
2
2
  import { PathWithLength } from '../../../types/PathWithLength';
3
3
  import { Position } from '../../../types/Position';
4
4
  import { Size } from '../../../types/Size';
5
- export declare function getRoundedRectanglePath(origin: Position, size: Size, rounding: number, createPath: () => UnifiedPath2D, overshoot?: number): PathWithLength;
5
+ export declare function getRoundedRectanglePath(origin: Position, size: Size, cornerRadius: number, createPath: () => UnifiedPath2D, overshoot?: number): PathWithLength;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presenter",
3
- "version": "0.7.5",
3
+ "version": "0.8.0",
4
4
  "description": "A JavaScript presentation library",
5
5
  "main": "dist/presenter.js",
6
6
  "types": "dist/index.d.ts",