@pooder/kit 5.1.0 → 5.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @pooder/kit
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - image hatch overlay
8
+
3
9
  ## 5.1.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -52,12 +52,15 @@ declare class ImageTool implements Extension {
52
52
  private focusedImageId;
53
53
  private renderSeq;
54
54
  private dirtyTrackerDisposable?;
55
+ private cropShapeHatchPattern?;
56
+ private cropShapeHatchPatternColor?;
55
57
  activate(context: ExtensionContext): void;
56
58
  deactivate(context: ExtensionContext): void;
57
59
  private onToolActivated;
58
60
  private onSelectionChanged;
59
61
  private onSelectionCleared;
60
62
  private onSceneLayoutChanged;
63
+ private onSceneGeometryChanged;
61
64
  private syncToolActiveFromWorkbench;
62
65
  private isImageEditingVisible;
63
66
  private isDebugEnabled;
@@ -105,9 +108,15 @@ declare class ImageTool implements Extension {
105
108
  private getSourceSize;
106
109
  private getCoverScale;
107
110
  private getFrameVisualConfig;
111
+ private toSceneGeometryLike;
112
+ private resolveSceneGeometryForOverlay;
113
+ private resolveCutShapeRadius;
114
+ private getCropShapeHatchPattern;
115
+ private buildCropShapeOverlaySpecs;
108
116
  private resolveRenderImageState;
109
117
  private computeCanvasProps;
110
118
  private getCurrentSrc;
119
+ private applyImageControlVisibility;
111
120
  private upsertImageObject;
112
121
  private syncImageZOrder;
113
122
  private buildOverlaySpecs;
package/dist/index.d.ts CHANGED
@@ -52,12 +52,15 @@ declare class ImageTool implements Extension {
52
52
  private focusedImageId;
53
53
  private renderSeq;
54
54
  private dirtyTrackerDisposable?;
55
+ private cropShapeHatchPattern?;
56
+ private cropShapeHatchPatternColor?;
55
57
  activate(context: ExtensionContext): void;
56
58
  deactivate(context: ExtensionContext): void;
57
59
  private onToolActivated;
58
60
  private onSelectionChanged;
59
61
  private onSelectionCleared;
60
62
  private onSceneLayoutChanged;
63
+ private onSceneGeometryChanged;
61
64
  private syncToolActiveFromWorkbench;
62
65
  private isImageEditingVisible;
63
66
  private isDebugEnabled;
@@ -105,9 +108,15 @@ declare class ImageTool implements Extension {
105
108
  private getSourceSize;
106
109
  private getCoverScale;
107
110
  private getFrameVisualConfig;
111
+ private toSceneGeometryLike;
112
+ private resolveSceneGeometryForOverlay;
113
+ private resolveCutShapeRadius;
114
+ private getCropShapeHatchPattern;
115
+ private buildCropShapeOverlaySpecs;
108
116
  private resolveRenderImageState;
109
117
  private computeCanvasProps;
110
118
  private getCurrentSrc;
119
+ private applyImageControlVisibility;
111
120
  private upsertImageObject;
112
121
  private syncImageZOrder;
113
122
  private buildOverlaySpecs;