@pixerate/editor 0.111.0 → 0.112.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/dist/{chunk-HHZ6ZJTW.js → chunk-CZOXTEMN.js} +1772 -456
- package/dist/chunk-CZOXTEMN.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-DBba-buV.d.cts} +40 -13
- package/dist/{export-DBNVwb6h.d.ts → export-DNu_Jr8p.d.ts} +40 -13
- package/dist/image-editor/index.cjs +1166 -619
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +159 -3
- package/dist/image-editor/index.d.ts +159 -3
- package/dist/image-editor/index.js +554 -7
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint-editor/index.cjs +6 -6
- package/dist/paint-editor/index.d.cts +1 -1
- package/dist/paint-editor/index.d.ts +1 -1
- package/dist/paint-editor/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-HHZ6ZJTW.js.map +0 -1
- package/dist/chunk-PHUMLSCW.cjs.map +0 -1
|
@@ -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;
|
|
@@ -2494,6 +2513,11 @@ interface ShapeGeometryInput {
|
|
|
2494
2513
|
/** Default `combine`. */
|
|
2495
2514
|
op?: ShapeOperation;
|
|
2496
2515
|
}
|
|
2516
|
+
/** A stroke as tools and UIs give it: any `ShapeStroke` fields, the paint as a colour string or a paint (or `color`). */
|
|
2517
|
+
type ShapeStrokeInput = Omit<Partial<ShapeStroke>, 'paint'> & {
|
|
2518
|
+
paint?: ShapePaint | string;
|
|
2519
|
+
color?: string;
|
|
2520
|
+
};
|
|
2497
2521
|
/** A new shape layer: its geometry (one component, or `components`), fill and stroke. */
|
|
2498
2522
|
interface ShapeLayerInit extends ShapeGeometryInput, LayerPlacement {
|
|
2499
2523
|
/** Several components instead of `shape` / `subpaths`, bottom first. */
|
|
@@ -2502,10 +2526,7 @@ interface ShapeLayerInit extends ShapeGeometryInput, LayerPlacement {
|
|
|
2502
2526
|
/** A colour string or a paint; `null` for none. Default the foreground colour (none for a stroke-only open path). */
|
|
2503
2527
|
fill?: ShapePaint | string | null;
|
|
2504
2528
|
/** `{ width, paint, align?, cap?, join?, miterLimit?, dashes?, dashOffset? }`, or `null` / missing for none. */
|
|
2505
|
-
stroke?:
|
|
2506
|
-
paint?: ShapePaint | string;
|
|
2507
|
-
color?: string;
|
|
2508
|
-
}) | null;
|
|
2529
|
+
stroke?: ShapeStrokeInput | null;
|
|
2509
2530
|
fillRule?: ShapeFillRule;
|
|
2510
2531
|
opacity?: number;
|
|
2511
2532
|
blend?: BlendMode;
|
|
@@ -3540,10 +3561,7 @@ declare class ImageEditorController {
|
|
|
3540
3561
|
*/
|
|
3541
3562
|
setShapeStyle(id: string, changes: {
|
|
3542
3563
|
fill?: ShapePaint | string | null;
|
|
3543
|
-
stroke?:
|
|
3544
|
-
paint?: ShapePaint | string;
|
|
3545
|
-
color?: string;
|
|
3546
|
-
}) | null;
|
|
3564
|
+
stroke?: ShapeStrokeInput | null;
|
|
3547
3565
|
fillRule?: ShapeFillRule;
|
|
3548
3566
|
}, commitToHistory?: boolean): ShapeLayerInfo;
|
|
3549
3567
|
private componentIndex;
|
|
@@ -3583,6 +3601,11 @@ declare class ImageEditorController {
|
|
|
3583
3601
|
height: number;
|
|
3584
3602
|
summary: PsdImportResult['summary'];
|
|
3585
3603
|
};
|
|
3604
|
+
/**
|
|
3605
|
+
* Type layers whose fonts the shaper lacks: they keep Photoshop's pixels, are marked with their
|
|
3606
|
+
* `missingFonts`, and a warning names them (an edit draws them with a fallback).
|
|
3607
|
+
*/
|
|
3608
|
+
private checkPsdFonts;
|
|
3586
3609
|
/**
|
|
3587
3610
|
* The document as an 8-bit RGB PSD (PSB above 30 000 px) with real layers, groups, adjustment
|
|
3588
3611
|
* layers and masks, in the source frame. Layer filters and parametric (depth) masks are baked
|
|
@@ -3897,7 +3920,11 @@ interface ImageAnnotation extends BaseAnnotation {
|
|
|
3897
3920
|
}
|
|
3898
3921
|
type Annotation = PenAnnotation | RectAnnotation | CircleAnnotation | ArrowAnnotation | LineAnnotation | TextAnnotation | ImageAnnotation;
|
|
3899
3922
|
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'
|
|
3923
|
+
type ImageEditorTool = 'select' | 'crop' | 'pen' | 'rect' | 'circle' | 'arrow' | 'line' | 'text' | 'watermark' | 'move' | 'brush' | 'eraser' | 'mixer'
|
|
3924
|
+
/** Live shape layers (see `ShapeDrawGesture`). */
|
|
3925
|
+
| 'shape'
|
|
3926
|
+
/** Live type layers, edited on the canvas (see `TypeToolGesture`). */
|
|
3927
|
+
| 'type';
|
|
3901
3928
|
type ImageEditorFit = 'contain' | 'margin';
|
|
3902
3929
|
interface ImageEditorState {
|
|
3903
3930
|
sourceUrl: string | null;
|
|
@@ -4061,4 +4088,4 @@ interface PsdExportResult {
|
|
|
4061
4088
|
/** Writes the prepared stack as PSD (or PSB) bytes. */
|
|
4062
4089
|
declare function exportPsd(input: PsdExportInput): PsdExportResult;
|
|
4063
4090
|
|
|
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 };
|
|
4091
|
+
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 LayerBase 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 FreeTransformContent as aA, type FreeTransformHost as aB, type FreeTransformPreview as aC, GUIDED_FILTER_EPS as aD, type GroupLayer as aE, HISTOGRAM_BINS as aF, type HistogramChannel as aG, type HistoryEntryHandle as aH, type HueSaturationParams as aI, IMAGE_EDITOR_SCHEMA_VERSION as aJ, type ImageAnnotation as aK, type ImageDimensions as aL, type ImageEditorAIHooks as aM, type ImageEditorFit as aN, type ImageEditorOptions as aO, ImageEditorRenderer as aP, type ImageEditorState as aQ, type ImageEditorTool as aR, type ImageLayerType as aS, type InpaintHook as aT, type InpaintOptions as aU, type InvertParams as aV, LAYERED_SCHEMA_VERSION as aW, LIVE_SHAPE_KINDS as aX, type LaidChar as aY, type LaidFragment as aZ, type LaidLine as a_, type AspectRatio as aa, type BaseAnnotation as ab, type BlackWhiteParams as ac, type BlurFilter as ad, type CircleAnnotation as ae, type ColorBalanceParams as af, type ColorBalanceTone as ag, type ColorRangeOptions as ah, type ColorRangeSample as ai, type CreateAnnotationPayload as aj, type CropHandle as ak, type CurvesParams as al, DEFAULT_ADJUSTMENTS as am, DEFAULT_AUTO_LEADING as an, DEFAULT_DEPTH_MASK as ao, DEFAULT_MITER_LIMIT as ap, DEFAULT_REFINE_EDGE_PARAMS as aq, DEFAULT_TEXT_STYLE as ar, DEFAULT_TRANSFORM as as, type DeserializeContext as at, type DevelopSettings as au, EMPTY_DISTANCE as av, type ExportOptions as aw, FREE_TRANSFORM_CONTENTS as ax, FREE_TRANSFORM_MODES as ay, type FillOptions as az, type SerializedImageEditorState as b, type SerializedSmartFilter as b$, type LayerBlendMode as b0, type LayerFilterKind as b1, type LayerLocation as b2, type LayerMaskProps as b3, LayerOperationError as b4, type LayerProperties as b5, type LayerSourcesHost as b6, type LayerTarget as b7, type LegacySerializedImageEditorState as b8, type LevelsParams as b9, type PsdSmartFilter as bA, type PsdTaggedBlock as bB, type PsdTreeNode as bC, type RectAnnotation as bD, type RemoveBackgroundHook as bE, type RemoveBackgroundOptions as bF, type RenderOptions as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, type SampleOptions as bL, type SelectionChannel as bM, type SelectionCommandOptions as bN, type SelectionModifyOp as bO, type SerializeContext as bP, type SerializedAdjustmentLayer as bQ, type SerializedAnnotationLayer as bR, type SerializedGroupLayer as bS, type SerializedLayerEffects as bT, type SerializedLayeredImageEditorState as bU, type SerializedPattern as bV, type SerializedPixelLayer as bW, type SerializedRasterMask as bX, type SerializedSelection as bY, type SerializedShapeLayer as bZ, type SerializedSmartContents as b_, type LineAnnotation as ba, type LiveShape as bb, type MagicWandOptions as bc, type MixerStrokeInit as bd, PARAGRAPH_STYLE_FIELDS as be, PSD_BLEND_KEYS as bf, type PaintOptions as bg, type PaintStrokeResult as bh, PaintStrokeSession as bi, type ParagraphRun as bj, type PenAnnotation as bk, type PhotoFilterParams as bl, type PixelBuffer as bm, type PixelLayerInit as bn, type PosterizeParams as bo, type PsdChannel as bp, type PsdExportInput as bq, type PsdFile as br, type PsdHeader as bs, type PsdImportOptions as bt, type PsdImportResult as bu, type PsdLayerMask as bv, type PsdLayerRecord as bw, type PsdLayerSummary as bx, type PsdRect as by, type PsdResource as bz, type AdjustmentLayer as c, computeSelectionBounds as c$, type SerializedSmartObjectLayer as c0, type SerializedTypeLayer as c1, type ShapeArrowhead as c2, type ShapeComponent as c3, type ShapeEnv as c4, type ShapeFillRule as c5, type ShapeGeometryInput as c6, type ShapeLayerData as c7, type ShapeLayerInfo as c8, type ShapeLayerInit as c9, type TransformReadout as cA, type TypeLayerData as cB, type TypePsdData as cC, type VibranceParams as cD, type ViewportMetrics as cE, addLayerEffect as cF, addLayerFilter as cG, adjustmentNodeAsLayer as cH, anchorPoint as cI, annotationBlend as cJ, annotationOfShape as cK, annotationOfType as cL, applyImageProjectionToContext as cM, applyParams as cN, blurFilter as cO, borderCoverage as cP, boxMean as cQ, boxPointOf as cR, buildLayerMaskPlanes as cS, calculateCropDrag as cT, canvasToImagePoint as cU, caretAt as cV, clampCropToImage as cW, colorRange as cX, combineSelections as cY, componentPath as cZ, computeHistogram as c_, type ShapeLineCap as ca, type ShapeLineJoin as cb, type ShapeOperation as cc, type ShapePaint as cd, type ShapePsdData as ce, type ShapeSelectionOptions as cf, type ShapeStroke as cg, type ShapeStrokeAlign as ch, type ShapeStrokeInput as ci, type SmartFilterKind as cj, type SmartObjectInfo as ck, type SmartPsdData as cl, type StrokeInit as cm, type StrokeTool as cn, TEXT_ALIGNS as co, TEXT_RENDER_MARGIN as cp, TEXT_STYLE_FIELDS as cq, TONE_RANGE_PRESETS as cr, TRANSFORM_ANCHORS as cs, type TextAnnotation as ct, type TextLayerInit as cu, type TextLayout as cv, type TextRun as cw, type ThresholdParams as cx, type ToneRangePreset as cy, type TransformParams as cz, type AdjustmentParamsMap as d, isSelectionMode as d$, contractCoverage as d0, cornersFromMatrix as d1, coverageToByte as d2, createSelectionMask as d3, createShapeLayer as d4, createTypeLayer as d5, decodeLayerChannel as d6, decodeLayerMask as d7, decodeMergedImage as d8, decodePngDataUrl as d9, geometryHomography as dA, getAnnotationBounds as dB, getCropCursor as dC, getRotatedSize as dD, getViewportMetrics as dE, getViewportProjection as dF, globalImageCache as dG, greyMorphology as dH, groupLayers as dI, guidePlanes as dJ, guidedFilterColor as dK, hasSurface as dL, hasWarp as dM, hashMaskContent as dN, histogramPath as dO, hitTestAnnotation as dP, hitTestCrop as dQ, hueRange as dR, identityTransform as dS, imageToCanvasPoint as dT, importPsd as dU, invertSelection as dV, isActiveFilter as dW, isIdentityTransform as dX, isQuarterTurnSwapped as dY, isRenderedLayer as dZ, isSelectionEmpty as d_, decodeSelectionRle as da, defaultShapeName as db, depthMaskAlpha as dc, describeTransform as dd, deserializeEffects as de, deserializeLayer as df, deserializeLayers as dg, deserializePatterns as dh, deserializeSelection as di, developFilter as dj, distanceTransform as dk, duplicateLayer as dl, edgeWidth as dm, ellipsePoints as dn, ellipseSelection as dp, encodeSelectionRle as dq, encodeSurface as dr, expandCoverage as ds, exportPsd as dt, featherCoverage as du, fitParagraphRuns as dv, fitRuns as dw, flipCorners as dx, fontOf as dy, fullSelection as dz, type AdjustmentLayerMask as e, renderShape as e$, isSpatialFilter as e0, isTransformAnchor as e1, isValidWarp as e2, layerEffectsOf as e3, layerMaskCoverage as e4, layerMaskFromSelection as e5, layerMaskKey as e6, layerName as e7, layerTree as e8, layerTypeLabel as e9, offsetShape as eA, paragraphRanges as eB, parseBlend as eC, parseColor as eD, parseSelectionMode as eE, patchParagraphStyle as eF, patchTextStyle as eG, pixelLayerBounds as eH, pixelLayers as eI, placeLayer as eJ, polygonCoverage as eK, polygonSelection as eL, presetWarp as eM, previewStep as eN, projectImagePoint as eO, projectImageRect as eP, projectMaskCoverage as eQ, psdToLayers as eR, readPsd as eS, rectSelection as eT, referencePoint as eU, refineCoverage as eV, refineEdgeHalo as eW, refineSelection as eX, removeLayer as eY, removeLayerEffect as eZ, removeLayerFilter as e_, layoutText as ea, liveComponent as eb, liveShapeSubpaths as ec, magicWand as ed, mapCropHandle as ee, mapSubpaths as ef, matrixFromCorners as eg, matrixFromParams as eh, mergeShapeComponents as ei, migrateSerializedImageEditorState as ej, migrateToLayeredState as ek, modifySelection as el, moveLayer as em, newLayerId as en, normalizeAngle as eo, normalizeFilter as ep, normalizeLayerMask as eq, normalizeLiveShape as er, normalizeRect as es, normalizeRefineEdgeParams as et, normalizeShapePaint as eu, normalizeShapeStroke as ev, normalizeStoredAdjustments as ew, normalizeSubpaths as ex, normalizeText as ey, offsetLayer as ez, type AdjustmentLayerOf as f, unprojectCanvasPoint as f$, renderShapeRect as f0, renderText as f1, replaceTextRange as f2, requireLayer as f3, requireOperation as f4, requireShapeLayer as f5, requireTypeLayer as f6, requireUnlocked as f7, rerenderShape as f8, rerenderText as f9, shapeOutline as fA, shapeRenderClip as fB, shiftCoverage as fC, smartObjectLayers as fD, smoothCoverage as fE, spliceRuns as fF, srgb8ToLab as fG, styleAt as fH, textIndexAt as fI, textMatrix as fJ, textOutlines as fK, textRange as fL, toHex as fM, toTextSpace as fN, toneRange as fO, transformHomography as fP, transformMap as fQ, transformShapeComponents as fR, transformTypeLayer as fS, transformedBox as fT, transformedPoint as fU, typeAsPixelLayer as fV, typeFrame as fW, typeFromAnnotation as fX, typeLayerName as fY, ungroupLayer as fZ, unionRect as f_, resizePixels as fa, resizeSelection as fb, resolveExternalAssets as fc, restyleRange as fd, runLayerFilters as fe, selectionArea as ff, selectionFromCoverage as fg, selectionFromPixels as fh, selectionToCoverage as fi, selectionToPixels as fj, selectionValueAt as fk, serializeContents as fl, serializeEffects as fm, serializeLayer as fn, serializeLayers as fo, serializeLayersExternal as fp, serializePatterns as fq, serializeSelection as fr, setLayerEffects as fs, setLayerEffectsEnabled as ft, setLayerMask as fu, setLayerProperties as fv, shapeAsPixelLayer as fw, shapeFromAnnotation as fx, shapeGeometryBounds as fy, shapeLayers as fz, ImageEditorController as g, updateLayerEffect as g0, updateLayerFilter as g1, updateLayerMaskProps as g2, updateShapeLayer as g3, updateTypeLayer as g4, withNewIds as g5, writePsd as g6, 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 };
|
|
@@ -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;
|
|
@@ -2494,6 +2513,11 @@ interface ShapeGeometryInput {
|
|
|
2494
2513
|
/** Default `combine`. */
|
|
2495
2514
|
op?: ShapeOperation;
|
|
2496
2515
|
}
|
|
2516
|
+
/** A stroke as tools and UIs give it: any `ShapeStroke` fields, the paint as a colour string or a paint (or `color`). */
|
|
2517
|
+
type ShapeStrokeInput = Omit<Partial<ShapeStroke>, 'paint'> & {
|
|
2518
|
+
paint?: ShapePaint | string;
|
|
2519
|
+
color?: string;
|
|
2520
|
+
};
|
|
2497
2521
|
/** A new shape layer: its geometry (one component, or `components`), fill and stroke. */
|
|
2498
2522
|
interface ShapeLayerInit extends ShapeGeometryInput, LayerPlacement {
|
|
2499
2523
|
/** Several components instead of `shape` / `subpaths`, bottom first. */
|
|
@@ -2502,10 +2526,7 @@ interface ShapeLayerInit extends ShapeGeometryInput, LayerPlacement {
|
|
|
2502
2526
|
/** A colour string or a paint; `null` for none. Default the foreground colour (none for a stroke-only open path). */
|
|
2503
2527
|
fill?: ShapePaint | string | null;
|
|
2504
2528
|
/** `{ width, paint, align?, cap?, join?, miterLimit?, dashes?, dashOffset? }`, or `null` / missing for none. */
|
|
2505
|
-
stroke?:
|
|
2506
|
-
paint?: ShapePaint | string;
|
|
2507
|
-
color?: string;
|
|
2508
|
-
}) | null;
|
|
2529
|
+
stroke?: ShapeStrokeInput | null;
|
|
2509
2530
|
fillRule?: ShapeFillRule;
|
|
2510
2531
|
opacity?: number;
|
|
2511
2532
|
blend?: BlendMode;
|
|
@@ -3540,10 +3561,7 @@ declare class ImageEditorController {
|
|
|
3540
3561
|
*/
|
|
3541
3562
|
setShapeStyle(id: string, changes: {
|
|
3542
3563
|
fill?: ShapePaint | string | null;
|
|
3543
|
-
stroke?:
|
|
3544
|
-
paint?: ShapePaint | string;
|
|
3545
|
-
color?: string;
|
|
3546
|
-
}) | null;
|
|
3564
|
+
stroke?: ShapeStrokeInput | null;
|
|
3547
3565
|
fillRule?: ShapeFillRule;
|
|
3548
3566
|
}, commitToHistory?: boolean): ShapeLayerInfo;
|
|
3549
3567
|
private componentIndex;
|
|
@@ -3583,6 +3601,11 @@ declare class ImageEditorController {
|
|
|
3583
3601
|
height: number;
|
|
3584
3602
|
summary: PsdImportResult['summary'];
|
|
3585
3603
|
};
|
|
3604
|
+
/**
|
|
3605
|
+
* Type layers whose fonts the shaper lacks: they keep Photoshop's pixels, are marked with their
|
|
3606
|
+
* `missingFonts`, and a warning names them (an edit draws them with a fallback).
|
|
3607
|
+
*/
|
|
3608
|
+
private checkPsdFonts;
|
|
3586
3609
|
/**
|
|
3587
3610
|
* The document as an 8-bit RGB PSD (PSB above 30 000 px) with real layers, groups, adjustment
|
|
3588
3611
|
* layers and masks, in the source frame. Layer filters and parametric (depth) masks are baked
|
|
@@ -3897,7 +3920,11 @@ interface ImageAnnotation extends BaseAnnotation {
|
|
|
3897
3920
|
}
|
|
3898
3921
|
type Annotation = PenAnnotation | RectAnnotation | CircleAnnotation | ArrowAnnotation | LineAnnotation | TextAnnotation | ImageAnnotation;
|
|
3899
3922
|
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'
|
|
3923
|
+
type ImageEditorTool = 'select' | 'crop' | 'pen' | 'rect' | 'circle' | 'arrow' | 'line' | 'text' | 'watermark' | 'move' | 'brush' | 'eraser' | 'mixer'
|
|
3924
|
+
/** Live shape layers (see `ShapeDrawGesture`). */
|
|
3925
|
+
| 'shape'
|
|
3926
|
+
/** Live type layers, edited on the canvas (see `TypeToolGesture`). */
|
|
3927
|
+
| 'type';
|
|
3901
3928
|
type ImageEditorFit = 'contain' | 'margin';
|
|
3902
3929
|
interface ImageEditorState {
|
|
3903
3930
|
sourceUrl: string | null;
|
|
@@ -4061,4 +4088,4 @@ interface PsdExportResult {
|
|
|
4061
4088
|
/** Writes the prepared stack as PSD (or PSB) bytes. */
|
|
4062
4089
|
declare function exportPsd(input: PsdExportInput): PsdExportResult;
|
|
4063
4090
|
|
|
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 };
|
|
4091
|
+
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 LayerBase 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 FreeTransformContent as aA, type FreeTransformHost as aB, type FreeTransformPreview as aC, GUIDED_FILTER_EPS as aD, type GroupLayer as aE, HISTOGRAM_BINS as aF, type HistogramChannel as aG, type HistoryEntryHandle as aH, type HueSaturationParams as aI, IMAGE_EDITOR_SCHEMA_VERSION as aJ, type ImageAnnotation as aK, type ImageDimensions as aL, type ImageEditorAIHooks as aM, type ImageEditorFit as aN, type ImageEditorOptions as aO, ImageEditorRenderer as aP, type ImageEditorState as aQ, type ImageEditorTool as aR, type ImageLayerType as aS, type InpaintHook as aT, type InpaintOptions as aU, type InvertParams as aV, LAYERED_SCHEMA_VERSION as aW, LIVE_SHAPE_KINDS as aX, type LaidChar as aY, type LaidFragment as aZ, type LaidLine as a_, type AspectRatio as aa, type BaseAnnotation as ab, type BlackWhiteParams as ac, type BlurFilter as ad, type CircleAnnotation as ae, type ColorBalanceParams as af, type ColorBalanceTone as ag, type ColorRangeOptions as ah, type ColorRangeSample as ai, type CreateAnnotationPayload as aj, type CropHandle as ak, type CurvesParams as al, DEFAULT_ADJUSTMENTS as am, DEFAULT_AUTO_LEADING as an, DEFAULT_DEPTH_MASK as ao, DEFAULT_MITER_LIMIT as ap, DEFAULT_REFINE_EDGE_PARAMS as aq, DEFAULT_TEXT_STYLE as ar, DEFAULT_TRANSFORM as as, type DeserializeContext as at, type DevelopSettings as au, EMPTY_DISTANCE as av, type ExportOptions as aw, FREE_TRANSFORM_CONTENTS as ax, FREE_TRANSFORM_MODES as ay, type FillOptions as az, type SerializedImageEditorState as b, type SerializedSmartFilter as b$, type LayerBlendMode as b0, type LayerFilterKind as b1, type LayerLocation as b2, type LayerMaskProps as b3, LayerOperationError as b4, type LayerProperties as b5, type LayerSourcesHost as b6, type LayerTarget as b7, type LegacySerializedImageEditorState as b8, type LevelsParams as b9, type PsdSmartFilter as bA, type PsdTaggedBlock as bB, type PsdTreeNode as bC, type RectAnnotation as bD, type RemoveBackgroundHook as bE, type RemoveBackgroundOptions as bF, type RenderOptions as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, type SampleOptions as bL, type SelectionChannel as bM, type SelectionCommandOptions as bN, type SelectionModifyOp as bO, type SerializeContext as bP, type SerializedAdjustmentLayer as bQ, type SerializedAnnotationLayer as bR, type SerializedGroupLayer as bS, type SerializedLayerEffects as bT, type SerializedLayeredImageEditorState as bU, type SerializedPattern as bV, type SerializedPixelLayer as bW, type SerializedRasterMask as bX, type SerializedSelection as bY, type SerializedShapeLayer as bZ, type SerializedSmartContents as b_, type LineAnnotation as ba, type LiveShape as bb, type MagicWandOptions as bc, type MixerStrokeInit as bd, PARAGRAPH_STYLE_FIELDS as be, PSD_BLEND_KEYS as bf, type PaintOptions as bg, type PaintStrokeResult as bh, PaintStrokeSession as bi, type ParagraphRun as bj, type PenAnnotation as bk, type PhotoFilterParams as bl, type PixelBuffer as bm, type PixelLayerInit as bn, type PosterizeParams as bo, type PsdChannel as bp, type PsdExportInput as bq, type PsdFile as br, type PsdHeader as bs, type PsdImportOptions as bt, type PsdImportResult as bu, type PsdLayerMask as bv, type PsdLayerRecord as bw, type PsdLayerSummary as bx, type PsdRect as by, type PsdResource as bz, type AdjustmentLayer as c, computeSelectionBounds as c$, type SerializedSmartObjectLayer as c0, type SerializedTypeLayer as c1, type ShapeArrowhead as c2, type ShapeComponent as c3, type ShapeEnv as c4, type ShapeFillRule as c5, type ShapeGeometryInput as c6, type ShapeLayerData as c7, type ShapeLayerInfo as c8, type ShapeLayerInit as c9, type TransformReadout as cA, type TypeLayerData as cB, type TypePsdData as cC, type VibranceParams as cD, type ViewportMetrics as cE, addLayerEffect as cF, addLayerFilter as cG, adjustmentNodeAsLayer as cH, anchorPoint as cI, annotationBlend as cJ, annotationOfShape as cK, annotationOfType as cL, applyImageProjectionToContext as cM, applyParams as cN, blurFilter as cO, borderCoverage as cP, boxMean as cQ, boxPointOf as cR, buildLayerMaskPlanes as cS, calculateCropDrag as cT, canvasToImagePoint as cU, caretAt as cV, clampCropToImage as cW, colorRange as cX, combineSelections as cY, componentPath as cZ, computeHistogram as c_, type ShapeLineCap as ca, type ShapeLineJoin as cb, type ShapeOperation as cc, type ShapePaint as cd, type ShapePsdData as ce, type ShapeSelectionOptions as cf, type ShapeStroke as cg, type ShapeStrokeAlign as ch, type ShapeStrokeInput as ci, type SmartFilterKind as cj, type SmartObjectInfo as ck, type SmartPsdData as cl, type StrokeInit as cm, type StrokeTool as cn, TEXT_ALIGNS as co, TEXT_RENDER_MARGIN as cp, TEXT_STYLE_FIELDS as cq, TONE_RANGE_PRESETS as cr, TRANSFORM_ANCHORS as cs, type TextAnnotation as ct, type TextLayerInit as cu, type TextLayout as cv, type TextRun as cw, type ThresholdParams as cx, type ToneRangePreset as cy, type TransformParams as cz, type AdjustmentParamsMap as d, isSelectionMode as d$, contractCoverage as d0, cornersFromMatrix as d1, coverageToByte as d2, createSelectionMask as d3, createShapeLayer as d4, createTypeLayer as d5, decodeLayerChannel as d6, decodeLayerMask as d7, decodeMergedImage as d8, decodePngDataUrl as d9, geometryHomography as dA, getAnnotationBounds as dB, getCropCursor as dC, getRotatedSize as dD, getViewportMetrics as dE, getViewportProjection as dF, globalImageCache as dG, greyMorphology as dH, groupLayers as dI, guidePlanes as dJ, guidedFilterColor as dK, hasSurface as dL, hasWarp as dM, hashMaskContent as dN, histogramPath as dO, hitTestAnnotation as dP, hitTestCrop as dQ, hueRange as dR, identityTransform as dS, imageToCanvasPoint as dT, importPsd as dU, invertSelection as dV, isActiveFilter as dW, isIdentityTransform as dX, isQuarterTurnSwapped as dY, isRenderedLayer as dZ, isSelectionEmpty as d_, decodeSelectionRle as da, defaultShapeName as db, depthMaskAlpha as dc, describeTransform as dd, deserializeEffects as de, deserializeLayer as df, deserializeLayers as dg, deserializePatterns as dh, deserializeSelection as di, developFilter as dj, distanceTransform as dk, duplicateLayer as dl, edgeWidth as dm, ellipsePoints as dn, ellipseSelection as dp, encodeSelectionRle as dq, encodeSurface as dr, expandCoverage as ds, exportPsd as dt, featherCoverage as du, fitParagraphRuns as dv, fitRuns as dw, flipCorners as dx, fontOf as dy, fullSelection as dz, type AdjustmentLayerMask as e, renderShape as e$, isSpatialFilter as e0, isTransformAnchor as e1, isValidWarp as e2, layerEffectsOf as e3, layerMaskCoverage as e4, layerMaskFromSelection as e5, layerMaskKey as e6, layerName as e7, layerTree as e8, layerTypeLabel as e9, offsetShape as eA, paragraphRanges as eB, parseBlend as eC, parseColor as eD, parseSelectionMode as eE, patchParagraphStyle as eF, patchTextStyle as eG, pixelLayerBounds as eH, pixelLayers as eI, placeLayer as eJ, polygonCoverage as eK, polygonSelection as eL, presetWarp as eM, previewStep as eN, projectImagePoint as eO, projectImageRect as eP, projectMaskCoverage as eQ, psdToLayers as eR, readPsd as eS, rectSelection as eT, referencePoint as eU, refineCoverage as eV, refineEdgeHalo as eW, refineSelection as eX, removeLayer as eY, removeLayerEffect as eZ, removeLayerFilter as e_, layoutText as ea, liveComponent as eb, liveShapeSubpaths as ec, magicWand as ed, mapCropHandle as ee, mapSubpaths as ef, matrixFromCorners as eg, matrixFromParams as eh, mergeShapeComponents as ei, migrateSerializedImageEditorState as ej, migrateToLayeredState as ek, modifySelection as el, moveLayer as em, newLayerId as en, normalizeAngle as eo, normalizeFilter as ep, normalizeLayerMask as eq, normalizeLiveShape as er, normalizeRect as es, normalizeRefineEdgeParams as et, normalizeShapePaint as eu, normalizeShapeStroke as ev, normalizeStoredAdjustments as ew, normalizeSubpaths as ex, normalizeText as ey, offsetLayer as ez, type AdjustmentLayerOf as f, unprojectCanvasPoint as f$, renderShapeRect as f0, renderText as f1, replaceTextRange as f2, requireLayer as f3, requireOperation as f4, requireShapeLayer as f5, requireTypeLayer as f6, requireUnlocked as f7, rerenderShape as f8, rerenderText as f9, shapeOutline as fA, shapeRenderClip as fB, shiftCoverage as fC, smartObjectLayers as fD, smoothCoverage as fE, spliceRuns as fF, srgb8ToLab as fG, styleAt as fH, textIndexAt as fI, textMatrix as fJ, textOutlines as fK, textRange as fL, toHex as fM, toTextSpace as fN, toneRange as fO, transformHomography as fP, transformMap as fQ, transformShapeComponents as fR, transformTypeLayer as fS, transformedBox as fT, transformedPoint as fU, typeAsPixelLayer as fV, typeFrame as fW, typeFromAnnotation as fX, typeLayerName as fY, ungroupLayer as fZ, unionRect as f_, resizePixels as fa, resizeSelection as fb, resolveExternalAssets as fc, restyleRange as fd, runLayerFilters as fe, selectionArea as ff, selectionFromCoverage as fg, selectionFromPixels as fh, selectionToCoverage as fi, selectionToPixels as fj, selectionValueAt as fk, serializeContents as fl, serializeEffects as fm, serializeLayer as fn, serializeLayers as fo, serializeLayersExternal as fp, serializePatterns as fq, serializeSelection as fr, setLayerEffects as fs, setLayerEffectsEnabled as ft, setLayerMask as fu, setLayerProperties as fv, shapeAsPixelLayer as fw, shapeFromAnnotation as fx, shapeGeometryBounds as fy, shapeLayers as fz, ImageEditorController as g, updateLayerEffect as g0, updateLayerFilter as g1, updateLayerMaskProps as g2, updateShapeLayer as g3, updateTypeLayer as g4, withNewIds as g5, writePsd as g6, 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 };
|