@overtone-art/canvas-editor-core 0.6.2 → 0.6.3
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/dist/index.d.mts +45 -4
- package/dist/index.d.ts +45 -4
- package/dist/index.global.js +52 -52
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +238 -71
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +188 -22
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{types-LM7pOkkj.d.mts → types-DSu2jbiV.d.mts} +8 -0
- package/dist/{types-LM7pOkkj.d.ts → types-DSu2jbiV.d.ts} +8 -0
- package/package.json +1 -1
package/dist/node.d.mts
CHANGED
package/dist/node.d.ts
CHANGED
|
@@ -397,6 +397,14 @@ interface PatternConfig {
|
|
|
397
397
|
rotationStepH: number;
|
|
398
398
|
/** Added rotation per vertical step, in degrees. */
|
|
399
399
|
rotationStepV: number;
|
|
400
|
+
/**
|
|
401
|
+
* Cap on how many tiles the grid lays across, counting the anchor tile. `0`
|
|
402
|
+
* (the default) fills the whole area — the cap is for a finite block of
|
|
403
|
+
* repeats, e.g. a three-across strip, rather than a full-bleed pattern.
|
|
404
|
+
*/
|
|
405
|
+
horizontalLimit?: number;
|
|
406
|
+
/** Cap on how many tiles the grid lays down the area. See {@link horizontalLimit}. */
|
|
407
|
+
verticalLimit?: number;
|
|
400
408
|
}
|
|
401
409
|
/** Fabric interaction flags frozen while a layer is rendered as a pattern. */
|
|
402
410
|
interface PatternLocks {
|
|
@@ -397,6 +397,14 @@ interface PatternConfig {
|
|
|
397
397
|
rotationStepH: number;
|
|
398
398
|
/** Added rotation per vertical step, in degrees. */
|
|
399
399
|
rotationStepV: number;
|
|
400
|
+
/**
|
|
401
|
+
* Cap on how many tiles the grid lays across, counting the anchor tile. `0`
|
|
402
|
+
* (the default) fills the whole area — the cap is for a finite block of
|
|
403
|
+
* repeats, e.g. a three-across strip, rather than a full-bleed pattern.
|
|
404
|
+
*/
|
|
405
|
+
horizontalLimit?: number;
|
|
406
|
+
/** Cap on how many tiles the grid lays down the area. See {@link horizontalLimit}. */
|
|
407
|
+
verticalLimit?: number;
|
|
400
408
|
}
|
|
401
409
|
/** Fabric interaction flags frozen while a layer is rendered as a pattern. */
|
|
402
410
|
interface PatternLocks {
|