@pixerate/editor 0.128.0 → 0.130.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/animation-editor/index.cjs +55 -55
- package/dist/animation-editor/index.d.cts +5 -5
- package/dist/animation-editor/index.d.ts +5 -5
- package/dist/animation-editor/index.js +2 -2
- package/dist/{bezier-CvgQiYRg.d.cts → bezier-CdoGygwG.d.cts} +1 -1
- package/dist/{bezier-DP4NnJp3.d.ts → bezier-CigmusV_.d.ts} +1 -1
- package/dist/canvas/index.d.cts +7 -7
- package/dist/canvas/index.d.ts +7 -7
- package/dist/{chunk-BEGEWQHD.cjs → chunk-2PXRKMOH.cjs} +36 -36
- package/dist/{chunk-BEGEWQHD.cjs.map → chunk-2PXRKMOH.cjs.map} +1 -1
- package/dist/{chunk-F7Q2NE2Y.js → chunk-ERYGCA72.js} +2 -2
- package/dist/{chunk-A6KHMKI4.js → chunk-L5OTIYOO.js} +2 -2
- package/dist/{chunk-ORE334I6.cjs → chunk-LXGOYRPE.cjs} +366 -68
- package/dist/chunk-LXGOYRPE.cjs.map +1 -0
- package/dist/{chunk-XLUYXUBD.cjs → chunk-PMHPXCJC.cjs} +82 -82
- package/dist/{chunk-XLUYXUBD.cjs.map → chunk-PMHPXCJC.cjs.map} +1 -1
- package/dist/{chunk-ROZFX4QI.js → chunk-PRYMC442.js} +302 -4
- package/dist/chunk-PRYMC442.js.map +1 -0
- package/dist/effects/index.d.cts +4 -4
- package/dist/effects/index.d.ts +4 -4
- package/dist/{export-Cbr9IqpJ.d.cts → export-5WDKJqTy.d.cts} +1 -1
- package/dist/{export-DHrFJ8r_.d.ts → export-B4r8b9Ft.d.ts} +11 -4
- package/dist/{export-ClPKUB-v.d.ts → export-CU_ARP3A.d.ts} +1 -1
- package/dist/{export-BkYQvV56.d.cts → export-CejjC2iI.d.cts} +11 -4
- package/dist/{helpers-C5aAd44p.d.cts → helpers-CzZu51eI.d.cts} +33 -2
- package/dist/{helpers-CPWcK504.d.ts → helpers-X_rycLNJ.d.ts} +33 -2
- package/dist/image-editor/index.cjs +672 -621
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +8 -8
- package/dist/image-editor/index.d.ts +8 -8
- package/dist/image-editor/index.js +65 -14
- package/dist/image-editor/index.js.map +1 -1
- package/dist/{opentype-sQrF3Ry1.d.ts → opentype-CrHAsKh3.d.ts} +2 -2
- package/dist/{opentype-BOewaGQx.d.cts → opentype-DlRMYcCW.d.cts} +2 -2
- package/dist/paint-editor/index.cjs +7 -7
- package/dist/paint-editor/index.d.cts +5 -5
- package/dist/paint-editor/index.d.ts +5 -5
- package/dist/paint-editor/index.js +2 -2
- package/dist/{pathfinder-CnkW7zLI.d.cts → pathfinder-CKfKOVP4.d.cts} +1 -1
- package/dist/{pathfinder-BwJx0_zM.d.ts → pathfinder-Dlss70hL.d.ts} +1 -1
- package/dist/{pool-CTrtciaN.d.ts → pool-DDOo0xJH.d.ts} +1 -1
- package/dist/{pool-C7GtrL34.d.cts → pool-DKic69LD.d.cts} +1 -1
- package/dist/{svg-C4LlFnEw.d.cts → svg-BRaii3pI.d.cts} +2 -2
- package/dist/{svg-CUzZa0EO.d.ts → svg-BYVZeVo0.d.ts} +2 -2
- package/dist/{tools-BpCmUNxb.d.cts → tools-CtheDLDr.d.cts} +1 -1
- package/dist/{tools-AugT22z3.d.ts → tools-D8bZ-7YG.d.ts} +1 -1
- package/dist/vector/index.cjs +884 -874
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +53 -10
- package/dist/vector/index.d.ts +53 -10
- package/dist/vector/index.js +15 -5
- package/dist/vector/index.js.map +1 -1
- package/dist/video-editor/index.d.cts +4 -4
- package/dist/video-editor/index.d.ts +4 -4
- package/dist/{warp-D62N_5VK.d.cts → warp-BFoYxy_s.d.cts} +2 -2
- package/dist/{warp-CIsO617e.d.ts → warp-CZVC8pB5.d.ts} +2 -2
- package/package.json +1 -1
- package/skills/pixerate-image-editor/SKILL.md +1 -1
- package/skills/pixerate-image-editor/references/color-management.md +4 -3
- package/skills/pixerate-vector/SKILL.md +1 -1
- package/skills/pixerate-vector/references/commands.md +2 -0
- package/dist/chunk-ORE334I6.cjs.map +0 -1
- package/dist/chunk-ROZFX4QI.js.map +0 -1
- /package/dist/{chunk-F7Q2NE2Y.js.map → chunk-ERYGCA72.js.map} +0 -0
- /package/dist/{chunk-A6KHMKI4.js.map → chunk-L5OTIYOO.js.map} +0 -0
package/dist/effects/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-
|
|
2
|
-
export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-
|
|
1
|
+
import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-CzZu51eI.cjs';
|
|
2
|
+
export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-CzZu51eI.cjs';
|
|
3
3
|
import { S as SchemaValidationError, J as JsonSchema } from '../schema-Di0CS6Pe.cjs';
|
|
4
|
-
export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-
|
|
4
|
+
export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-CtheDLDr.cjs';
|
|
5
5
|
import { P as ParameterField, a as ParameterValue } from '../types-DMcf_z4J.cjs';
|
|
6
|
-
export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-
|
|
6
|
+
export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-DKic69LD.cjs';
|
|
7
7
|
import '../evaluate-BsxYieLN.cjs';
|
|
8
8
|
import '../easing-lM0Xo9Ni.cjs';
|
|
9
9
|
import '../types-CwMPoRMU.cjs';
|
package/dist/effects/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-
|
|
2
|
-
export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-
|
|
1
|
+
import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-X_rycLNJ.js';
|
|
2
|
+
export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-X_rycLNJ.js';
|
|
3
3
|
import { S as SchemaValidationError, J as JsonSchema } from '../schema-Di0CS6Pe.js';
|
|
4
|
-
export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-
|
|
4
|
+
export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-D8bZ-7YG.js';
|
|
5
5
|
import { P as ParameterField, a as ParameterValue } from '../types-D3-J3TFf.js';
|
|
6
|
-
export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-
|
|
6
|
+
export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-DDOo0xJH.js';
|
|
7
7
|
import '../evaluate-BbCeF6pt.js';
|
|
8
8
|
import '../easing-lM0Xo9Ni.js';
|
|
9
9
|
import '../types-CwMPoRMU.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-
|
|
1
|
+
import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-CzZu51eI.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
|
|
@@ -2,9 +2,9 @@ import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as
|
|
|
2
2
|
import { c as PixelSurface, a as BlendMode, T as TiledSurface, R as RasterRect } from './surface-1MRncXpF.js';
|
|
3
3
|
import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.js';
|
|
4
4
|
import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2, H as Homography } from './types-CwMPoRMU.js';
|
|
5
|
-
import { B as BezierPath } from './bezier-
|
|
6
|
-
import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-
|
|
7
|
-
import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-
|
|
5
|
+
import { B as BezierPath } from './bezier-CigmusV_.js';
|
|
6
|
+
import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-CZVC8pB5.js';
|
|
7
|
+
import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-X_rycLNJ.js';
|
|
8
8
|
import { B as BrushSettings, P as PaintSource, M as MixerSettings, a as MixerLoad, R as RetouchSettings, S as StrokeCoverage, b as MixerTarget, c as MixerStroke, d as RetouchApply, e as StrokePoint, f as RetouchPaint, C as CoverageMap, g as PaintTileTarget, h as StrokeApply } from './rand-pQQ2sJTk.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -665,6 +665,13 @@ type PixelTransform = (rgba: Uint8ClampedArray) => void;
|
|
|
665
665
|
declare function displayTransform(doc: DocumentColorProfile | null | undefined, proof: ProofSetup | null | undefined): PixelTransform | null;
|
|
666
666
|
/** A `#rrggbb` colour converted between two profiles. */
|
|
667
667
|
declare function convertHex(hex: string, from: Profile, to: Profile, intent?: Intent, bpc?: boolean): string;
|
|
668
|
+
/**
|
|
669
|
+
* A copy of `value` (layer settings: effects, a shape's paint, text runs, an annotation) with
|
|
670
|
+
* every `#rrggbb` colour converted by `convert`. Colours are the string fields whose key ends in
|
|
671
|
+
* "color" (`color`, `strokeColor`, `highlightColor`, …), including gradient stops; text and other
|
|
672
|
+
* strings are left alone. Plain objects and arrays are copied only where something changed.
|
|
673
|
+
*/
|
|
674
|
+
declare function convertColorFields<T>(value: T, convert: (hex: string) => string): T;
|
|
668
675
|
/**
|
|
669
676
|
* A layer surface with every pixel's colour converted through `t` (an RGB → RGB transform):
|
|
670
677
|
* 8-bit tiles through its tables, 16-bit tiles at 16 bits, 32-bit (linear) tiles through the
|
|
@@ -4725,4 +4732,4 @@ interface PsdExportResult {
|
|
|
4725
4732
|
/** Writes the prepared stack as PSD (or PSB) bytes. */
|
|
4726
4733
|
declare function exportPsd(input: PsdExportInput): PsdExportResult;
|
|
4727
4734
|
|
|
4728
|
-
export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES 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 ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup 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, blurFilter 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, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters 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 SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, fullSelection as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorRange as d9, describeTransform as dA, deserializeColorMode as dB, deserializeColorProfile as dC, deserializeEffects as dD, deserializeLayer as dE, deserializeLayers as dF, deserializePatterns as dG, deserializeSelection as dH, developFilter as dI, displayTransform as dJ, distanceTransform as dK, documentContents as dL, documentProfile as dM, duplicateLayer as dN, edgeWidth as dO, effectPixelsToSurface as dP, effectiveProof as dQ, ellipsePoints as dR, ellipseSelection as dS, encodeDeepSurface as dT, encodeSelectionRle as dU, encodeSurface as dV, expandCoverage as dW, exportPsd as dX, featherCoverage as dY, filterMaskCoverage as dZ, flipCorners as d_, combineSelections as da, componentPath as db, compositeDeep as dc, computeHistogram as dd, computeSelectionBounds as de, contentsBox as df, contentsSurface as dg, contractCoverage as dh, convertHex as di, convertSurfaceColors as dj, convertToSmartObject as dk, copySmartObject as dl, cornersFromMatrix as dm, coverageToByte as dn, createSelectionMask as dp, createShapeLayer as dq, createTypeLayer as dr, decodeDeepSurface as ds, decodeLayerChannel as dt, decodeLayerMask as du, decodeMergedImage as dv, decodePngDataUrl as dw, decodeSelectionRle as dx, defaultShapeName as dy, depthMaskAlpha as dz, type AdjustmentLayerMask as e, normalizeRect as e$, geometryHomography as e0, getAnnotationBounds as e1, getCropCursor as e2, getRotatedSize as e3, getViewportMetrics as e4, getViewportProjection as e5, globalImageCache as e6, greyMorphology as e7, groupLayers as e8, guidePlanes as e9, layerEffectsOf as eA, layerMaskCoverage as eB, layerMaskFromSelection as eC, layerMaskKey as eD, layerName as eE, layerTree as eF, layerTypeLabel as eG, liveComponent as eH, liveShapeSubpaths as eI, magicWand as eJ, mapCropHandle as eK, mapSubpaths as eL, matrixFromCorners as eM, matrixFromParams as eN, mergeShapeComponents as eO, migrateSerializedImageEditorState as eP, migrateToLayeredState as eQ, modifySelection as eR, moveLayer as eS, moveSmartFilter as eT, newContentsId as eU, newLayerId as eV, normalizeAngle as eW, normalizeFilter as eX, normalizeLayerMask as eY, normalizeLiveShape as eZ, normalizePlacement as e_, guidedFilterColor as ea, hasSurface as eb, hasWarp as ec, hashMaskContent as ed, histogramPath as ee, hitTestAnnotation as ef, hitTestCrop as eg, hueRange as eh, identityTransform as ei, imageToCanvasPoint as ej, importPsd as ek, instancesOf as el, invertSelection as em, isActiveFilter as en, isContentsDecoded as eo, isIdentityTransform as ep, isQuarterTurnSwapped as eq, isRenderedLayer as er, isRetouchTool as es, isSelectionEmpty as et, isSelectionMode as eu, isSmartSurfaceIncomplete as ev, isSpatialFilter as ew, isSrgb as ex, isTransformAnchor as ey, isValidWarp as ez, type AdjustmentLayerOf as f, runLayerFiltersFloat as f$, normalizeRefineEdgeParams as f0, normalizeShapePaint as f1, normalizeShapeStroke as f2, normalizeSmartFilter as f3, normalizeStoredAdjustments as f4, normalizeSubpaths as f5, normalizeText as f6, offsetLayer as f7, offsetShape as f8, offsetSmartObject as f9, refineCoverage as fA, refineEdgeHalo as fB, refineSelection as fC, removeLayer as fD, removeLayerEffect as fE, removeLayerFilter as fF, removeSmartFilter as fG, renderShape as fH, renderShapeRect as fI, renderSmartObject as fJ, renderText as fK, replaceContents as fL, replaceTextRange as fM, requireLayer as fN, requireOperation as fO, requireShapeLayer as fP, requireSmartObject as fQ, requireTypeLayer as fR, requireUnlocked as fS, rerender as fT, rerenderShape as fU, rerenderText as fV, resizePixels as fW, resizeSelection as fX, resolveExternalAssets as fY, resolveProfile as fZ, runLayerFilters as f_, parseBlend as fa, parseColor as fb, parseSelectionMode as fc, patchParagraphStyle as fd, patchTextStyle as fe, pixelLayerBounds as ff, pixelLayers as fg, placeContents as fh, placeLayer as fi, placementAt as fj, placementBounds as fk, placementGeometry as fl, polygonCoverage as fm, polygonSelection as fn, presetWarp as fo, previewStep as fp, profileBytes as fq, projectImagePoint as fr, projectImageRect as fs, projectMaskCoverage as ft, psdToLayers as fu, rasterContents as fv, rasterizeSmartObject as fw, readPsd as fx, rectSelection as fy, referencePoint as fz, ImageEditorController as g, selectionArea as g0, selectionFromCoverage as g1, selectionFromPixels as g2, selectionToCoverage as g3, selectionToPixels as g4, selectionValueAt as g5, serializeColorMode as g6, serializeColorProfile as g7, serializeContents as g8, serializeEffects as g9, toTextSpace as gA, toneRange as gB, transformHomography as gC, transformMap as gD, transformShapeComponents as gE, transformTypeLayer as gF, transformedBox as gG, transformedPoint as gH, typeAsPixelLayer as gI, typeFrame as gJ, typeFromAnnotation as gK, typeLayerName as gL, ungroupLayer as gM, unionRect as gN, unprojectCanvasPoint as gO, updateLayerEffect as gP, updateLayerFilter as gQ, updateLayerMaskProps as gR, updateShapeLayer as gS, updateSmartFilter as gT, updateTypeLayer as gU, withFilterMaskSurface as gV, withNewIds as gW, writePsd as gX, serializeLayer as ga, serializeLayers as gb, serializeLayersExternal as gc, serializePatterns as gd, serializeSelection as ge, setLayerEffects as gf, setLayerEffectsEnabled as gg, setLayerMask as gh, setLayerProperties as gi, setSmartFilterMask as gj, setSmartFiltersEnabled as gk, setSmartPlacement as gl, shapeAsPixelLayer as gm, shapeFromAnnotation as gn, shapeGeometryBounds as go, shapeLayers as gp, shapeOutline as gq, shapeRenderClip as gr, shiftCoverage as gs, smartObjectLayers as gt, smoothCoverage as gu, srgb8ToLab as gv, textMatrix as gw, textOutlines as gx, textRange as gy, toHex as gz, 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 };
|
|
4735
|
+
export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES 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 ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup 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, blurFilter 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, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters 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 SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, flipCorners as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorRange as d9, depthMaskAlpha as dA, describeTransform as dB, deserializeColorMode as dC, deserializeColorProfile as dD, deserializeEffects as dE, deserializeLayer as dF, deserializeLayers as dG, deserializePatterns as dH, deserializeSelection as dI, developFilter as dJ, displayTransform as dK, distanceTransform as dL, documentContents as dM, documentProfile as dN, duplicateLayer as dO, edgeWidth as dP, effectPixelsToSurface as dQ, effectiveProof as dR, ellipsePoints as dS, ellipseSelection as dT, encodeDeepSurface as dU, encodeSelectionRle as dV, encodeSurface as dW, expandCoverage as dX, exportPsd as dY, featherCoverage as dZ, filterMaskCoverage as d_, combineSelections as da, componentPath as db, compositeDeep as dc, computeHistogram as dd, computeSelectionBounds as de, contentsBox as df, contentsSurface as dg, contractCoverage as dh, convertColorFields as di, convertHex as dj, convertSurfaceColors as dk, convertToSmartObject as dl, copySmartObject as dm, cornersFromMatrix as dn, coverageToByte as dp, createSelectionMask as dq, createShapeLayer as dr, createTypeLayer as ds, decodeDeepSurface as dt, decodeLayerChannel as du, decodeLayerMask as dv, decodeMergedImage as dw, decodePngDataUrl as dx, decodeSelectionRle as dy, defaultShapeName as dz, type AdjustmentLayerMask as e, normalizePlacement as e$, fullSelection as e0, geometryHomography as e1, getAnnotationBounds as e2, getCropCursor as e3, getRotatedSize as e4, getViewportMetrics as e5, getViewportProjection as e6, globalImageCache as e7, greyMorphology as e8, groupLayers as e9, isValidWarp as eA, layerEffectsOf as eB, layerMaskCoverage as eC, layerMaskFromSelection as eD, layerMaskKey as eE, layerName as eF, layerTree as eG, layerTypeLabel as eH, liveComponent as eI, liveShapeSubpaths as eJ, magicWand as eK, mapCropHandle as eL, mapSubpaths as eM, matrixFromCorners as eN, matrixFromParams as eO, mergeShapeComponents as eP, migrateSerializedImageEditorState as eQ, migrateToLayeredState as eR, modifySelection as eS, moveLayer as eT, moveSmartFilter as eU, newContentsId as eV, newLayerId as eW, normalizeAngle as eX, normalizeFilter as eY, normalizeLayerMask as eZ, normalizeLiveShape as e_, guidePlanes as ea, guidedFilterColor as eb, hasSurface as ec, hasWarp as ed, hashMaskContent as ee, histogramPath as ef, hitTestAnnotation as eg, hitTestCrop as eh, hueRange as ei, identityTransform as ej, imageToCanvasPoint as ek, importPsd as el, instancesOf as em, invertSelection as en, isActiveFilter as eo, isContentsDecoded as ep, isIdentityTransform as eq, isQuarterTurnSwapped as er, isRenderedLayer as es, isRetouchTool as et, isSelectionEmpty as eu, isSelectionMode as ev, isSmartSurfaceIncomplete as ew, isSpatialFilter as ex, isSrgb as ey, isTransformAnchor as ez, type AdjustmentLayerOf as f, runLayerFilters as f$, normalizeRect as f0, normalizeRefineEdgeParams as f1, normalizeShapePaint as f2, normalizeShapeStroke as f3, normalizeSmartFilter as f4, normalizeStoredAdjustments as f5, normalizeSubpaths as f6, normalizeText as f7, offsetLayer as f8, offsetShape as f9, referencePoint as fA, refineCoverage as fB, refineEdgeHalo as fC, refineSelection as fD, removeLayer as fE, removeLayerEffect as fF, removeLayerFilter as fG, removeSmartFilter as fH, renderShape as fI, renderShapeRect as fJ, renderSmartObject as fK, renderText as fL, replaceContents as fM, replaceTextRange as fN, requireLayer as fO, requireOperation as fP, requireShapeLayer as fQ, requireSmartObject as fR, requireTypeLayer as fS, requireUnlocked as fT, rerender as fU, rerenderShape as fV, rerenderText as fW, resizePixels as fX, resizeSelection as fY, resolveExternalAssets as fZ, resolveProfile as f_, offsetSmartObject as fa, parseBlend as fb, parseColor as fc, parseSelectionMode as fd, patchParagraphStyle as fe, patchTextStyle as ff, pixelLayerBounds as fg, pixelLayers as fh, placeContents as fi, placeLayer as fj, placementAt as fk, placementBounds as fl, placementGeometry as fm, polygonCoverage as fn, polygonSelection as fo, presetWarp as fp, previewStep as fq, profileBytes as fr, projectImagePoint as fs, projectImageRect as ft, projectMaskCoverage as fu, psdToLayers as fv, rasterContents as fw, rasterizeSmartObject as fx, readPsd as fy, rectSelection as fz, ImageEditorController as g, runLayerFiltersFloat as g0, selectionArea as g1, selectionFromCoverage as g2, selectionFromPixels as g3, selectionToCoverage as g4, selectionToPixels as g5, selectionValueAt as g6, serializeColorMode as g7, serializeColorProfile as g8, serializeContents as g9, toHex as gA, toTextSpace as gB, toneRange as gC, transformHomography as gD, transformMap as gE, transformShapeComponents as gF, transformTypeLayer as gG, transformedBox as gH, transformedPoint as gI, typeAsPixelLayer as gJ, typeFrame as gK, typeFromAnnotation as gL, typeLayerName as gM, ungroupLayer as gN, unionRect as gO, unprojectCanvasPoint as gP, updateLayerEffect as gQ, updateLayerFilter as gR, updateLayerMaskProps as gS, updateShapeLayer as gT, updateSmartFilter as gU, updateTypeLayer as gV, withFilterMaskSurface as gW, withNewIds as gX, writePsd as gY, serializeEffects as ga, serializeLayer as gb, serializeLayers as gc, serializeLayersExternal as gd, serializePatterns as ge, serializeSelection as gf, setLayerEffects as gg, setLayerEffectsEnabled as gh, setLayerMask as gi, setLayerProperties as gj, setSmartFilterMask as gk, setSmartFiltersEnabled as gl, setSmartPlacement as gm, shapeAsPixelLayer as gn, shapeFromAnnotation as go, shapeGeometryBounds as gp, shapeLayers as gq, shapeOutline as gr, shapeRenderClip as gs, shiftCoverage as gt, smartObjectLayers as gu, smoothCoverage as gv, srgb8ToLab as gw, textMatrix as gx, textOutlines as gy, textRange as gz, 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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-
|
|
1
|
+
import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-X_rycLNJ.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
|
|
@@ -2,9 +2,9 @@ import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as
|
|
|
2
2
|
import { c as PixelSurface, a as BlendMode, T as TiledSurface, R as RasterRect } from './surface-1MRncXpF.cjs';
|
|
3
3
|
import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.cjs';
|
|
4
4
|
import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2, H as Homography } from './types-CwMPoRMU.cjs';
|
|
5
|
-
import { B as BezierPath } from './bezier-
|
|
6
|
-
import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-
|
|
7
|
-
import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-
|
|
5
|
+
import { B as BezierPath } from './bezier-CdoGygwG.cjs';
|
|
6
|
+
import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-BFoYxy_s.cjs';
|
|
7
|
+
import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-CzZu51eI.cjs';
|
|
8
8
|
import { B as BrushSettings, P as PaintSource, M as MixerSettings, a as MixerLoad, R as RetouchSettings, S as StrokeCoverage, b as MixerTarget, c as MixerStroke, d as RetouchApply, e as StrokePoint, f as RetouchPaint, C as CoverageMap, g as PaintTileTarget, h as StrokeApply } from './rand-DTXAssW1.cjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -665,6 +665,13 @@ type PixelTransform = (rgba: Uint8ClampedArray) => void;
|
|
|
665
665
|
declare function displayTransform(doc: DocumentColorProfile | null | undefined, proof: ProofSetup | null | undefined): PixelTransform | null;
|
|
666
666
|
/** A `#rrggbb` colour converted between two profiles. */
|
|
667
667
|
declare function convertHex(hex: string, from: Profile, to: Profile, intent?: Intent, bpc?: boolean): string;
|
|
668
|
+
/**
|
|
669
|
+
* A copy of `value` (layer settings: effects, a shape's paint, text runs, an annotation) with
|
|
670
|
+
* every `#rrggbb` colour converted by `convert`. Colours are the string fields whose key ends in
|
|
671
|
+
* "color" (`color`, `strokeColor`, `highlightColor`, …), including gradient stops; text and other
|
|
672
|
+
* strings are left alone. Plain objects and arrays are copied only where something changed.
|
|
673
|
+
*/
|
|
674
|
+
declare function convertColorFields<T>(value: T, convert: (hex: string) => string): T;
|
|
668
675
|
/**
|
|
669
676
|
* A layer surface with every pixel's colour converted through `t` (an RGB → RGB transform):
|
|
670
677
|
* 8-bit tiles through its tables, 16-bit tiles at 16 bits, 32-bit (linear) tiles through the
|
|
@@ -4725,4 +4732,4 @@ interface PsdExportResult {
|
|
|
4725
4732
|
/** Writes the prepared stack as PSD (or PSB) bytes. */
|
|
4726
4733
|
declare function exportPsd(input: PsdExportInput): PsdExportResult;
|
|
4727
4734
|
|
|
4728
|
-
export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES 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 ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup 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, blurFilter 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, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters 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 SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, fullSelection as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorRange as d9, describeTransform as dA, deserializeColorMode as dB, deserializeColorProfile as dC, deserializeEffects as dD, deserializeLayer as dE, deserializeLayers as dF, deserializePatterns as dG, deserializeSelection as dH, developFilter as dI, displayTransform as dJ, distanceTransform as dK, documentContents as dL, documentProfile as dM, duplicateLayer as dN, edgeWidth as dO, effectPixelsToSurface as dP, effectiveProof as dQ, ellipsePoints as dR, ellipseSelection as dS, encodeDeepSurface as dT, encodeSelectionRle as dU, encodeSurface as dV, expandCoverage as dW, exportPsd as dX, featherCoverage as dY, filterMaskCoverage as dZ, flipCorners as d_, combineSelections as da, componentPath as db, compositeDeep as dc, computeHistogram as dd, computeSelectionBounds as de, contentsBox as df, contentsSurface as dg, contractCoverage as dh, convertHex as di, convertSurfaceColors as dj, convertToSmartObject as dk, copySmartObject as dl, cornersFromMatrix as dm, coverageToByte as dn, createSelectionMask as dp, createShapeLayer as dq, createTypeLayer as dr, decodeDeepSurface as ds, decodeLayerChannel as dt, decodeLayerMask as du, decodeMergedImage as dv, decodePngDataUrl as dw, decodeSelectionRle as dx, defaultShapeName as dy, depthMaskAlpha as dz, type AdjustmentLayerMask as e, normalizeRect as e$, geometryHomography as e0, getAnnotationBounds as e1, getCropCursor as e2, getRotatedSize as e3, getViewportMetrics as e4, getViewportProjection as e5, globalImageCache as e6, greyMorphology as e7, groupLayers as e8, guidePlanes as e9, layerEffectsOf as eA, layerMaskCoverage as eB, layerMaskFromSelection as eC, layerMaskKey as eD, layerName as eE, layerTree as eF, layerTypeLabel as eG, liveComponent as eH, liveShapeSubpaths as eI, magicWand as eJ, mapCropHandle as eK, mapSubpaths as eL, matrixFromCorners as eM, matrixFromParams as eN, mergeShapeComponents as eO, migrateSerializedImageEditorState as eP, migrateToLayeredState as eQ, modifySelection as eR, moveLayer as eS, moveSmartFilter as eT, newContentsId as eU, newLayerId as eV, normalizeAngle as eW, normalizeFilter as eX, normalizeLayerMask as eY, normalizeLiveShape as eZ, normalizePlacement as e_, guidedFilterColor as ea, hasSurface as eb, hasWarp as ec, hashMaskContent as ed, histogramPath as ee, hitTestAnnotation as ef, hitTestCrop as eg, hueRange as eh, identityTransform as ei, imageToCanvasPoint as ej, importPsd as ek, instancesOf as el, invertSelection as em, isActiveFilter as en, isContentsDecoded as eo, isIdentityTransform as ep, isQuarterTurnSwapped as eq, isRenderedLayer as er, isRetouchTool as es, isSelectionEmpty as et, isSelectionMode as eu, isSmartSurfaceIncomplete as ev, isSpatialFilter as ew, isSrgb as ex, isTransformAnchor as ey, isValidWarp as ez, type AdjustmentLayerOf as f, runLayerFiltersFloat as f$, normalizeRefineEdgeParams as f0, normalizeShapePaint as f1, normalizeShapeStroke as f2, normalizeSmartFilter as f3, normalizeStoredAdjustments as f4, normalizeSubpaths as f5, normalizeText as f6, offsetLayer as f7, offsetShape as f8, offsetSmartObject as f9, refineCoverage as fA, refineEdgeHalo as fB, refineSelection as fC, removeLayer as fD, removeLayerEffect as fE, removeLayerFilter as fF, removeSmartFilter as fG, renderShape as fH, renderShapeRect as fI, renderSmartObject as fJ, renderText as fK, replaceContents as fL, replaceTextRange as fM, requireLayer as fN, requireOperation as fO, requireShapeLayer as fP, requireSmartObject as fQ, requireTypeLayer as fR, requireUnlocked as fS, rerender as fT, rerenderShape as fU, rerenderText as fV, resizePixels as fW, resizeSelection as fX, resolveExternalAssets as fY, resolveProfile as fZ, runLayerFilters as f_, parseBlend as fa, parseColor as fb, parseSelectionMode as fc, patchParagraphStyle as fd, patchTextStyle as fe, pixelLayerBounds as ff, pixelLayers as fg, placeContents as fh, placeLayer as fi, placementAt as fj, placementBounds as fk, placementGeometry as fl, polygonCoverage as fm, polygonSelection as fn, presetWarp as fo, previewStep as fp, profileBytes as fq, projectImagePoint as fr, projectImageRect as fs, projectMaskCoverage as ft, psdToLayers as fu, rasterContents as fv, rasterizeSmartObject as fw, readPsd as fx, rectSelection as fy, referencePoint as fz, ImageEditorController as g, selectionArea as g0, selectionFromCoverage as g1, selectionFromPixels as g2, selectionToCoverage as g3, selectionToPixels as g4, selectionValueAt as g5, serializeColorMode as g6, serializeColorProfile as g7, serializeContents as g8, serializeEffects as g9, toTextSpace as gA, toneRange as gB, transformHomography as gC, transformMap as gD, transformShapeComponents as gE, transformTypeLayer as gF, transformedBox as gG, transformedPoint as gH, typeAsPixelLayer as gI, typeFrame as gJ, typeFromAnnotation as gK, typeLayerName as gL, ungroupLayer as gM, unionRect as gN, unprojectCanvasPoint as gO, updateLayerEffect as gP, updateLayerFilter as gQ, updateLayerMaskProps as gR, updateShapeLayer as gS, updateSmartFilter as gT, updateTypeLayer as gU, withFilterMaskSurface as gV, withNewIds as gW, writePsd as gX, serializeLayer as ga, serializeLayers as gb, serializeLayersExternal as gc, serializePatterns as gd, serializeSelection as ge, setLayerEffects as gf, setLayerEffectsEnabled as gg, setLayerMask as gh, setLayerProperties as gi, setSmartFilterMask as gj, setSmartFiltersEnabled as gk, setSmartPlacement as gl, shapeAsPixelLayer as gm, shapeFromAnnotation as gn, shapeGeometryBounds as go, shapeLayers as gp, shapeOutline as gq, shapeRenderClip as gr, shiftCoverage as gs, smartObjectLayers as gt, smoothCoverage as gu, srgb8ToLab as gv, textMatrix as gw, textOutlines as gx, textRange as gy, toHex as gz, 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 };
|
|
4735
|
+
export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES 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 ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup 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, blurFilter 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, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters 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 SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, flipCorners as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorRange as d9, depthMaskAlpha as dA, describeTransform as dB, deserializeColorMode as dC, deserializeColorProfile as dD, deserializeEffects as dE, deserializeLayer as dF, deserializeLayers as dG, deserializePatterns as dH, deserializeSelection as dI, developFilter as dJ, displayTransform as dK, distanceTransform as dL, documentContents as dM, documentProfile as dN, duplicateLayer as dO, edgeWidth as dP, effectPixelsToSurface as dQ, effectiveProof as dR, ellipsePoints as dS, ellipseSelection as dT, encodeDeepSurface as dU, encodeSelectionRle as dV, encodeSurface as dW, expandCoverage as dX, exportPsd as dY, featherCoverage as dZ, filterMaskCoverage as d_, combineSelections as da, componentPath as db, compositeDeep as dc, computeHistogram as dd, computeSelectionBounds as de, contentsBox as df, contentsSurface as dg, contractCoverage as dh, convertColorFields as di, convertHex as dj, convertSurfaceColors as dk, convertToSmartObject as dl, copySmartObject as dm, cornersFromMatrix as dn, coverageToByte as dp, createSelectionMask as dq, createShapeLayer as dr, createTypeLayer as ds, decodeDeepSurface as dt, decodeLayerChannel as du, decodeLayerMask as dv, decodeMergedImage as dw, decodePngDataUrl as dx, decodeSelectionRle as dy, defaultShapeName as dz, type AdjustmentLayerMask as e, normalizePlacement as e$, fullSelection as e0, geometryHomography as e1, getAnnotationBounds as e2, getCropCursor as e3, getRotatedSize as e4, getViewportMetrics as e5, getViewportProjection as e6, globalImageCache as e7, greyMorphology as e8, groupLayers as e9, isValidWarp as eA, layerEffectsOf as eB, layerMaskCoverage as eC, layerMaskFromSelection as eD, layerMaskKey as eE, layerName as eF, layerTree as eG, layerTypeLabel as eH, liveComponent as eI, liveShapeSubpaths as eJ, magicWand as eK, mapCropHandle as eL, mapSubpaths as eM, matrixFromCorners as eN, matrixFromParams as eO, mergeShapeComponents as eP, migrateSerializedImageEditorState as eQ, migrateToLayeredState as eR, modifySelection as eS, moveLayer as eT, moveSmartFilter as eU, newContentsId as eV, newLayerId as eW, normalizeAngle as eX, normalizeFilter as eY, normalizeLayerMask as eZ, normalizeLiveShape as e_, guidePlanes as ea, guidedFilterColor as eb, hasSurface as ec, hasWarp as ed, hashMaskContent as ee, histogramPath as ef, hitTestAnnotation as eg, hitTestCrop as eh, hueRange as ei, identityTransform as ej, imageToCanvasPoint as ek, importPsd as el, instancesOf as em, invertSelection as en, isActiveFilter as eo, isContentsDecoded as ep, isIdentityTransform as eq, isQuarterTurnSwapped as er, isRenderedLayer as es, isRetouchTool as et, isSelectionEmpty as eu, isSelectionMode as ev, isSmartSurfaceIncomplete as ew, isSpatialFilter as ex, isSrgb as ey, isTransformAnchor as ez, type AdjustmentLayerOf as f, runLayerFilters as f$, normalizeRect as f0, normalizeRefineEdgeParams as f1, normalizeShapePaint as f2, normalizeShapeStroke as f3, normalizeSmartFilter as f4, normalizeStoredAdjustments as f5, normalizeSubpaths as f6, normalizeText as f7, offsetLayer as f8, offsetShape as f9, referencePoint as fA, refineCoverage as fB, refineEdgeHalo as fC, refineSelection as fD, removeLayer as fE, removeLayerEffect as fF, removeLayerFilter as fG, removeSmartFilter as fH, renderShape as fI, renderShapeRect as fJ, renderSmartObject as fK, renderText as fL, replaceContents as fM, replaceTextRange as fN, requireLayer as fO, requireOperation as fP, requireShapeLayer as fQ, requireSmartObject as fR, requireTypeLayer as fS, requireUnlocked as fT, rerender as fU, rerenderShape as fV, rerenderText as fW, resizePixels as fX, resizeSelection as fY, resolveExternalAssets as fZ, resolveProfile as f_, offsetSmartObject as fa, parseBlend as fb, parseColor as fc, parseSelectionMode as fd, patchParagraphStyle as fe, patchTextStyle as ff, pixelLayerBounds as fg, pixelLayers as fh, placeContents as fi, placeLayer as fj, placementAt as fk, placementBounds as fl, placementGeometry as fm, polygonCoverage as fn, polygonSelection as fo, presetWarp as fp, previewStep as fq, profileBytes as fr, projectImagePoint as fs, projectImageRect as ft, projectMaskCoverage as fu, psdToLayers as fv, rasterContents as fw, rasterizeSmartObject as fx, readPsd as fy, rectSelection as fz, ImageEditorController as g, runLayerFiltersFloat as g0, selectionArea as g1, selectionFromCoverage as g2, selectionFromPixels as g3, selectionToCoverage as g4, selectionToPixels as g5, selectionValueAt as g6, serializeColorMode as g7, serializeColorProfile as g8, serializeContents as g9, toHex as gA, toTextSpace as gB, toneRange as gC, transformHomography as gD, transformMap as gE, transformShapeComponents as gF, transformTypeLayer as gG, transformedBox as gH, transformedPoint as gI, typeAsPixelLayer as gJ, typeFrame as gK, typeFromAnnotation as gL, typeLayerName as gM, ungroupLayer as gN, unionRect as gO, unprojectCanvasPoint as gP, updateLayerEffect as gQ, updateLayerFilter as gR, updateLayerMaskProps as gS, updateShapeLayer as gT, updateSmartFilter as gU, updateTypeLayer as gV, withFilterMaskSurface as gW, withNewIds as gX, writePsd as gY, serializeEffects as ga, serializeLayer as gb, serializeLayers as gc, serializeLayersExternal as gd, serializePatterns as ge, serializeSelection as gf, setLayerEffects as gg, setLayerEffectsEnabled as gh, setLayerMask as gi, setLayerProperties as gj, setSmartFilterMask as gk, setSmartFiltersEnabled as gl, setSmartPlacement as gm, shapeAsPixelLayer as gn, shapeFromAnnotation as go, shapeGeometryBounds as gp, shapeLayers as gq, shapeOutline as gr, shapeRenderClip as gs, shiftCoverage as gt, smartObjectLayers as gu, smoothCoverage as gv, srgb8ToLab as gw, textMatrix as gx, textOutlines as gy, textRange as gz, 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 };
|
|
@@ -1237,9 +1237,11 @@ type VectorAverageAxis = 'horizontal' | 'vertical' | 'both';
|
|
|
1237
1237
|
* `puckerBloat`, `twist`, `zigzag`, `wiggle` (Wiggle Paths), `offset` (Offset Paths), `merge`
|
|
1238
1238
|
* (Merge Paths), `repeater`, `envelope` (an envelope distortion: a warp preset or a mesh),
|
|
1239
1239
|
* `contour` (CorelDRAW's Contour: concentric offset steps blending toward end colours) and
|
|
1240
|
-
* `blockShadow` (CorelDRAW's Block Shadow: the shape swept along a direction, under it)
|
|
1240
|
+
* `blockShadow` (CorelDRAW's Block Shadow: the shape swept along a direction, under it),
|
|
1241
|
+
* `extrude` (CorelDRAW's Extrude: shaded side faces drawing the shape as a solid) and `bevel`
|
|
1242
|
+
* (CorelDRAW's Bevel: a shaded chiselled edge inside the shape).
|
|
1241
1243
|
*/
|
|
1242
|
-
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour' | 'blockShadow';
|
|
1244
|
+
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour' | 'blockShadow' | 'extrude' | 'bevel';
|
|
1243
1245
|
declare const VECTOR_EFFECT_TYPES: readonly VectorEffectType[];
|
|
1244
1246
|
/** Warp presets (Photoshop's fifteen, in menu order); shared with the image editor (`src/geom`). */
|
|
1245
1247
|
type VectorWarpStyle = WarpStyle;
|
|
@@ -1364,6 +1366,35 @@ interface VectorEffectParamsMap {
|
|
|
1364
1366
|
opacity: number;
|
|
1365
1367
|
endOpacity: number;
|
|
1366
1368
|
};
|
|
1369
|
+
/**
|
|
1370
|
+
* Extrude (CorelDRAW's Extrude): each shape drawn as a solid. `parallel` moves the back
|
|
1371
|
+
* `depth` along `angle` (degrees, 0 right, 90 down); `perspective` pulls it `toward` percent
|
|
1372
|
+
* of the way to `vanishingPoint` (offset from the shape's middle). Side faces are filled with
|
|
1373
|
+
* `color` (null: the shape's own solid fill), lightened or darkened by `shading` percent as
|
|
1374
|
+
* they face toward or away from a light coming from `lightAngle` degrees.
|
|
1375
|
+
*/
|
|
1376
|
+
extrude: {
|
|
1377
|
+
mode: 'parallel' | 'perspective';
|
|
1378
|
+
angle: number;
|
|
1379
|
+
depth: number;
|
|
1380
|
+
vanishingPoint: Vec2;
|
|
1381
|
+
toward: number;
|
|
1382
|
+
color: string | null;
|
|
1383
|
+
lightAngle: number;
|
|
1384
|
+
shading: number;
|
|
1385
|
+
};
|
|
1386
|
+
/**
|
|
1387
|
+
* Bevel (CorelDRAW's Bevel): a chiselled edge `width` wide inside each shape, one face per
|
|
1388
|
+
* edge, each lightened or darkened by `shading` percent as it faces toward or away from a
|
|
1389
|
+
* light coming from `lightAngle` degrees, in `color` (null: the shape's own paint as one
|
|
1390
|
+
* colour). The middle stays flat in the shape's own paint.
|
|
1391
|
+
*/
|
|
1392
|
+
bevel: {
|
|
1393
|
+
width: number;
|
|
1394
|
+
lightAngle: number;
|
|
1395
|
+
shading: number;
|
|
1396
|
+
color: string | null;
|
|
1397
|
+
};
|
|
1367
1398
|
/**
|
|
1368
1399
|
* Envelope distortion: the paths above it are mapped from their combined bounds through a warp
|
|
1369
1400
|
* preset (bend and horizontal / vertical distortion in percent) or, with style `mesh`, through
|
|
@@ -1237,9 +1237,11 @@ type VectorAverageAxis = 'horizontal' | 'vertical' | 'both';
|
|
|
1237
1237
|
* `puckerBloat`, `twist`, `zigzag`, `wiggle` (Wiggle Paths), `offset` (Offset Paths), `merge`
|
|
1238
1238
|
* (Merge Paths), `repeater`, `envelope` (an envelope distortion: a warp preset or a mesh),
|
|
1239
1239
|
* `contour` (CorelDRAW's Contour: concentric offset steps blending toward end colours) and
|
|
1240
|
-
* `blockShadow` (CorelDRAW's Block Shadow: the shape swept along a direction, under it)
|
|
1240
|
+
* `blockShadow` (CorelDRAW's Block Shadow: the shape swept along a direction, under it),
|
|
1241
|
+
* `extrude` (CorelDRAW's Extrude: shaded side faces drawing the shape as a solid) and `bevel`
|
|
1242
|
+
* (CorelDRAW's Bevel: a shaded chiselled edge inside the shape).
|
|
1241
1243
|
*/
|
|
1242
|
-
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour' | 'blockShadow';
|
|
1244
|
+
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour' | 'blockShadow' | 'extrude' | 'bevel';
|
|
1243
1245
|
declare const VECTOR_EFFECT_TYPES: readonly VectorEffectType[];
|
|
1244
1246
|
/** Warp presets (Photoshop's fifteen, in menu order); shared with the image editor (`src/geom`). */
|
|
1245
1247
|
type VectorWarpStyle = WarpStyle;
|
|
@@ -1364,6 +1366,35 @@ interface VectorEffectParamsMap {
|
|
|
1364
1366
|
opacity: number;
|
|
1365
1367
|
endOpacity: number;
|
|
1366
1368
|
};
|
|
1369
|
+
/**
|
|
1370
|
+
* Extrude (CorelDRAW's Extrude): each shape drawn as a solid. `parallel` moves the back
|
|
1371
|
+
* `depth` along `angle` (degrees, 0 right, 90 down); `perspective` pulls it `toward` percent
|
|
1372
|
+
* of the way to `vanishingPoint` (offset from the shape's middle). Side faces are filled with
|
|
1373
|
+
* `color` (null: the shape's own solid fill), lightened or darkened by `shading` percent as
|
|
1374
|
+
* they face toward or away from a light coming from `lightAngle` degrees.
|
|
1375
|
+
*/
|
|
1376
|
+
extrude: {
|
|
1377
|
+
mode: 'parallel' | 'perspective';
|
|
1378
|
+
angle: number;
|
|
1379
|
+
depth: number;
|
|
1380
|
+
vanishingPoint: Vec2;
|
|
1381
|
+
toward: number;
|
|
1382
|
+
color: string | null;
|
|
1383
|
+
lightAngle: number;
|
|
1384
|
+
shading: number;
|
|
1385
|
+
};
|
|
1386
|
+
/**
|
|
1387
|
+
* Bevel (CorelDRAW's Bevel): a chiselled edge `width` wide inside each shape, one face per
|
|
1388
|
+
* edge, each lightened or darkened by `shading` percent as it faces toward or away from a
|
|
1389
|
+
* light coming from `lightAngle` degrees, in `color` (null: the shape's own paint as one
|
|
1390
|
+
* colour). The middle stays flat in the shape's own paint.
|
|
1391
|
+
*/
|
|
1392
|
+
bevel: {
|
|
1393
|
+
width: number;
|
|
1394
|
+
lightAngle: number;
|
|
1395
|
+
shading: number;
|
|
1396
|
+
color: string | null;
|
|
1397
|
+
};
|
|
1367
1398
|
/**
|
|
1368
1399
|
* Envelope distortion: the paths above it are mapped from their combined bounds through a warp
|
|
1369
1400
|
* preset (bend and horizontal / vertical distortion in percent) or, with style `mesh`, through
|