@pixerate/editor 0.111.0 → 0.113.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/THIRD_PARTY_NOTICES.md +6 -0
- package/dist/chunk-4KLT7ZYS.cjs +781 -0
- package/dist/chunk-4KLT7ZYS.cjs.map +1 -0
- package/dist/{chunk-HHZ6ZJTW.js → chunk-CZOXTEMN.js} +1772 -456
- package/dist/chunk-CZOXTEMN.js.map +1 -0
- package/dist/chunk-LPYOIVLA.js +781 -0
- package/dist/chunk-LPYOIVLA.js.map +1 -0
- package/dist/{chunk-PHUMLSCW.cjs → chunk-YGIMK4NX.cjs} +1810 -494
- package/dist/chunk-YGIMK4NX.cjs.map +1 -0
- package/dist/{export-DoDhCszr.d.cts → export-CEXEzqBf.d.cts} +150 -18
- package/dist/{export-DBNVwb6h.d.ts → export-DIkoK8-r.d.ts} +150 -18
- package/dist/image-editor/index.cjs +1922 -788
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +233 -9
- package/dist/image-editor/index.d.ts +233 -9
- package/dist/image-editor/index.js +1208 -74
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +61 -2
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +29 -2
- package/dist/paint/index.d.ts +29 -2
- package/dist/paint/index.js +60 -1
- package/dist/paint-editor/index.cjs +6 -6
- package/dist/paint-editor/index.d.cts +3 -3
- package/dist/paint-editor/index.d.ts +3 -3
- package/dist/paint-editor/index.js +1 -1
- package/dist/{blending-DXl06NSx.d.ts → retouch-BXmeSCaB.d.ts} +218 -1
- package/dist/{blending-aOE6Y3UE.d.cts → retouch-CEIKR22W.d.cts} +218 -1
- package/package.json +1 -1
- package/skills/pixerate-image-editor/SKILL.md +30 -6
- package/skills/pixerate-image-editor/references/retouching.md +36 -0
- package/skills/pixerate-vector/SKILL.md +102 -5
- package/dist/chunk-FTBZPI77.cjs +0 -1
- package/dist/chunk-FTBZPI77.cjs.map +0 -1
- package/dist/chunk-HHZ6ZJTW.js.map +0 -1
- package/dist/chunk-PHUMLSCW.cjs.map +0 -1
- package/dist/chunk-VKK5VS2T.js +0 -1
- package/dist/chunk-VKK5VS2T.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { b as PixelSurface, B as BlendMode, a as TiledSurface } from './surface-
|
|
|
3
3
|
import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2$1, H as Homography } from './types-CwMPoRMU.cjs';
|
|
4
4
|
import { B as BezierPath } from './bezier-BfwIbVTl.cjs';
|
|
5
5
|
import { v as VectorSubpath, n as Vec2 } from './types-DyQq-WPY.cjs';
|
|
6
|
-
import { B as BrushSettings, M as MixerSettings, d as MixerLoad, f as
|
|
6
|
+
import { B as BrushSettings, M as MixerSettings, d as MixerLoad, f as RetouchSettings, g as StrokeCoverage, h as MixerTarget, i as MixerStroke, j as RetouchApply, c as StrokePoint, k as RetouchPaint, C as CoverageMap, P as PaintTileTarget, l as StrokeApply } from './retouch-CEIKR22W.cjs';
|
|
7
7
|
import { W as WarpPreset } from './warp-D5jz_tN7.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -281,11 +281,13 @@ interface ShapeComponent {
|
|
|
281
281
|
}
|
|
282
282
|
/** PSD data of a shape layer kept for round trips (see the PSD module). */
|
|
283
283
|
interface ShapePsdData {
|
|
284
|
-
/**
|
|
284
|
+
/** The vector blocks as read (`vsms` / `vmsk`, `vscg`, `vstk`, `vogk`, fill blocks), by key. */
|
|
285
285
|
blocks?: Array<{
|
|
286
286
|
key: string;
|
|
287
287
|
data: Uint8Array;
|
|
288
288
|
}>;
|
|
289
|
+
/** The shape as it was read (`shapeSignature`): while unchanged, export writes `blocks` back as they were. */
|
|
290
|
+
signature?: string;
|
|
289
291
|
}
|
|
290
292
|
/**
|
|
291
293
|
* A shape layer: vector components with a fill and a stroke. `surface` is the rendered result in
|
|
@@ -300,6 +302,8 @@ interface ShapeLayer extends LayerBase {
|
|
|
300
302
|
components: ShapeComponent[];
|
|
301
303
|
/** Default `nonzero`. */
|
|
302
304
|
fillRule?: ShapeFillRule;
|
|
305
|
+
/** The fill covers everything except the combined area (Photoshop shapes whose first component subtracts). */
|
|
306
|
+
inverted?: boolean;
|
|
303
307
|
/** `null`: no fill. */
|
|
304
308
|
fill: ShapePaint | null;
|
|
305
309
|
/** `null`: no stroke. */
|
|
@@ -375,8 +379,10 @@ interface ParagraphRun {
|
|
|
375
379
|
}
|
|
376
380
|
/** PSD data of a type layer kept for round trips (see the PSD module). */
|
|
377
381
|
interface TypePsdData {
|
|
378
|
-
/** The `TySh` block as read
|
|
382
|
+
/** The `TySh` block as read: written back while the layer is unchanged, else patched. */
|
|
379
383
|
tySh?: Uint8Array;
|
|
384
|
+
/** The layer's text, styles, frame and transform as read (`typeSignature`). */
|
|
385
|
+
signature?: string;
|
|
380
386
|
/** Additional-info blocks we do not model, by key. */
|
|
381
387
|
blocks?: Array<{
|
|
382
388
|
key: string;
|
|
@@ -941,6 +947,7 @@ interface SerializedShapeLayer extends SerializedLayerBase {
|
|
|
941
947
|
type: 'shape';
|
|
942
948
|
components: ShapeComponent[];
|
|
943
949
|
fillRule?: 'evenodd';
|
|
950
|
+
inverted?: true;
|
|
944
951
|
fill: ShapePaint | null;
|
|
945
952
|
stroke: ShapeStroke | null;
|
|
946
953
|
fillOpacity?: number;
|
|
@@ -952,6 +959,7 @@ interface SerializedShapeLayer extends SerializedLayerBase {
|
|
|
952
959
|
key: string;
|
|
953
960
|
data: string;
|
|
954
961
|
}>;
|
|
962
|
+
signature?: string;
|
|
955
963
|
};
|
|
956
964
|
}
|
|
957
965
|
/** A type layer: its text and styles, plus the pixels it showed (PNG) for loads without its fonts. */
|
|
@@ -978,6 +986,7 @@ interface SerializedTypeLayer extends SerializedLayerBase {
|
|
|
978
986
|
key: string;
|
|
979
987
|
data: string;
|
|
980
988
|
}>;
|
|
989
|
+
signature?: string;
|
|
981
990
|
};
|
|
982
991
|
}
|
|
983
992
|
type SerializedLayer = SerializedPixelLayer | SerializedAdjustmentLayer | SerializedGroupLayer | SerializedAnnotationLayer | SerializedSmartObjectLayer | SerializedShapeLayer | SerializedTypeLayer;
|
|
@@ -1207,6 +1216,15 @@ interface RenderOptions {
|
|
|
1207
1216
|
y: number;
|
|
1208
1217
|
diameter: number;
|
|
1209
1218
|
} | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* On-canvas text editing (`TextEditSession.overlay()`): the caret as a segment, the selected
|
|
1221
|
+
* ranges as quads and the text's frame, in natural pixels.
|
|
1222
|
+
*/
|
|
1223
|
+
textEdit?: {
|
|
1224
|
+
caret: [ImagePoint, ImagePoint] | null;
|
|
1225
|
+
selection: ImagePoint[][];
|
|
1226
|
+
frame: ImagePoint[] | null;
|
|
1227
|
+
} | null;
|
|
1210
1228
|
/** Free Transform's frame, handles and reference point in natural pixels (`FreeTransformTool.overlay()`). */
|
|
1211
1229
|
freeTransform?: {
|
|
1212
1230
|
outline: ImagePoint[];
|
|
@@ -1910,7 +1928,7 @@ declare const PSD_BLEND_KEYS: Record<string, LayerBlendMode>;
|
|
|
1910
1928
|
interface PsdLayerSummary {
|
|
1911
1929
|
name: string;
|
|
1912
1930
|
/** Our layer type, or `null` when the layer was dropped. */
|
|
1913
|
-
type: 'pixel' | 'adjustment' | 'group' | 'smart' | null;
|
|
1931
|
+
type: 'pixel' | 'adjustment' | 'group' | 'smart' | 'shape' | 'type' | null;
|
|
1914
1932
|
/** `mapped`: held exactly; `approximated`: imported with losses; `dropped`: left out. */
|
|
1915
1933
|
status: 'mapped' | 'approximated' | 'dropped';
|
|
1916
1934
|
/** What Photoshop calls it (`pixel`, `type`, `smart-object`, `fill`, `shape`, `Levels` …). */
|
|
@@ -2037,6 +2055,7 @@ interface ShapeLayerData {
|
|
|
2037
2055
|
fill?: ShapePaint | null;
|
|
2038
2056
|
stroke?: ShapeStroke | null;
|
|
2039
2057
|
fillRule?: ShapeFillRule;
|
|
2058
|
+
inverted?: boolean;
|
|
2040
2059
|
visible?: boolean;
|
|
2041
2060
|
opacity?: number;
|
|
2042
2061
|
blend?: BlendMode;
|
|
@@ -2482,6 +2501,21 @@ interface PaintOptions {
|
|
|
2482
2501
|
mixer: MixerSettings;
|
|
2483
2502
|
/** What the Mixer Brush carries now: its reservoir, how much is left and the picked-up colour. */
|
|
2484
2503
|
mixerLoad: MixerLoad;
|
|
2504
|
+
/** The retouching tools' options (aligned, sample, spot healing type, tone range, exposure, sponge mode, smudge strength). */
|
|
2505
|
+
retouch: RetouchSettings;
|
|
2506
|
+
/** The Clone Stamp and Healing Brush source point (Alt-click), or `null` when none is set. */
|
|
2507
|
+
cloneSource: CloneSource | null;
|
|
2508
|
+
}
|
|
2509
|
+
/** Where the Clone Stamp and Healing Brush sample from. */
|
|
2510
|
+
interface CloneSource {
|
|
2511
|
+
/** The source point, document pixels. */
|
|
2512
|
+
x: number;
|
|
2513
|
+
y: number;
|
|
2514
|
+
/** With Aligned on: the offset (source − stroke start) the first stroke fixed, kept for the next strokes; `null` until a stroke has used the point. */
|
|
2515
|
+
offset: {
|
|
2516
|
+
x: number;
|
|
2517
|
+
y: number;
|
|
2518
|
+
} | null;
|
|
2485
2519
|
}
|
|
2486
2520
|
/**
|
|
2487
2521
|
* The geometry of one shape component: a live shape (`{ kind: 'rect' | 'ellipse' | 'polygon' |
|
|
@@ -2494,6 +2528,11 @@ interface ShapeGeometryInput {
|
|
|
2494
2528
|
/** Default `combine`. */
|
|
2495
2529
|
op?: ShapeOperation;
|
|
2496
2530
|
}
|
|
2531
|
+
/** A stroke as tools and UIs give it: any `ShapeStroke` fields, the paint as a colour string or a paint (or `color`). */
|
|
2532
|
+
type ShapeStrokeInput = Omit<Partial<ShapeStroke>, 'paint'> & {
|
|
2533
|
+
paint?: ShapePaint | string;
|
|
2534
|
+
color?: string;
|
|
2535
|
+
};
|
|
2497
2536
|
/** A new shape layer: its geometry (one component, or `components`), fill and stroke. */
|
|
2498
2537
|
interface ShapeLayerInit extends ShapeGeometryInput, LayerPlacement {
|
|
2499
2538
|
/** Several components instead of `shape` / `subpaths`, bottom first. */
|
|
@@ -2502,10 +2541,7 @@ interface ShapeLayerInit extends ShapeGeometryInput, LayerPlacement {
|
|
|
2502
2541
|
/** A colour string or a paint; `null` for none. Default the foreground colour (none for a stroke-only open path). */
|
|
2503
2542
|
fill?: ShapePaint | string | null;
|
|
2504
2543
|
/** `{ width, paint, align?, cap?, join?, miterLimit?, dashes?, dashOffset? }`, or `null` / missing for none. */
|
|
2505
|
-
stroke?:
|
|
2506
|
-
paint?: ShapePaint | string;
|
|
2507
|
-
color?: string;
|
|
2508
|
-
}) | null;
|
|
2544
|
+
stroke?: ShapeStrokeInput | null;
|
|
2509
2545
|
fillRule?: ShapeFillRule;
|
|
2510
2546
|
opacity?: number;
|
|
2511
2547
|
blend?: BlendMode;
|
|
@@ -2589,8 +2625,12 @@ interface TypeLayerInfo {
|
|
|
2589
2625
|
rendering: 'live' | 'stored';
|
|
2590
2626
|
annotationId?: string;
|
|
2591
2627
|
}
|
|
2628
|
+
/** The retouching tools (see `@pixerate/editor/paint`'s retouch module). */
|
|
2629
|
+
type RetouchTool = 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge';
|
|
2630
|
+
declare const RETOUCH_TOOLS: readonly RetouchTool[];
|
|
2631
|
+
declare const isRetouchTool: (tool: unknown) => tool is RetouchTool;
|
|
2592
2632
|
/** Paint tools a stroke can use. */
|
|
2593
|
-
type StrokeTool = 'brush' | 'eraser' | 'mixer';
|
|
2633
|
+
type StrokeTool = 'brush' | 'eraser' | 'mixer' | RetouchTool;
|
|
2594
2634
|
/** A stroke: tool, target (default the active layer and target) and brush / colour overrides. */
|
|
2595
2635
|
interface StrokeInit {
|
|
2596
2636
|
tool?: StrokeTool;
|
|
@@ -2607,6 +2647,16 @@ interface StrokeInit {
|
|
|
2607
2647
|
mixer?: Partial<MixerSettings>;
|
|
2608
2648
|
/** Eraser colour on locked transparency / masks (default the background). */
|
|
2609
2649
|
background?: string | number[];
|
|
2650
|
+
/** Overrides of the paint options' retouch settings (the retouching tools). */
|
|
2651
|
+
retouch?: Partial<RetouchSettings>;
|
|
2652
|
+
/**
|
|
2653
|
+
* Clone Stamp / Healing Brush: the source point for this stroke (document pixels). Given, it
|
|
2654
|
+
* becomes the clone source (as an Alt-click), so the stroke starts its offset afresh.
|
|
2655
|
+
*/
|
|
2656
|
+
source?: {
|
|
2657
|
+
x: number;
|
|
2658
|
+
y: number;
|
|
2659
|
+
};
|
|
2610
2660
|
/** Kept with the stroke for replays (v1 brushes have no jitter). */
|
|
2611
2661
|
seed?: number;
|
|
2612
2662
|
}
|
|
@@ -2630,6 +2680,28 @@ interface PaintStrokeResult {
|
|
|
2630
2680
|
dabs: number;
|
|
2631
2681
|
/** The Mixer Brush's load after the stroke (tool `mixer` only). */
|
|
2632
2682
|
mixerLoad?: MixerLoad;
|
|
2683
|
+
/**
|
|
2684
|
+
* Clone Stamp / Healing Brush: the offset used (source − first stroke point, whole pixels) and
|
|
2685
|
+
* where the stroke's first point sampled.
|
|
2686
|
+
*/
|
|
2687
|
+
clone?: {
|
|
2688
|
+
offset: {
|
|
2689
|
+
x: number;
|
|
2690
|
+
y: number;
|
|
2691
|
+
};
|
|
2692
|
+
source: {
|
|
2693
|
+
x: number;
|
|
2694
|
+
y: number;
|
|
2695
|
+
};
|
|
2696
|
+
aligned: boolean;
|
|
2697
|
+
};
|
|
2698
|
+
/** Spot Healing: the offset of the patch it copied, or `null` when it filled smoothly. */
|
|
2699
|
+
spotHeal?: {
|
|
2700
|
+
offset: {
|
|
2701
|
+
x: number;
|
|
2702
|
+
y: number;
|
|
2703
|
+
} | null;
|
|
2704
|
+
};
|
|
2633
2705
|
}
|
|
2634
2706
|
/** An opaque pre-stroke history snapshot. */
|
|
2635
2707
|
type HistoryEntryHandle = {
|
|
@@ -2642,11 +2714,42 @@ interface MixerStrokeInit {
|
|
|
2642
2714
|
/** Stores the brush load when the stroke ends and returns it (after any clean). */
|
|
2643
2715
|
end(load: MixerLoad): MixerLoad;
|
|
2644
2716
|
}
|
|
2717
|
+
/** A stroke that paints dab by dab into live pixels (Mixer Brush, Smudge, Sponge). */
|
|
2718
|
+
interface LiveDabStroke {
|
|
2719
|
+
push(points: readonly StrokePoint[]): CropBox[];
|
|
2720
|
+
finish(last?: StrokePoint): CropBox[];
|
|
2721
|
+
readonly bounds: CropBox | null;
|
|
2722
|
+
readonly dabCount: number;
|
|
2723
|
+
}
|
|
2724
|
+
/**
|
|
2725
|
+
* How a retouching stroke starts (see `PaintStrokeSession`): either coverage-based (Clone Stamp,
|
|
2726
|
+
* Healing Brush, Spot Healing, Dodge, Burn: `coverage` composited with `paint()` over the
|
|
2727
|
+
* pre-stroke pixels, optionally replaced by `finalPaint` when the stroke ends) or sequential
|
|
2728
|
+
* (`create`: dabs over live pixels, Smudge and Sponge).
|
|
2729
|
+
*/
|
|
2730
|
+
type RetouchStrokeInit = {
|
|
2731
|
+
kind: 'coverage';
|
|
2732
|
+
coverage: StrokeCoverage;
|
|
2733
|
+
apply: RetouchApply;
|
|
2734
|
+
/** Called with the first point before any dab is shown (the clone offset is fixed here). */
|
|
2735
|
+
start(first: StrokePoint): void;
|
|
2736
|
+
/** What the coverage lays while the stroke is drawn. */
|
|
2737
|
+
paint(): RetouchPaint;
|
|
2738
|
+
/** What it lays once the stroke ends, from the whole coverage (healing); `null` keeps `paint()`. */
|
|
2739
|
+
finalPaint?(coverage: CoverageMap): RetouchPaint | null;
|
|
2740
|
+
/** Extra result fields. */
|
|
2741
|
+
result?(): Partial<PaintStrokeResult>;
|
|
2742
|
+
} | {
|
|
2743
|
+
kind: 'dabs';
|
|
2744
|
+
/** Makes the stroke over the session's live pixels (RGBA, or an RGBA view of a mask). */
|
|
2745
|
+
create(pixels: PaintTileTarget): LiveDabStroke;
|
|
2746
|
+
result?(): Partial<PaintStrokeResult>;
|
|
2747
|
+
};
|
|
2645
2748
|
/**
|
|
2646
2749
|
* A stroke in progress (see `beginStroke`): `push` input points as they arrive, then `end` (one
|
|
2647
2750
|
* undo step) or `cancel`. Brush and eraser strokes build up a coverage map composited over the
|
|
2648
2751
|
* pre-stroke pixels; Mixer Brush strokes paint dab by dab into the live pixels, so each dab picks
|
|
2649
|
-
* up what the dabs before it laid down.
|
|
2752
|
+
* up what the dabs before it laid down. Retouching strokes take one of the two shapes.
|
|
2650
2753
|
*/
|
|
2651
2754
|
declare class PaintStrokeSession {
|
|
2652
2755
|
private readonly controller;
|
|
@@ -2663,6 +2766,10 @@ declare class PaintStrokeSession {
|
|
|
2663
2766
|
private readonly stroke;
|
|
2664
2767
|
private readonly mixer;
|
|
2665
2768
|
private readonly mixerInit;
|
|
2769
|
+
private readonly retouch;
|
|
2770
|
+
/** Writes a mask's RGBA view back (sequential retouching on a mask). */
|
|
2771
|
+
private readonly flushView;
|
|
2772
|
+
private started;
|
|
2666
2773
|
/** Mixer tiles written since the last update: they get new tile objects so the compositor sees them change. */
|
|
2667
2774
|
private readonly fresh;
|
|
2668
2775
|
private last;
|
|
@@ -2671,7 +2778,9 @@ declare class PaintStrokeSession {
|
|
|
2671
2778
|
id: string;
|
|
2672
2779
|
channel: LayerTarget;
|
|
2673
2780
|
surface: TiledSurface;
|
|
2674
|
-
}, stroke: StrokeCoverage | MixerStrokeInit, apply: StrokeApply);
|
|
2781
|
+
}, stroke: StrokeCoverage | MixerStrokeInit | RetouchStrokeInit, apply: StrokeApply);
|
|
2782
|
+
/** The new tile of a coverage stroke over the pre-stroke tile `src`. */
|
|
2783
|
+
private compositeTile;
|
|
2675
2784
|
/** The live pixels a mixer stroke reads and writes; base tiles are copied on first write. */
|
|
2676
2785
|
private mixerPixels;
|
|
2677
2786
|
get layerId(): string;
|
|
@@ -3164,9 +3273,10 @@ declare class ImageEditorController {
|
|
|
3164
3273
|
mask?: boolean;
|
|
3165
3274
|
}): string | null;
|
|
3166
3275
|
/** Brush settings, colours and tool options of the paint tools (view state, no undo). */
|
|
3167
|
-
setPaintOptions(options: Partial<Omit<PaintOptions, 'brush' | 'mixer' | 'mixerLoad'>> & {
|
|
3276
|
+
setPaintOptions(options: Partial<Omit<PaintOptions, 'brush' | 'mixer' | 'mixerLoad' | 'retouch' | 'cloneSource'>> & {
|
|
3168
3277
|
brush?: Partial<BrushSettings>;
|
|
3169
3278
|
mixer?: Partial<MixerSettings>;
|
|
3279
|
+
retouch?: Partial<RetouchSettings>;
|
|
3170
3280
|
}): PaintOptions;
|
|
3171
3281
|
/**
|
|
3172
3282
|
* Loads the Mixer Brush's reservoir full with `color` (default the foreground); the picked-up
|
|
@@ -3177,6 +3287,14 @@ declare class ImageEditorController {
|
|
|
3177
3287
|
cleanMixerBrush(): MixerLoad;
|
|
3178
3288
|
/** Empties the Mixer Brush entirely (no reservoir, nothing picked up). Returns the brush load. */
|
|
3179
3289
|
emptyMixerBrush(): MixerLoad;
|
|
3290
|
+
/**
|
|
3291
|
+
* Sets (Alt-click) or clears the Clone Stamp and Healing Brush source point, in document
|
|
3292
|
+
* pixels. The next stroke fixes the offset from its first point. View state, no undo.
|
|
3293
|
+
*/
|
|
3294
|
+
setCloneSource(point: {
|
|
3295
|
+
x: number;
|
|
3296
|
+
y: number;
|
|
3297
|
+
} | null): CloneSource | null;
|
|
3180
3298
|
/** D: black foreground, white background. */
|
|
3181
3299
|
resetPaintColors(): void;
|
|
3182
3300
|
/** X: swaps the foreground and background colours. */
|
|
@@ -3192,6 +3310,12 @@ declare class ImageEditorController {
|
|
|
3192
3310
|
* without recording history.
|
|
3193
3311
|
*/
|
|
3194
3312
|
beginStroke(init?: StrokeInit): PaintStrokeSession;
|
|
3313
|
+
/** A retouching stroke's start: its settings, what it samples and how it composites. */
|
|
3314
|
+
private retouchStroke;
|
|
3315
|
+
/** A pixel source over a surface (layer pixels or a mask) in layer space at `offset`. */
|
|
3316
|
+
private surfaceSource;
|
|
3317
|
+
/** A pixel source over the composite of the current layers (through `throughId` and below, or all of them), as it is now. */
|
|
3318
|
+
private compositeSource;
|
|
3195
3319
|
/** A Mixer Brush stroke's start: the settings, and the load (refilled when asked or set to). */
|
|
3196
3320
|
private mixerStroke;
|
|
3197
3321
|
/** @internal Shows a stroke's live surface (no history). */
|
|
@@ -3540,10 +3664,7 @@ declare class ImageEditorController {
|
|
|
3540
3664
|
*/
|
|
3541
3665
|
setShapeStyle(id: string, changes: {
|
|
3542
3666
|
fill?: ShapePaint | string | null;
|
|
3543
|
-
stroke?:
|
|
3544
|
-
paint?: ShapePaint | string;
|
|
3545
|
-
color?: string;
|
|
3546
|
-
}) | null;
|
|
3667
|
+
stroke?: ShapeStrokeInput | null;
|
|
3547
3668
|
fillRule?: ShapeFillRule;
|
|
3548
3669
|
}, commitToHistory?: boolean): ShapeLayerInfo;
|
|
3549
3670
|
private componentIndex;
|
|
@@ -3583,6 +3704,11 @@ declare class ImageEditorController {
|
|
|
3583
3704
|
height: number;
|
|
3584
3705
|
summary: PsdImportResult['summary'];
|
|
3585
3706
|
};
|
|
3707
|
+
/**
|
|
3708
|
+
* Type layers whose fonts the shaper lacks: they keep Photoshop's pixels, are marked with their
|
|
3709
|
+
* `missingFonts`, and a warning names them (an edit draws them with a fallback).
|
|
3710
|
+
*/
|
|
3711
|
+
private checkPsdFonts;
|
|
3586
3712
|
/**
|
|
3587
3713
|
* The document as an 8-bit RGB PSD (PSB above 30 000 px) with real layers, groups, adjustment
|
|
3588
3714
|
* layers and masks, in the source frame. Layer filters and parametric (depth) masks are baked
|
|
@@ -3897,7 +4023,13 @@ interface ImageAnnotation extends BaseAnnotation {
|
|
|
3897
4023
|
}
|
|
3898
4024
|
type Annotation = PenAnnotation | RectAnnotation | CircleAnnotation | ArrowAnnotation | LineAnnotation | TextAnnotation | ImageAnnotation;
|
|
3899
4025
|
type CreateAnnotationPayload = Omit<PenAnnotation, 'id'> | Omit<RectAnnotation, 'id'> | Omit<CircleAnnotation, 'id'> | Omit<ArrowAnnotation, 'id'> | Omit<LineAnnotation, 'id'> | Omit<TextAnnotation, 'id'> | Omit<ImageAnnotation, 'id'>;
|
|
3900
|
-
type ImageEditorTool = 'select' | 'crop' | 'pen' | 'rect' | 'circle' | 'arrow' | 'line' | 'text' | 'watermark' | 'move' | 'brush' | 'eraser' | 'mixer'
|
|
4026
|
+
type ImageEditorTool = 'select' | 'crop' | 'pen' | 'rect' | 'circle' | 'arrow' | 'line' | 'text' | 'watermark' | 'move' | 'brush' | 'eraser' | 'mixer'
|
|
4027
|
+
/** Retouching (see `RetouchTool`): Clone Stamp, Healing Brush, Spot Healing, Smudge, Dodge, Burn, Sponge. */
|
|
4028
|
+
| 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge'
|
|
4029
|
+
/** Live shape layers (see `ShapeDrawGesture`). */
|
|
4030
|
+
| 'shape'
|
|
4031
|
+
/** Live type layers, edited on the canvas (see `TypeToolGesture`). */
|
|
4032
|
+
| 'type';
|
|
3901
4033
|
type ImageEditorFit = 'contain' | 'margin';
|
|
3902
4034
|
interface ImageEditorState {
|
|
3903
4035
|
sourceUrl: string | null;
|
|
@@ -4061,4 +4193,4 @@ interface PsdExportResult {
|
|
|
4061
4193
|
/** Writes the prepared stack as PSD (or PSB) bytes. */
|
|
4062
4194
|
declare function exportPsd(input: PsdExportInput): PsdExportResult;
|
|
4063
4195
|
|
|
4064
|
-
export { type AdjustmentLayerBase as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type SmartFilterStack as E, type SmartFilter as F, type SmartObjectLayer as G, type HueRange as H, type ImageEditorAssetStore as I, type SmartContents as J, type SmartDocument as K, type LevelsChannel as L, type SmartPlacement as M, type FreeTransformGeometry as N, type TextShaper as O, type PsdExportResult as P, type TextFont as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type LayerPlacement as U, type FreeTransformMode as V, type FreeTransformResult as W, FreeTransformSession as X, type FreeTransformInit as Y, type TransformAnchor as Z, type AIResultOptions as _, type ImageAdjustments as a, LayerOperationError as a$, type AdjustmentLayerInit as a0, type AdjustmentLayerUpdate as a1, type AnnotationPlacement as a2, type AnnotationType as a3, type ArrowAnnotation as a4, type AspectRatio as a5, type BaseAnnotation as a6, type BlackWhiteParams as a7, type BlurFilter as a8, type CircleAnnotation as a9, HISTOGRAM_BINS as aA, type HistogramChannel as aB, type HistoryEntryHandle as aC, type HueSaturationParams as aD, IMAGE_EDITOR_SCHEMA_VERSION as aE, type ImageAnnotation as aF, type ImageDimensions as aG, type ImageEditorAIHooks as aH, type ImageEditorFit as aI, type ImageEditorOptions as aJ, ImageEditorRenderer as aK, type ImageEditorState as aL, type ImageEditorTool as aM, type ImageLayerType as aN, type InpaintHook as aO, type InpaintOptions as aP, type InvertParams as aQ, LAYERED_SCHEMA_VERSION as aR, LIVE_SHAPE_KINDS as aS, type LaidChar as aT, type LaidFragment as aU, type LaidLine as aV, type LayerBase as aW, type LayerBlendMode as aX, type LayerFilterKind as aY, type LayerLocation as aZ, type LayerMaskProps as a_, type ColorBalanceParams as aa, type ColorBalanceTone as ab, type ColorRangeOptions as ac, type ColorRangeSample as ad, type CreateAnnotationPayload as ae, type CropHandle as af, type CurvesParams as ag, DEFAULT_ADJUSTMENTS as ah, DEFAULT_AUTO_LEADING as ai, DEFAULT_DEPTH_MASK as aj, DEFAULT_MITER_LIMIT as ak, DEFAULT_REFINE_EDGE_PARAMS as al, DEFAULT_TEXT_STYLE as am, DEFAULT_TRANSFORM as an, type DeserializeContext as ao, type DevelopSettings as ap, EMPTY_DISTANCE as aq, type ExportOptions as ar, FREE_TRANSFORM_CONTENTS as as, FREE_TRANSFORM_MODES as at, type FillOptions as au, type FreeTransformContent as av, type FreeTransformHost as aw, type FreeTransformPreview as ax, GUIDED_FILTER_EPS as ay, type GroupLayer as az, type SerializedImageEditorState as b, type ShapeArrowhead as b$, type LayerProperties as b0, type LayerSourcesHost as b1, type LayerTarget as b2, type LegacySerializedImageEditorState as b3, type LevelsParams as b4, type LineAnnotation as b5, type LiveShape as b6, type LiveShapeKind as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, type RectAnnotation as bA, type RemoveBackgroundHook as bB, type RemoveBackgroundOptions as bC, type RenderOptions as bD, SELECTION_MODES as bE, SELECTION_MODIFY_OPS as bF, SHAPE_OPERATIONS as bG, SHAPE_RENDER_MARGIN as bH, type SampleOptions as bI, type SelectionChannel as bJ, type SelectionCommandOptions as bK, type SelectionModifyOp as bL, type SerializeContext as bM, type SerializedAdjustmentLayer as bN, type SerializedAnnotationLayer as bO, type SerializedGroupLayer as bP, type SerializedLayerEffects as bQ, type SerializedLayeredImageEditorState as bR, type SerializedPattern as bS, type SerializedPixelLayer as bT, type SerializedRasterMask as bU, type SerializedSelection as bV, type SerializedShapeLayer as bW, type SerializedSmartContents as bX, type SerializedSmartFilter as bY, type SerializedSmartObjectLayer as bZ, type SerializedTypeLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type ParagraphRun as bf, type ParagraphStyle as bg, type PenAnnotation as bh, type PhotoFilterParams as bi, type PixelBuffer as bj, type PixelLayerInit as bk, type PosterizeParams as bl, type PsdChannel as bm, type PsdExportInput as bn, type PsdFile as bo, type PsdHeader as bp, type PsdImportOptions as bq, type PsdImportResult as br, type PsdLayerMask as bs, type PsdLayerRecord as bt, type PsdLayerSummary as bu, type PsdRect as bv, type PsdResource as bw, type PsdSmartFilter as bx, type PsdTaggedBlock as by, type PsdTreeNode as bz, type AdjustmentLayer as c, contractCoverage as c$, type ShapeComponent as c0, type ShapeEnv as c1, type ShapeFillRule as c2, type ShapeGeometryInput as c3, type ShapeLayerData as c4, type ShapeLayerInfo as c5, type ShapeLayerInit as c6, type ShapeLineCap as c7, type ShapeLineJoin as c8, type ShapeOperation as c9, type TypeLayerInfo as cA, type TypePsdData as cB, type VibranceParams as cC, type ViewportMetrics as cD, addLayerEffect as cE, addLayerFilter as cF, adjustmentNodeAsLayer as cG, anchorPoint as cH, annotationBlend as cI, annotationOfShape as cJ, annotationOfType as cK, applyImageProjectionToContext as cL, applyParams as cM, blurFilter as cN, borderCoverage as cO, boxMean as cP, boxPointOf as cQ, buildLayerMaskPlanes as cR, calculateCropDrag as cS, canvasToImagePoint as cT, caretAt as cU, clampCropToImage as cV, colorRange as cW, combineSelections as cX, componentPath as cY, computeHistogram as cZ, computeSelectionBounds as c_, type ShapePaint as ca, type ShapePsdData as cb, type ShapeSelectionOptions as cc, type ShapeStroke as cd, type ShapeStrokeAlign as ce, type SmartFilterKind as cf, type SmartObjectInfo as cg, type SmartPsdData as ch, type StrokeInit as ci, type StrokeTool as cj, TEXT_ALIGNS as ck, TEXT_RENDER_MARGIN as cl, TEXT_STYLE_FIELDS as cm, TONE_RANGE_PRESETS as cn, TRANSFORM_ANCHORS as co, type TextAlign as cp, type TextAnnotation as cq, type TextLayerInit as cr, type TextLayout as cs, type TextRun as ct, type TextStyle as cu, type ThresholdParams as cv, type ToneRangePreset as cw, type TransformParams as cx, type TransformReadout as cy, type TypeLayerData as cz, type AdjustmentParamsMap as d, isSpatialFilter as d$, cornersFromMatrix as d0, coverageToByte as d1, createSelectionMask as d2, createShapeLayer as d3, createTypeLayer as d4, decodeLayerChannel as d5, decodeLayerMask as d6, decodeMergedImage as d7, decodePngDataUrl as d8, decodeSelectionRle as d9, getAnnotationBounds as dA, getCropCursor as dB, getRotatedSize as dC, getViewportMetrics as dD, getViewportProjection as dE, globalImageCache as dF, greyMorphology as dG, groupLayers as dH, guidePlanes as dI, guidedFilterColor as dJ, hasSurface as dK, hasWarp as dL, hashMaskContent as dM, histogramPath as dN, hitTestAnnotation as dO, hitTestCrop as dP, hueRange as dQ, identityTransform as dR, imageToCanvasPoint as dS, importPsd as dT, invertSelection as dU, isActiveFilter as dV, isIdentityTransform as dW, isQuarterTurnSwapped as dX, isRenderedLayer as dY, isSelectionEmpty as dZ, isSelectionMode as d_, defaultShapeName as da, depthMaskAlpha as db, describeTransform as dc, deserializeEffects as dd, deserializeLayer as de, deserializeLayers as df, deserializePatterns as dg, deserializeSelection as dh, developFilter as di, distanceTransform as dj, duplicateLayer as dk, edgeWidth as dl, ellipsePoints as dm, ellipseSelection as dn, encodeSelectionRle as dp, encodeSurface as dq, expandCoverage as dr, exportPsd as ds, featherCoverage as dt, fitParagraphRuns as du, fitRuns as dv, flipCorners as dw, fontOf as dx, fullSelection as dy, geometryHomography as dz, type AdjustmentLayerMask as e, renderShapeRect as e$, isTransformAnchor as e0, isValidWarp as e1, layerEffectsOf as e2, layerMaskCoverage as e3, layerMaskFromSelection as e4, layerMaskKey as e5, layerName as e6, layerTree as e7, layerTypeLabel as e8, layoutText as e9, paragraphRanges as eA, parseBlend as eB, parseColor as eC, parseSelectionMode as eD, patchParagraphStyle as eE, patchTextStyle as eF, pixelLayerBounds as eG, pixelLayers as eH, placeLayer as eI, polygonCoverage as eJ, polygonSelection as eK, presetWarp as eL, previewStep as eM, projectImagePoint as eN, projectImageRect as eO, projectMaskCoverage as eP, psdToLayers as eQ, readPsd as eR, rectSelection as eS, referencePoint as eT, refineCoverage as eU, refineEdgeHalo as eV, refineSelection as eW, removeLayer as eX, removeLayerEffect as eY, removeLayerFilter as eZ, renderShape as e_, liveComponent as ea, liveShapeSubpaths as eb, magicWand as ec, mapCropHandle as ed, mapSubpaths as ee, matrixFromCorners as ef, matrixFromParams as eg, mergeShapeComponents as eh, migrateSerializedImageEditorState as ei, migrateToLayeredState as ej, modifySelection as ek, moveLayer as el, newLayerId as em, normalizeAngle as en, normalizeFilter as eo, normalizeLayerMask as ep, normalizeLiveShape as eq, normalizeRect as er, normalizeRefineEdgeParams as es, normalizeShapePaint as et, normalizeShapeStroke as eu, normalizeStoredAdjustments as ev, normalizeSubpaths as ew, normalizeText as ex, offsetLayer as ey, offsetShape as ez, type AdjustmentLayerOf as f, updateLayerEffect as f$, renderText as f0, replaceTextRange as f1, requireLayer as f2, requireOperation as f3, requireShapeLayer as f4, requireTypeLayer as f5, requireUnlocked as f6, rerenderShape as f7, rerenderText as f8, resizePixels as f9, shapeRenderClip as fA, shiftCoverage as fB, smartObjectLayers as fC, smoothCoverage as fD, spliceRuns as fE, srgb8ToLab as fF, styleAt as fG, textIndexAt as fH, textMatrix as fI, textOutlines as fJ, textRange as fK, toHex as fL, toTextSpace as fM, toneRange as fN, transformHomography as fO, transformMap as fP, transformShapeComponents as fQ, transformTypeLayer as fR, transformedBox as fS, transformedPoint as fT, typeAsPixelLayer as fU, typeFrame as fV, typeFromAnnotation as fW, typeLayerName as fX, ungroupLayer as fY, unionRect as fZ, unprojectCanvasPoint as f_, resizeSelection as fa, resolveExternalAssets as fb, restyleRange as fc, runLayerFilters as fd, selectionArea as fe, selectionFromCoverage as ff, selectionFromPixels as fg, selectionToCoverage as fh, selectionToPixels as fi, selectionValueAt as fj, serializeContents as fk, serializeEffects as fl, serializeLayer as fm, serializeLayers as fn, serializeLayersExternal as fo, serializePatterns as fp, serializeSelection as fq, setLayerEffects as fr, setLayerEffectsEnabled as fs, setLayerMask as ft, setLayerProperties as fu, shapeAsPixelLayer as fv, shapeFromAnnotation as fw, shapeGeometryBounds as fx, shapeLayers as fy, shapeOutline as fz, ImageEditorController as g, updateLayerFilter as g0, updateLayerMaskProps as g1, updateShapeLayer as g2, updateTypeLayer as g3, withNewIds as g4, writePsd as g5, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
|
|
4196
|
+
export { type FreeTransformResult as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type SmartFilterStack as E, type SmartFilter as F, type SmartObjectLayer as G, type HueRange as H, type ImageEditorAssetStore as I, type SmartContents as J, type SmartDocument as K, type LevelsChannel as L, type SmartPlacement as M, type FreeTransformGeometry as N, type TextShaper as O, type PsdExportResult as P, type TextFont as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type LiveShapeKind as U, type TextAlign as V, type TextStyle as W, type ParagraphStyle as X, type TypeLayerInfo as Y, type LayerPlacement as Z, type FreeTransformMode as _, type ImageAdjustments as a, type LaidLine as a$, FreeTransformSession as a0, type FreeTransformInit as a1, type TransformAnchor as a2, type AIResultOptions as a3, type AdjustmentLayerBase as a4, type AdjustmentLayerInit as a5, type AdjustmentLayerUpdate as a6, type AnnotationPlacement as a7, type AnnotationType as a8, type ArrowAnnotation as a9, type FillOptions as aA, type FreeTransformContent as aB, type FreeTransformHost as aC, type FreeTransformPreview as aD, GUIDED_FILTER_EPS as aE, type GroupLayer as aF, HISTOGRAM_BINS as aG, type HistogramChannel as aH, type HistoryEntryHandle as aI, type HueSaturationParams as aJ, IMAGE_EDITOR_SCHEMA_VERSION as aK, type ImageAnnotation as aL, type ImageDimensions as aM, type ImageEditorAIHooks as aN, type ImageEditorFit as aO, type ImageEditorOptions as aP, ImageEditorRenderer as aQ, type ImageEditorState as aR, type ImageEditorTool as aS, type ImageLayerType as aT, type InpaintHook as aU, type InpaintOptions as aV, type InvertParams as aW, LAYERED_SCHEMA_VERSION as aX, LIVE_SHAPE_KINDS as aY, type LaidChar as aZ, type LaidFragment as a_, type AspectRatio as aa, type BaseAnnotation as ab, type BlackWhiteParams as ac, type BlurFilter as ad, type CircleAnnotation as ae, type CloneSource as af, type ColorBalanceParams as ag, type ColorBalanceTone as ah, type ColorRangeOptions as ai, type ColorRangeSample as aj, type CreateAnnotationPayload as ak, type CropHandle as al, type CurvesParams as am, DEFAULT_ADJUSTMENTS as an, DEFAULT_AUTO_LEADING as ao, DEFAULT_DEPTH_MASK as ap, DEFAULT_MITER_LIMIT as aq, DEFAULT_REFINE_EDGE_PARAMS as ar, DEFAULT_TEXT_STYLE as as, DEFAULT_TRANSFORM as at, type DeserializeContext as au, type DevelopSettings as av, EMPTY_DISTANCE as aw, type ExportOptions as ax, FREE_TRANSFORM_CONTENTS as ay, FREE_TRANSFORM_MODES as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, type LayerBase as b0, type LayerBlendMode as b1, type LayerFilterKind as b2, type LayerLocation as b3, type LayerMaskProps as b4, LayerOperationError as b5, type LayerProperties as b6, type LayerSourcesHost as b7, type LayerTarget as b8, type LegacySerializedImageEditorState as b9, type PsdResource as bA, type PsdSmartFilter as bB, type PsdTaggedBlock as bC, type PsdTreeNode as bD, RETOUCH_TOOLS as bE, type RectAnnotation as bF, type RemoveBackgroundHook as bG, type RemoveBackgroundOptions as bH, type RenderOptions as bI, type RetouchStrokeInit as bJ, type RetouchTool as bK, SELECTION_MODES as bL, SELECTION_MODIFY_OPS as bM, SHAPE_OPERATIONS as bN, SHAPE_RENDER_MARGIN as bO, type SampleOptions as bP, type SelectionChannel as bQ, type SelectionCommandOptions as bR, type SelectionModifyOp as bS, type SerializeContext as bT, type SerializedAdjustmentLayer as bU, type SerializedAnnotationLayer as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, type LevelsParams as ba, type LineAnnotation as bb, type LiveShape as bc, type MagicWandOptions as bd, type MixerStrokeInit as be, PARAGRAPH_STYLE_FIELDS as bf, PSD_BLEND_KEYS as bg, type PaintOptions as bh, type PaintStrokeResult as bi, PaintStrokeSession as bj, type ParagraphRun as bk, type PenAnnotation as bl, type PhotoFilterParams as bm, type PixelBuffer as bn, type PixelLayerInit as bo, type PosterizeParams as bp, type PsdChannel as bq, type PsdExportInput as br, type PsdFile as bs, type PsdHeader as bt, type PsdImportOptions as bu, type PsdImportResult as bv, type PsdLayerMask as bw, type PsdLayerRecord as bx, type PsdLayerSummary as by, type PsdRect as bz, type AdjustmentLayer as c, colorRange as c$, type SerializedSelection as c0, type SerializedShapeLayer as c1, type SerializedSmartContents as c2, type SerializedSmartFilter as c3, type SerializedSmartObjectLayer as c4, type SerializedTypeLayer as c5, type ShapeArrowhead as c6, type ShapeComponent as c7, type ShapeEnv as c8, type ShapeFillRule as c9, type TextRun as cA, type ThresholdParams as cB, type ToneRangePreset as cC, type TransformParams as cD, type TransformReadout as cE, type TypeLayerData as cF, type TypePsdData as cG, type VibranceParams as cH, type ViewportMetrics as cI, addLayerEffect as cJ, addLayerFilter as cK, adjustmentNodeAsLayer as cL, anchorPoint as cM, annotationBlend as cN, annotationOfShape as cO, annotationOfType as cP, applyImageProjectionToContext as cQ, applyParams as cR, blurFilter as cS, borderCoverage as cT, boxMean as cU, boxPointOf as cV, buildLayerMaskPlanes as cW, calculateCropDrag as cX, canvasToImagePoint as cY, caretAt as cZ, clampCropToImage as c_, type ShapeGeometryInput as ca, type ShapeLayerData as cb, type ShapeLayerInfo as cc, type ShapeLayerInit as cd, type ShapeLineCap as ce, type ShapeLineJoin as cf, type ShapeOperation as cg, type ShapePaint as ch, type ShapePsdData as ci, type ShapeSelectionOptions as cj, type ShapeStroke as ck, type ShapeStrokeAlign as cl, type ShapeStrokeInput as cm, type SmartFilterKind as cn, type SmartObjectInfo as co, type SmartPsdData as cp, type StrokeInit as cq, type StrokeTool as cr, TEXT_ALIGNS as cs, TEXT_RENDER_MARGIN as ct, TEXT_STYLE_FIELDS as cu, TONE_RANGE_PRESETS as cv, TRANSFORM_ANCHORS as cw, type TextAnnotation as cx, type TextLayerInit as cy, type TextLayout as cz, type AdjustmentParamsMap as d, isIdentityTransform as d$, combineSelections as d0, componentPath as d1, computeHistogram as d2, computeSelectionBounds as d3, contractCoverage as d4, cornersFromMatrix as d5, coverageToByte as d6, createSelectionMask as d7, createShapeLayer as d8, createTypeLayer as d9, fitRuns as dA, flipCorners as dB, fontOf as dC, fullSelection as dD, geometryHomography as dE, getAnnotationBounds as dF, getCropCursor as dG, getRotatedSize as dH, getViewportMetrics as dI, getViewportProjection as dJ, globalImageCache as dK, greyMorphology as dL, groupLayers as dM, guidePlanes as dN, guidedFilterColor as dO, hasSurface as dP, hasWarp as dQ, hashMaskContent as dR, histogramPath as dS, hitTestAnnotation as dT, hitTestCrop as dU, hueRange as dV, identityTransform as dW, imageToCanvasPoint as dX, importPsd as dY, invertSelection as dZ, isActiveFilter as d_, decodeLayerChannel as da, decodeLayerMask as db, decodeMergedImage as dc, decodePngDataUrl as dd, decodeSelectionRle as de, defaultShapeName as df, depthMaskAlpha as dg, describeTransform as dh, deserializeEffects as di, deserializeLayer as dj, deserializeLayers as dk, deserializePatterns as dl, deserializeSelection as dm, developFilter as dn, distanceTransform as dp, duplicateLayer as dq, edgeWidth as dr, ellipsePoints as ds, ellipseSelection as dt, encodeSelectionRle as du, encodeSurface as dv, expandCoverage as dw, exportPsd as dx, featherCoverage as dy, fitParagraphRuns as dz, type AdjustmentLayerMask as e, refineEdgeHalo as e$, isQuarterTurnSwapped as e0, isRenderedLayer as e1, isRetouchTool as e2, isSelectionEmpty as e3, isSelectionMode as e4, isSpatialFilter as e5, isTransformAnchor as e6, isValidWarp as e7, layerEffectsOf as e8, layerMaskCoverage as e9, normalizeShapeStroke as eA, normalizeStoredAdjustments as eB, normalizeSubpaths as eC, normalizeText as eD, offsetLayer as eE, offsetShape as eF, paragraphRanges as eG, parseBlend as eH, parseColor as eI, parseSelectionMode as eJ, patchParagraphStyle as eK, patchTextStyle as eL, pixelLayerBounds as eM, pixelLayers as eN, placeLayer as eO, polygonCoverage as eP, polygonSelection as eQ, presetWarp as eR, previewStep as eS, projectImagePoint as eT, projectImageRect as eU, projectMaskCoverage as eV, psdToLayers as eW, readPsd as eX, rectSelection as eY, referencePoint as eZ, refineCoverage as e_, layerMaskFromSelection as ea, layerMaskKey as eb, layerName as ec, layerTree as ed, layerTypeLabel as ee, layoutText as ef, liveComponent as eg, liveShapeSubpaths as eh, magicWand as ei, mapCropHandle as ej, mapSubpaths as ek, matrixFromCorners as el, matrixFromParams as em, mergeShapeComponents as en, migrateSerializedImageEditorState as eo, migrateToLayeredState as ep, modifySelection as eq, moveLayer as er, newLayerId as es, normalizeAngle as et, normalizeFilter as eu, normalizeLayerMask as ev, normalizeLiveShape as ew, normalizeRect as ex, normalizeRefineEdgeParams as ey, normalizeShapePaint as ez, type AdjustmentLayerOf as f, typeFrame as f$, refineSelection as f0, removeLayer as f1, removeLayerEffect as f2, removeLayerFilter as f3, renderShape as f4, renderShapeRect as f5, renderText as f6, replaceTextRange as f7, requireLayer as f8, requireOperation as f9, setLayerProperties as fA, shapeAsPixelLayer as fB, shapeFromAnnotation as fC, shapeGeometryBounds as fD, shapeLayers as fE, shapeOutline as fF, shapeRenderClip as fG, shiftCoverage as fH, smartObjectLayers as fI, smoothCoverage as fJ, spliceRuns as fK, srgb8ToLab as fL, styleAt as fM, textIndexAt as fN, textMatrix as fO, textOutlines as fP, textRange as fQ, toHex as fR, toTextSpace as fS, toneRange as fT, transformHomography as fU, transformMap as fV, transformShapeComponents as fW, transformTypeLayer as fX, transformedBox as fY, transformedPoint as fZ, typeAsPixelLayer as f_, requireShapeLayer as fa, requireTypeLayer as fb, requireUnlocked as fc, rerenderShape as fd, rerenderText as fe, resizePixels as ff, resizeSelection as fg, resolveExternalAssets as fh, restyleRange as fi, runLayerFilters as fj, selectionArea as fk, selectionFromCoverage as fl, selectionFromPixels as fm, selectionToCoverage as fn, selectionToPixels as fo, selectionValueAt as fp, serializeContents as fq, serializeEffects as fr, serializeLayer as fs, serializeLayers as ft, serializeLayersExternal as fu, serializePatterns as fv, serializeSelection as fw, setLayerEffects as fx, setLayerEffectsEnabled as fy, setLayerMask as fz, ImageEditorController as g, typeFromAnnotation as g0, typeLayerName as g1, ungroupLayer as g2, unionRect as g3, unprojectCanvasPoint as g4, updateLayerEffect as g5, updateLayerFilter as g6, updateLayerMaskProps as g7, updateShapeLayer as g8, updateTypeLayer as g9, withNewIds as ga, writePsd as gb, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
|