@pixerate/editor 0.117.0 → 0.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +3 -0
- package/dist/animation-editor/index.cjs +54 -54
- package/dist/animation-editor/index.d.cts +3 -3
- package/dist/animation-editor/index.d.ts +3 -3
- package/dist/animation-editor/index.js +2 -2
- package/dist/{chunk-2J3LS7JZ.cjs → chunk-4S2AXNQF.cjs} +221 -186
- package/dist/chunk-4S2AXNQF.cjs.map +1 -0
- package/dist/{chunk-7LNZAWSJ.js → chunk-CSHEI3YT.js} +625 -451
- package/dist/chunk-CSHEI3YT.js.map +1 -0
- package/dist/{chunk-M7O4BJRH.cjs → chunk-KGNUFO4T.cjs} +36 -36
- package/dist/{chunk-M7O4BJRH.cjs.map → chunk-KGNUFO4T.cjs.map} +1 -1
- package/dist/{chunk-R2JE6SA7.js → chunk-KZLQY4CD.js} +42 -7
- package/dist/chunk-KZLQY4CD.js.map +1 -0
- package/dist/{chunk-L2T6EJ5S.cjs → chunk-L3PXFMOF.cjs} +38 -25
- package/dist/chunk-L3PXFMOF.cjs.map +1 -0
- package/dist/{chunk-FODKPD44.cjs → chunk-LI3KTY7K.cjs} +724 -550
- package/dist/chunk-LI3KTY7K.cjs.map +1 -0
- package/dist/{chunk-IVSNUXW7.js → chunk-T7IZDNSL.js} +37 -24
- package/dist/chunk-T7IZDNSL.js.map +1 -0
- package/dist/{chunk-T2P5TIZ6.js → chunk-TDQDMBUR.js} +2 -2
- package/dist/{chunk-BYAWOAST.cjs → chunk-TS5IEUW6.cjs} +26 -25
- package/dist/chunk-TS5IEUW6.cjs.map +1 -0
- package/dist/{chunk-VD2UDVF7.js → chunk-UMVW2Q66.js} +21 -5
- package/dist/chunk-UMVW2Q66.js.map +1 -0
- package/dist/{chunk-EBSYZRSW.cjs → chunk-WMRIG4XQ.cjs} +21 -5
- package/dist/chunk-WMRIG4XQ.cjs.map +1 -0
- package/dist/{chunk-JHXMNOMF.js → chunk-YHW26LS2.js} +14 -13
- package/dist/chunk-YHW26LS2.js.map +1 -0
- package/dist/{export-DMOuzgZZ.d.cts → export-B_jO2PrH.d.cts} +18 -4
- package/dist/{export-Dul1SbPv.d.ts → export-Ds8Ccw0K.d.ts} +18 -4
- package/dist/{flow-4-OC-UkQ.d.cts → flow-A2Dj-69w.d.cts} +21 -9
- package/dist/{flow-Cb7lkPm8.d.ts → flow-C95atNoQ.d.ts} +21 -9
- package/dist/image-editor/index.cjs +1104 -979
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +5 -5
- package/dist/image-editor/index.d.ts +5 -5
- package/dist/image-editor/index.js +157 -32
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +5 -3
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +2 -2
- package/dist/paint/index.d.ts +2 -2
- package/dist/paint/index.js +4 -2
- package/dist/paint-editor/index.cjs +147 -147
- package/dist/paint-editor/index.d.cts +4 -4
- package/dist/paint-editor/index.d.ts +4 -4
- package/dist/paint-editor/index.js +4 -4
- package/dist/raster/index.cjs +2 -2
- package/dist/raster/index.js +1 -1
- package/dist/{svg-DlEuhwoX.d.ts → svg-CTxrB5xO.d.ts} +5 -1
- package/dist/{svg-CVdFc80-.d.cts → svg-hK0WQc7-.d.cts} +5 -1
- package/dist/{types-Tfly4Aya.d.cts → types-Dq-8qgoo.d.cts} +45 -3
- package/dist/{types-CDLGhAZp.d.ts → types-TrSSh_RB.d.ts} +45 -3
- package/dist/vector/index.cjs +1535 -1164
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +127 -9
- package/dist/vector/index.d.ts +127 -9
- package/dist/vector/index.js +386 -15
- package/dist/vector/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/pixerate-image-editor/references/photoshop-files.md +9 -7
- package/skills/pixerate-vector/SKILL.md +13 -1
- package/skills/pixerate-vector/references/commands.md +1 -0
- package/dist/chunk-2J3LS7JZ.cjs.map +0 -1
- package/dist/chunk-7LNZAWSJ.js.map +0 -1
- package/dist/chunk-BYAWOAST.cjs.map +0 -1
- package/dist/chunk-EBSYZRSW.cjs.map +0 -1
- package/dist/chunk-FODKPD44.cjs.map +0 -1
- package/dist/chunk-IVSNUXW7.js.map +0 -1
- package/dist/chunk-JHXMNOMF.js.map +0 -1
- package/dist/chunk-L2T6EJ5S.cjs.map +0 -1
- package/dist/chunk-R2JE6SA7.js.map +0 -1
- package/dist/chunk-VD2UDVF7.js.map +0 -1
- /package/dist/{chunk-T2P5TIZ6.js.map → chunk-TDQDMBUR.js.map} +0 -0
package/dist/vector/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as Vec2$1, w as VectorSubpath, h as VectorBounds, z as VectorAnchor, x as VectorDocument, e as VectorNode, b as VectorPathNode, A as VectorTextNode, B as VectorAnchorType, s as VectorPaint, g as VectorGroupNode, C as VectorCornerKind, y as VectorWidthPoint, n as VectorGradient, u as VectorGradientStop, D as VectorViewport, E as VectorConnectorRoute, F as VectorConnectorSide, G as VectorConnectorEnd, H as VectorConnector, I as VectorConstraintKind, J as VectorConstraint, K as VectorCharacterStyle, L as VectorTextRun, M as VectorParagraphStyle, N as VectorTextFrame, O as VectorTransformHandle, P as VectorAnchorRef, Q as VectorPathfinderOperation, R as VectorTool, S as VectorDefaults, T as VectorTextAlign, U as VectorStyle, W as VectorHandleRef, X as VectorSegmentRef, Y as VectorBlendOptions, t as VectorMatrix, Z as VectorModifiers, _ as VectorBlendMode, k as VectorFilterType, V as VectorEffectType, $ as VectorAlign, a0 as VectorDistribute, a1 as VectorArrange, d as VectorBooleanOperation, a2 as VectorMaskType, a3 as
|
|
2
|
-
export {
|
|
1
|
+
import { o as Vec2$1, w as VectorSubpath, h as VectorBounds, z as VectorAnchor, x as VectorDocument, e as VectorNode, b as VectorPathNode, A as VectorTextNode, B as VectorAnchorType, s as VectorPaint, g as VectorGroupNode, C as VectorCornerKind, y as VectorWidthPoint, n as VectorGradient, u as VectorGradientStop, D as VectorViewport, E as VectorConnectorRoute, F as VectorConnectorSide, G as VectorConnectorEnd, H as VectorConnector, I as VectorConstraintKind, J as VectorConstraint, K as VectorCharacterStyle, L as VectorTextRun, M as VectorParagraphStyle, N as VectorTextFrame, O as VectorTransformHandle, P as VectorAnchorRef, Q as VectorPathfinderOperation, R as VectorTool, S as VectorDefaults, T as VectorTextAlign, U as VectorStyle, W as VectorHandleRef, X as VectorSegmentRef, Y as VectorBlendOptions, t as VectorMatrix, Z as VectorModifiers, _ as VectorBlendMode, k as VectorFilterType, V as VectorEffectType, $ as VectorAlign, a0 as VectorDistribute, a1 as VectorArrange, d as VectorBooleanOperation, a2 as VectorMaskType, a3 as VectorSymmetryMode, a4 as VectorSymmetry, a5 as VectorFreeformPoint, a6 as VectorMeshGradient, a7 as VectorFreeformGradient, a8 as VectorArrowhead, a9 as VectorResizing, aa as VectorFrame, ab as VectorHorizontalResizing, ac as VectorVerticalResizing, ad as VectorMask, ae as VectorAverageAxis, af as VectorSymbol, ag as VectorParameter, i as VectorWarpMesh, c as VectorFillRule, ah as VectorBlendSpacing, ai as VectorGradientInterpolation, q as VectorGradientSpread, r as VectorGradientType, v as VectorStrokeAlign, aj as VectorStrokeGradientMode, ak as VectorArrowAlign, f as VectorEffect, al as VectorPaintLayer, am as VectorStrokeLayer, m as VectorFilter, an as VectorBlend, ao as VectorMergeMode, ap as VectorLineJoin, a as VectorEffectParamsMap, aq as VectorStrokeSettings, ar as VectorInstanceOverrides, j as VectorInstanceNode } from '../types-Dq-8qgoo.cjs';
|
|
2
|
+
export { as as VECTOR_ARROWHEADS, at as VECTOR_BLEND_MODES, au as VECTOR_BLEND_SPACINGS, av as VECTOR_CONNECTOR_ROUTES, aw as VECTOR_CONNECTOR_SIDES, ax as VECTOR_CONSTRAINT_KINDS, ay as VECTOR_CORNER_KINDS, az as VECTOR_EFFECT_TYPES, aA as VECTOR_FILTER_TYPES, aB as VECTOR_GRADIENT_INTERPOLATIONS, aC as VECTOR_GRADIENT_SPREADS, aD as VECTOR_GRADIENT_TYPES, aE as VECTOR_HORIZONTAL_RESIZING, aF as VECTOR_MASK_TYPES, aG as VECTOR_MERGE_MODES, aH as VECTOR_PATHFINDER_OPERATIONS, aI as VECTOR_PATH_TEXT_BASELINES, aJ as VECTOR_STROKE_GRADIENT_MODES, aK as VECTOR_SYMMETRY_MODES, aL as VECTOR_TEXT_ALIGNS, aM as VECTOR_TOOLS, aN as VECTOR_TRANSFORM_HANDLES, aO as VECTOR_VERTICAL_RESIZING, aP as VectorCorner, l as VectorFilterParamsMap, aQ as VectorGeomRef, p as VectorGradientUnits, aR as VectorLineCap, aS as VectorPathTextBaseline, aT as VectorStrokeLayerKind, aU as VectorTextRunStyle, aV as VectorWarpStyle } from '../types-Dq-8qgoo.cjs';
|
|
3
3
|
import { P as Point } from '../types-BFkYA4eF.cjs';
|
|
4
4
|
import { a as BezierPathInput, A as AffineMatrix$1, B as BezierPath, c as BezierSegment } from '../bezier-BfwIbVTl.cjs';
|
|
5
5
|
export { S as SvgGradientDef } from '../bezier-BfwIbVTl.cjs';
|
|
6
|
-
import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef, j as VectorRgba, k as VectorSvgPatternDef } from '../svg-
|
|
7
|
-
export { l as VECTOR_EFFECT_DEFAULTS, m as VECTOR_EFFECT_LABELS, n as VECTOR_EFFECT_PARAM_SPECS, o as VECTOR_FILTER_DEFAULTS, p as VECTOR_FILTER_LABELS, q as VECTOR_FILTER_MENU, r as VECTOR_FILTER_PARAM_SPECS, s as VECTOR_GRADIENT_MAX_PERIODS, t as VECTOR_GRADIENT_MIN_STOPS, u as VectorBooleanOperand, v as VectorFilterPrimitive, w as VectorGradientPoints, x as VectorGradientRamp, y as VectorGradientSvgOptions, z as VectorPaintSvgOptions, A as VectorSvgImportOptions, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorInstanceDrawn, aY as vectorLiveBooleanSteps, aZ as vectorNodeEnvelope, a_ as vectorNodeFilterSvg, a$ as vectorNodeLocalPaintBounds, b0 as vectorOperandOperation, b1 as vectorPaintToSvg, b2 as vectorPathLocalBounds, b3 as vectorStrokeSvgParts, b4 as widthProfileFromAttribute, b5 as widthProfileToAttribute } from '../svg-
|
|
6
|
+
import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef, j as VectorRgba, k as VectorSvgPatternDef } from '../svg-hK0WQc7-.cjs';
|
|
7
|
+
export { l as VECTOR_EFFECT_DEFAULTS, m as VECTOR_EFFECT_LABELS, n as VECTOR_EFFECT_PARAM_SPECS, o as VECTOR_FILTER_DEFAULTS, p as VECTOR_FILTER_LABELS, q as VECTOR_FILTER_MENU, r as VECTOR_FILTER_PARAM_SPECS, s as VECTOR_GRADIENT_MAX_PERIODS, t as VECTOR_GRADIENT_MIN_STOPS, u as VectorBooleanOperand, v as VectorFilterPrimitive, w as VectorGradientPoints, x as VectorGradientRamp, y as VectorGradientSvgOptions, z as VectorPaintSvgOptions, A as VectorSvgImportOptions, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorInstanceDrawn, aY as vectorLiveBooleanSteps, aZ as vectorNodeEnvelope, a_ as vectorNodeFilterSvg, a$ as vectorNodeLocalPaintBounds, b0 as vectorOperandOperation, b1 as vectorPaintToSvg, b2 as vectorPathLocalBounds, b3 as vectorStrokeSvgParts, b4 as widthProfileFromAttribute, b5 as widthProfileToAttribute } from '../svg-hK0WQc7-.cjs';
|
|
8
8
|
import { H as HistoryManager } from '../HistoryManager-DeQQMBCj.cjs';
|
|
9
9
|
import { a as TextFont, L as LaidFragment, f as LaidLine, e as TextLayout, T as TextShaper } from '../warp-B39VsOtd.cjs';
|
|
10
10
|
export { g as VECTOR_WARP_STYLES, h as VECTOR_WARP_STYLE_LABELS, W as VectorWarpPreset, i as dragVectorMeshPoint, j as evalVectorMesh, k as fitVectorMesh, l as isValidVectorMesh, m as mapVectorMeshPoints, p as pullVectorMesh, r as removeVectorMeshSplitU, n as removeVectorMeshSplitV, o as resizeVectorMesh, s as splitVectorMeshU, q as splitVectorMeshV, t as vectorIdentityMesh, w as vectorMeshColumns, u as vectorMeshControlBounds, v as vectorMeshEditPoints, x as vectorMeshGridCurves, y as vectorMeshParamAt, z as vectorMeshRows, A as vectorWarpPresetGrid, B as vectorWarpPresetMesh } from '../warp-B39VsOtd.cjs';
|
|
@@ -1787,6 +1787,8 @@ interface VectorEditorState {
|
|
|
1787
1787
|
trackingPoints: readonly VectorTrackingPoint[];
|
|
1788
1788
|
/** A distance or coordinate being typed while the pen draws (Enter places the point), or null. */
|
|
1789
1789
|
typedEntry: string | null;
|
|
1790
|
+
/** The symmetry group new drawn art goes into (`enterSymmetry`), or null. */
|
|
1791
|
+
symmetryTarget: string | null;
|
|
1790
1792
|
/** The selected point of a mesh or freeform fill (Gradient tool), or null. */
|
|
1791
1793
|
shadingPoint: {
|
|
1792
1794
|
nodeId: string;
|
|
@@ -2710,6 +2712,50 @@ declare class VectorEditorController {
|
|
|
2710
2712
|
invert?: boolean;
|
|
2711
2713
|
name?: string;
|
|
2712
2714
|
}): VectorMaskResult;
|
|
2715
|
+
/** The symmetry group new pen, pencil, shape and text art goes into (see `enterSymmetry`), or null. */
|
|
2716
|
+
private symmetryTarget;
|
|
2717
|
+
/** The symmetry group drawn art goes into, while it is entered and still a top-level, unturned symmetry group. */
|
|
2718
|
+
private drawingTarget;
|
|
2719
|
+
/** Adds a node a drawing tool makes: into the entered symmetry group, else on top. */
|
|
2720
|
+
private addDrawn;
|
|
2721
|
+
/**
|
|
2722
|
+
* Make Symmetry: puts objects that share a parent (default: the selection) into a live symmetry
|
|
2723
|
+
* group that draws them with their mirrored or rotated copies, the axes through `center`
|
|
2724
|
+
* (default: the objects' centre, or the artboard's when there are none, making an empty group to
|
|
2725
|
+
* draw into). One undo step; selects the group (and enters it when empty). Returns its id.
|
|
2726
|
+
*/
|
|
2727
|
+
makeSymmetry(input: {
|
|
2728
|
+
mode: VectorSymmetryMode;
|
|
2729
|
+
center?: Vec2$1;
|
|
2730
|
+
rotation?: number;
|
|
2731
|
+
copies?: number;
|
|
2732
|
+
mirror?: boolean;
|
|
2733
|
+
name?: string;
|
|
2734
|
+
}, options?: {
|
|
2735
|
+
ids?: readonly string[];
|
|
2736
|
+
}): VectorMaskResult;
|
|
2737
|
+
/** Symmetry groups among `ids` (default: the selection, or the group holding it). */
|
|
2738
|
+
private symmetryTargets;
|
|
2739
|
+
/** Changes symmetry groups (default: the selected one, or the one holding the selection): mode, centre (the group's space), rotation, radial copies and mirroring. One undo step (merged while `merge` is the same key). */
|
|
2740
|
+
setSymmetry(patch: Partial<VectorSymmetry>, options?: {
|
|
2741
|
+
ids?: readonly string[];
|
|
2742
|
+
merge?: string;
|
|
2743
|
+
}): VectorActionResult;
|
|
2744
|
+
/**
|
|
2745
|
+
* Release Symmetry: the groups stop repeating their children. With `expand`, the copies become
|
|
2746
|
+
* real objects in the group (new ids); otherwise they go. One undo step. Returns the ids of the
|
|
2747
|
+
* objects added by expanding.
|
|
2748
|
+
*/
|
|
2749
|
+
releaseSymmetry(options?: {
|
|
2750
|
+
ids?: readonly string[];
|
|
2751
|
+
expand?: boolean;
|
|
2752
|
+
}): VectorActionResult & {
|
|
2753
|
+
ids?: string[];
|
|
2754
|
+
};
|
|
2755
|
+
/** Enters a top-level symmetry group: new pen, pencil, shape and text art goes into it (mirrored as it is drawn) until `exitSymmetry` or Escape. */
|
|
2756
|
+
enterSymmetry(id: string): VectorActionResult;
|
|
2757
|
+
/** Stops drawing into the entered symmetry group. */
|
|
2758
|
+
exitSymmetry(): void;
|
|
2713
2759
|
/**
|
|
2714
2760
|
* The document as a vector PDF (see `vectorDocumentToPdf`): one page of the artboard, or a page
|
|
2715
2761
|
* per artboard (`pages: 'artboards'`). Returns the file's bytes, its page count and notes on
|
|
@@ -3822,6 +3868,12 @@ interface VectorSceneRenderData {
|
|
|
3822
3868
|
filters: VectorRenderFilter[];
|
|
3823
3869
|
/** Visible nodes, bottom to top. */
|
|
3824
3870
|
nodes: VectorRenderNode[];
|
|
3871
|
+
/** Top-level nodes in the document, left out as off screen (with `viewportSize`), and drawn collapsed (`lod`). */
|
|
3872
|
+
stats: {
|
|
3873
|
+
nodes: number;
|
|
3874
|
+
culled: number;
|
|
3875
|
+
collapsed: number;
|
|
3876
|
+
};
|
|
3825
3877
|
}
|
|
3826
3878
|
interface VectorRenderAnchor {
|
|
3827
3879
|
ref: VectorAnchorRef;
|
|
@@ -4106,6 +4158,20 @@ interface VectorOverlayRenderData {
|
|
|
4106
4158
|
selected: boolean;
|
|
4107
4159
|
}[];
|
|
4108
4160
|
}[];
|
|
4161
|
+
/**
|
|
4162
|
+
* Axes of the symmetry groups that are selected or being drawn into, screen space: each line as
|
|
4163
|
+
* `x1, y1, x2, y2`; `drawing` when new art goes into that group (draw it more strongly).
|
|
4164
|
+
*/
|
|
4165
|
+
symmetry: {
|
|
4166
|
+
nodeId: string;
|
|
4167
|
+
drawing: boolean;
|
|
4168
|
+
lines: {
|
|
4169
|
+
x1: number;
|
|
4170
|
+
y1: number;
|
|
4171
|
+
x2: number;
|
|
4172
|
+
y2: number;
|
|
4173
|
+
}[];
|
|
4174
|
+
}[];
|
|
4109
4175
|
/** Points acquired for object snap tracking, screen space: draw a small `+` at each. */
|
|
4110
4176
|
trackingPoints: {
|
|
4111
4177
|
x: number;
|
|
@@ -4187,13 +4253,27 @@ interface VectorRenderGradientAnnotator {
|
|
|
4187
4253
|
}
|
|
4188
4254
|
/** Distance between the Shape Builder's hatch lines over a face (screen pixels). */
|
|
4189
4255
|
declare const VECTOR_BUILDER_HATCH_GAP = 6;
|
|
4256
|
+
/** Options of `getVectorSceneRenderData`. */
|
|
4257
|
+
interface VectorSceneRenderOptions {
|
|
4258
|
+
/** Prefix of the ids of defs and filters (default `ve-`); give each editor on a page its own. */
|
|
4259
|
+
idPrefix?: string;
|
|
4260
|
+
/**
|
|
4261
|
+
* The canvas size in screen pixels. With it, top-level nodes outside the view are left out and
|
|
4262
|
+
* small live subtrees are simplified (see `lod`); leave it out for exports, which must be exact.
|
|
4263
|
+
*/
|
|
4264
|
+
viewportSize?: {
|
|
4265
|
+
width: number;
|
|
4266
|
+
height: number;
|
|
4267
|
+
};
|
|
4268
|
+
/** With `viewportSize`: groups, text and instances smaller than this many screen pixels draw as one rectangle in their main colour (default 2; 0 turns it off). */
|
|
4269
|
+
lod?: number;
|
|
4270
|
+
}
|
|
4190
4271
|
/**
|
|
4191
4272
|
* The document layer. Render the nodes inside `<g transform={transform}>` and `defs` in a
|
|
4192
|
-
* `<defs>` block. Pass a unique `idPrefix` when several editors share a page
|
|
4273
|
+
* `<defs>` block. Pass a unique `idPrefix` when several editors share a page, and the canvas size
|
|
4274
|
+
* (`viewportSize`) to draw only what the view shows.
|
|
4193
4275
|
*/
|
|
4194
|
-
declare function getVectorSceneRenderData(state: Pick<VectorEditorState, 'document' | 'viewport'>, options?:
|
|
4195
|
-
idPrefix?: string;
|
|
4196
|
-
}): VectorSceneRenderData;
|
|
4276
|
+
declare function getVectorSceneRenderData(state: Pick<VectorEditorState, 'document' | 'viewport'>, options?: VectorSceneRenderOptions): VectorSceneRenderData;
|
|
4197
4277
|
/** Live groups being edited in `state` (see `vectorEnteredGroups`). */
|
|
4198
4278
|
declare function getVectorEnteredGroups(state: Pick<VectorEditorState, 'document' | 'selection' | 'editingId'>): Set<string>;
|
|
4199
4279
|
/** The editing overlay in screen pixels. Render it on top of the scene, untransformed. */
|
|
@@ -4609,6 +4689,8 @@ interface VectorNodeListing {
|
|
|
4609
4689
|
frameRect?: VectorFrame;
|
|
4610
4690
|
/** A frame child's resizing constraints, when set. */
|
|
4611
4691
|
resizing?: VectorResizing;
|
|
4692
|
+
/** A symmetry group's settings. */
|
|
4693
|
+
symmetry?: VectorSymmetry;
|
|
4612
4694
|
/** A connector's ends and route (see vector.listConnectors). */
|
|
4613
4695
|
connector?: VectorConnector;
|
|
4614
4696
|
/** A mask group's mask: type, inversion, the mask's id (its first child) and the masked contents. */
|
|
@@ -5688,6 +5770,42 @@ declare function removeVectorFreeformPoint(f: VectorFreeformGradient, index: num
|
|
|
5688
5770
|
/** The mesh lattice point nearest `p` within `radius`, or the freeform point: its index, or -1. */
|
|
5689
5771
|
declare function nearestVectorShadingPoint(paint: VectorMeshGradient | VectorFreeformGradient, p: Vec2$1, radius: number): number;
|
|
5690
5772
|
|
|
5773
|
+
/**
|
|
5774
|
+
* Live symmetry groups: children drawn with their mirrored or rotated copies.
|
|
5775
|
+
*
|
|
5776
|
+
* The mirror modes and axes follow photocraft's `crates/paint/src/symmetry.rs` (MIT OR Apache-2.0,
|
|
5777
|
+
* © ArtCraft Team and contributors; see THIRD_PARTY_NOTICES.md): `vertical`, `horizontal`,
|
|
5778
|
+
* `diagonal` and `dual` (both axes and the point reflection between them) about a centre, turned
|
|
5779
|
+
* by a rotation, and the axes clipped to a box for display (`segments`). Radial symmetry (turns,
|
|
5780
|
+
* optionally mirrored: the dihedral group) is ours. The copies are not stored: they are part of
|
|
5781
|
+
* the group's appearance, rebuilt whenever a child changes, like CorelDRAW's live symmetry.
|
|
5782
|
+
*/
|
|
5783
|
+
|
|
5784
|
+
/** A symmetry group (with `symmetry` set, and not a blend, live boolean, mask group or frame). */
|
|
5785
|
+
type VectorSymmetryGroup = VectorGroupNode & {
|
|
5786
|
+
symmetry: VectorSymmetry;
|
|
5787
|
+
};
|
|
5788
|
+
/** Whether the node is a live symmetry group. */
|
|
5789
|
+
declare function isVectorSymmetryGroup(node: VectorNode | null | undefined): node is VectorSymmetryGroup;
|
|
5790
|
+
/** The copies a symmetry makes, as matrices in the group's space (the identity, the original, not included). */
|
|
5791
|
+
declare function vectorSymmetryMatrices(s: VectorSymmetry): AffineMatrix[];
|
|
5792
|
+
/**
|
|
5793
|
+
* The symmetry group as a plain group: its children, then each copy of them (ids `<id>~sym<k>`),
|
|
5794
|
+
* the copies locked. Same id, transform and appearance. Cached per node.
|
|
5795
|
+
*/
|
|
5796
|
+
declare function vectorSymmetryDrawn(node: VectorSymmetryGroup): VectorGroupNode;
|
|
5797
|
+
/**
|
|
5798
|
+
* The symmetry's axes for display: each mirror line (or each spoke of a radial symmetry) clipped
|
|
5799
|
+
* to `box` (photocraft `segments`), in the group's space.
|
|
5800
|
+
*/
|
|
5801
|
+
declare function vectorSymmetryAxes(s: VectorSymmetry, box: VectorBounds): [Vec2$1, Vec2$1][];
|
|
5802
|
+
/** Reads symmetry settings from untrusted data (JSON, agent input, SVG import), or null. */
|
|
5803
|
+
declare function sanitizeVectorSymmetry(value: unknown): VectorSymmetry | null;
|
|
5804
|
+
/** Labels for the symmetry pickers. */
|
|
5805
|
+
declare const VECTOR_SYMMETRY_MODE_LABELS: Readonly<Record<VectorSymmetryMode, string>>;
|
|
5806
|
+
/** The symmetry settings carried through a map baked into the group (its centre moves; its axes turn with a rotation, flip with a mirror). */
|
|
5807
|
+
declare function transformVectorSymmetry(s: VectorSymmetry, m: AffineMatrix): VectorSymmetry;
|
|
5808
|
+
|
|
5691
5809
|
/**
|
|
5692
5810
|
* Framework-neutral data for a text panel (React and Svelte render it the same way): what it edits
|
|
5693
5811
|
* (the selected characters of the text being edited, the selected text nodes, or the defaults for
|
|
@@ -5965,4 +6083,4 @@ declare function vectorSpatialIndex(nodes: readonly VectorNode[]): VectorRTree |
|
|
|
5965
6083
|
*/
|
|
5966
6084
|
declare function vectorNodesNear(nodes: readonly VectorNode[], rect: VectorBounds, pad?: number): number[];
|
|
5967
6085
|
|
|
5968
|
-
export { type AddVectorNodeOptions, AffineMatrix$1 as AffineMatrix, DEFAULT_VECTOR_BLEND_DISTANCE, DEFAULT_VECTOR_BLEND_STEPS, DEFAULT_VECTOR_FONT, DEFAULT_VECTOR_PATH_EDIT, DEFAULT_VECTOR_SNAP, IDENTITY_MATRIX, KAPPA, LazyMouse, type MapVectorSubpathsOptions, type NearestSegment, type RecognizeInkOptions, TextFont, TextShaper, VECTOR_ARROWHEAD_LABELS, VECTOR_BLEND_MAX_SMOOTH_STEPS, VECTOR_BLEND_MAX_STEPS, VECTOR_BLEND_MODE_LABELS, VECTOR_BLEND_MODE_MENU, VECTOR_BLEND_SPACING_LABELS, VECTOR_BUILDER_HATCH_GAP, VECTOR_CHARACTER_STYLE_KEYS, VECTOR_CLIPBOARD_TYPE, VECTOR_CONNECTOR_ROUTE_LABELS, VECTOR_CONNECTOR_SIDE_LABELS, VECTOR_CONSTRAINT_GLYPHS, VECTOR_CONSTRAINT_LABELS, VECTOR_CONSTRUCTION_ANGLES, VECTOR_CORNER_KIND_LABELS, VECTOR_CORNER_WIDGET_INSET, VECTOR_DIMENSIONAL_KINDS, VECTOR_DISTORT_TOLERANCE, VECTOR_EDIT_TOGGLES, VECTOR_EFFECT_MENU, VECTOR_ENVELOPE_STYLE_OPTIONS, VECTOR_FILL_GAP, VECTOR_FONT_WEIGHTS, VECTOR_GRADIENT_INTERPOLATION_LABELS, VECTOR_GRADIENT_MIDPOINT_GAP, VECTOR_GRADIENT_OFF_BAR, VECTOR_GRADIENT_SPREAD_LABELS, VECTOR_GRADIENT_STOP_GAP, VECTOR_GRADIENT_TYPE_LABELS, VECTOR_HORIZONTAL_RESIZING_LABELS, VECTOR_INK_MAX_CORNERS, VECTOR_MASK_TYPE_LABELS, VECTOR_MASK_TYPE_OPTIONS, VECTOR_MAX_CONSTRAINTS, VECTOR_MAX_TRACKING_POINTS, VECTOR_MESH_MAX, VECTOR_OVERLAY_THEME, VECTOR_PARAGRAPH_STYLE_KEYS, VECTOR_PATHFINDER_ACTIONS, VECTOR_PATHFINDER_LABELS, VECTOR_PATH_ACTIONS, VECTOR_PENCIL_STRING_PX, VECTOR_PRESSURE_NOMINAL, VECTOR_ROTATE_HANDLE_OFFSET, VECTOR_SPATIAL_MIN, VECTOR_STROKE_ALIGN_LABELS, VECTOR_STROKE_GRADIENT_MODE_LABELS, VECTOR_STROKE_SETTING_KEYS, VECTOR_STYLE_KEYS, VECTOR_SYMBOL_MAX_DEPTH, VECTOR_TEXT_ALIGN_LABELS, VECTOR_TEXT_ALIGN_OPTIONS, VECTOR_TOOL_GLYPHS, VECTOR_TOOL_SHORTCUTS, VECTOR_TRACE_MAX_PIXELS, VECTOR_VERTICAL_RESIZING_LABELS, VECTOR_WIDTH_PRESETS, VECTOR_WIDTH_PRESET_IDS, VECTOR_WIDTH_PROFILE_MAX_POINTS, VECTOR_WIDTH_PROFILE_MAX_SCALE, VECTOR_WIDTH_SAME_T, type VariableStrokeOptions, Vec2$1 as Vec2, type VectorActionResult, VectorAlign, VectorAnchor, VectorAnchorRef, VectorAnchorType, type VectorAppearancePanelData, type VectorAppearancePanelLayer, VectorAppearanceShape, VectorArrange, VectorArrowAlign, VectorArrowhead, type VectorArrowheadShape, VectorAverageAxis, VectorBlend, type VectorBlendControls, type VectorBlendInput, VectorBlendMode, VectorBlendOptions, type VectorBlendRail, VectorBlendSpacing, type VectorBlendStart, VectorBooleanOperation, VectorBounds, type VectorBuilderHit, type VectorBuilderLinePiece, type VectorBuilderPreview, type VectorBuilderReplacement, type VectorBuilderTouched, VectorCharacterStyle, type VectorCommandOptions, type VectorConnectionSite, VectorConnector, VectorConnectorEnd, type VectorConnectorListing, type VectorConnectorPanel, VectorConnectorRoute, type VectorConnectorRouting, VectorConnectorSide, VectorConstraint, type VectorConstraintAction, VectorConstraintError, type VectorConstraintGlyph, type VectorConstraintInput, VectorConstraintKind, type VectorConstraintPanelData, type VectorConstraintRefInput, type VectorCornerInfo, VectorCornerKind, type VectorCornerWidget, VectorDefaults, type VectorDistortMode, VectorDistribute, VectorDocument, type VectorDofReport, type VectorDofStatus, VectorEditorController, type VectorEditorOptions, type VectorEditorState, VectorEffect, VectorEffectParamSpec, VectorEffectParamsMap, VectorEffectType, type VectorEffectsPanelData, type VectorEffectsPanelItem, type VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, VectorFillRule, VectorFilter, VectorFilterParamSpec, VectorFilterType, type VectorFiltersPanelItem, VectorFrame, type VectorFrameGroup, type VectorFrameListing, type VectorFramePanel, type VectorFreeformField, VectorFreeformGradient, VectorFreeformPoint, VectorGradient, type VectorGradientAnnotator, type VectorGradientEditorData, VectorGradientHandle, VectorGradientInterpolation, type VectorGradientPart, VectorGradientPatch, VectorGradientSpread, VectorGradientStop, type VectorGradientTarget, VectorGradientType, VectorGroupNode, type VectorGuideKind, type VectorGuideLabel, type VectorGuideLine, VectorHandleRef, type VectorHitTestOptions, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, VectorLineJoin, type VectorLottie, type VectorLottieExport, type VectorLottieExportOptions, type VectorLottieImport, type VectorLottieImportOptions, VectorMask, type VectorMaskClipShape, type VectorMaskGroup, type VectorMaskPanelData, type VectorMaskRegionShape, type VectorMaskRenderData, type VectorMaskResult, type VectorMaskSummary, VectorMaskType, VectorMatrix, VectorMergeMode, VectorMeshGradient, VectorModifiers, type VectorMorph, type VectorMorphContour, type VectorMorphCorrespondence, type VectorMorphOptions, VectorNode, type VectorNodeListing, type VectorOverlayRenderData, VectorPaint, VectorPaintDef, VectorPaintLayer, type VectorPaintLayerHit, type VectorPaintLayerNode, VectorParagraphStyle, VectorParameter, type VectorPathAction, type VectorPathEditOptions, type VectorPathEntry, type VectorPathKeyframe, type VectorPathMeasure, VectorPathNode, type VectorPathfinderAction, VectorPathfinderOperation, type VectorPathfinderPaint, type VectorPdfExport, type VectorPdfOptions, type VectorPointMap, type VectorPointSnap, type VectorPointerInput, VectorRTree, type VectorRectSnap, type VectorRenderAnchor, type VectorRenderCornerWidget, VectorRenderFilter, type VectorRenderGradientAnnotator, type VectorRenderGroup, type VectorRenderGuideLabel, type VectorRenderGuideLine, type VectorRenderHandle, type VectorRenderMask, type VectorRenderNode, type VectorRenderPaintLayer, type VectorRenderPath, VectorRenderStrokeParts, type VectorRenderText, type VectorRenderTextSpan, type VectorRenderWidthPoint, type VectorRepeaterCopy, VectorResizing, type VectorResolvedRun, VectorRgba, type VectorScaleSnap, type VectorSceneRenderData, VectorSegmentRef, type VectorSelectionBoxGeometry, type VectorSelectionFrame, type VectorSelectionStyle, type VectorShadedSvgOptions, type VectorShapeBuilderFace, type VectorShapeBuilderMap, type VectorShapeBuilderPlan, type VectorShapeBuilderResult, type VectorShapeInput, type VectorSnapGuides, type VectorSnapKind, type VectorSnapLeave, type VectorSnapOptions, VectorSnapTargets, type VectorSolveResult, VectorStrokeAlign, VectorStrokeGradientMode, VectorStrokeLayer, type VectorStrokeParts, VectorStrokeSettings, type VectorStrokeSpot, VectorStyle, VectorSubpath, VectorSvgExportOptions, VectorSvgPatternDef, VectorSymbol, type VectorSymbolsPanelData, type VectorSymbolsPanelItem, type VectorTaperOptions, VectorTextAlign, type VectorTextCaret, type VectorTextDefaults, type VectorTextEditState, VectorTextError, type VectorTextFragment, VectorTextFrame, type VectorTextGlyph, type VectorTextInput, type VectorTextLayout, VectorTextNode, type VectorTextPanelData, type VectorTextPaths, VectorTextRun, type VectorTextSpan, VectorTool, type VectorTraceOptions, type VectorTracePixels, type VectorTrackingPath, type VectorTrackingPoint, VectorTransformHandle, VectorVerticalResizing, VectorViewport, VectorWarpMesh, type VectorWaveOptions, type VectorWidthHandle, VectorWidthPoint, type VectorWidthPointEdit, type VectorWidthPointRef, type VectorWidthPreset, type VectorWidthPresetInfo, addBuilderHit, addVectorConstraint, applyMatrix, applyMatrixLinear, applyVectorBlendOptions, applyVectorParagraphStyle, applyVectorTextStyle, arrowheadInset, arrowheadPath, arrowheadWeight, autoConstrainVector, autoVectorFreeformGradient, bakeVectorTextGeometry, bendSegment, bezierToSubpaths, boundsFromPoints, boundsIntersect, checkVectorExpression, cloneAnchor, cloneSubpath, cloneVectorDocument, cloneVectorNode, collectPaintedNodes, collectPathNodes, composeVectorMatrices, constrainToLeave, convertAnchor, cornerBisectorPoint, cornerRadiusChange, cornerSetback, correspondMorphContours, createVectorCommands, createVectorMeshGradient, createVectorMorph, curvatureMoveAnchor, cutSubpathAt, dashIntervals, decomposeRigid, distortVectorNode, effectPathLength, effectPathVertexCount, effectiveStrokeAlign, ellipseSubpath, eraseFromFill, eraseFromOutline, eraserRegion, evalVectorExpression, evaluateVectorPathKeyframes, expandVectorBlend, expandVectorCorners, expandVectorCornersOf, findVectorAnchorById, findVectorNode, fitCornerRadius, fitVectorTextRuns, formatVectorValue, generateVectorBlendChildren, generateWidthProfile, getAnchor, getAnchorWorld, getEditablePathIds, getTransformHandlePositions, getVectorAppearancePanel, getVectorBlendControls, getVectorConnectorPanel, getVectorConstraintPanel, getVectorCornerWidgets, getVectorEffectsPanel, getVectorEnteredGroups, getVectorEnvelopePanel, getVectorEnvelopeTarget, getVectorFramePanel, getVectorGradientAnnotator, getVectorGradientEditor, getVectorMaskPanel, getVectorOverlayRenderData, getVectorSceneRenderData, getVectorSelectionBoxGeometry, getVectorSelectionFrame, getVectorSelectionStyle, getVectorSymbolEditBackground, getVectorSymbolsPanel, getVectorTextPanel, getVectorTextShaper, getVectorWidthHandles, getVisibleAnchors, getVisibleHandles, glyphBox, hasPaint, hasStrokeExtras, hasVectorCorners, hasVectorPaintStacks, hitTestVectorNode, hitTestVectorNodes, hitTestVectorPaintLayer, hitTestVectorPaintStack, hitTestVectorStroke, hitVectorGradientAnnotator, inferAnchorType, inferVectorConstraints, insertAnchor, insertWidthPoint, interpolateMorphContours, interpolateRigidMatrix, interpolateVectorColor, interpolateVectorPaint, interpolateVectorPaths, interpolateVectorStyle, interpolateWidthProfiles, invertMatrix, isClosedBezierShape, isDrawnVectorPaintLayer, isIdentityMatrix, isPlainVectorPaintLayer, isUniformWidthProfile, isValidVectorParameterName, isVectorBlendGroup, isVectorBlendMode, isVectorConnector, isVectorFrame, isVectorFreeformGradient, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorMeshGradient, isVectorShadedPaint, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, lottieValueAt, mapBezierPath, mapVectorPoints, mapVectorShadedPaint, mapVectorSubpaths, matrixRotation, measureVectorConstraint, measureVectorPath, mergePaths, mirrorWidthProfile, morphContourToSubpath, morphPathsCross, moveAnchorHandle, multiplyMatrices, nearestSegment, nearestStrokePosition, nearestVectorConnectionSite, nearestVectorShadingPoint, needsVectorPaintLayers, newVectorStrokeLayer, nextVectorConstraintName, nextVectorCornerKind, nodeMatrix, normalizeVectorPaintStacks, normalizeVectorTextRuns, offsetPaths, parseVectorLottie, patchVectorCharacterStyle, patchVectorParagraphStyle, pathTextFrameFromBezier, pathsCenter, planShapeBuilder, polygonSubpath, polylineBounds, prefixVectorIds, pressureWidthProfile, puckerBloatPaths, purgeVectorConstraints, quantizeVectorTraceColors, recognizeInkShape, rectSubpath, refineMorphContour, refreshVectorBlends, releaseVectorBlend, removeAnchorKeepingShape, removeAnchors, removeAnchorsKeepingShape, removeRedundantPoints, removeVectorFreeformPoint, removeWidthPoints, repeatPaths, replaceVectorText, rerouteVectorConnectors, resampleGradientStops, resolveVectorBlendOptions, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorMask, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, traceVectorImage, transformVectorNode, transformVectorShadedPaint, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtboards, vectorBlendColorDistance, vectorBlendKeyTargets, vectorBlendKeys, vectorBlendModeCss, vectorBlendModeFromCss, vectorBlendRail, vectorBlendRailAt, vectorBlendSpine, vectorBlendStepCount, vectorBoundsInside, vectorBoxCorners, vectorBuilderErasedEdges, vectorConnectionSites, vectorConnectorTargetAt, vectorConnectorWorldAnchors, vectorConstraintActions, vectorConstraintDof, vectorConstraintEnv, vectorConstraintGlyphs, vectorConstraintPanel, vectorConstraintResiduals, vectorConstraintValue, vectorCornerAt, vectorCorners, vectorDiamondPath, vectorDistortQuad, vectorDocumentToLottie, vectorDocumentToPdf, vectorExpressionNames, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorFreeformField, vectorFreeformLineSegments, vectorFreeformSpreadScale, vectorGradientBarPosition, vectorGradientTargetPath, vectorInkShapeName, vectorInstanceGroup, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPaintLayerNodes, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, vectorPolarAngles, vectorPolarIncrementOf, vectorRepeaterCopies, vectorResizeCursor, vectorResultStyle, vectorRgbaToCss, vectorShadedSvgDefs, vectorShapeBuilderHit, vectorShapeBuilderMap, vectorShearForSide, vectorSkewMatrix, vectorSpatialIndex, vectorStacksHaveGradient, vectorStrokeGradientDefs, vectorStrokeLineArea, vectorStrokeOutline, vectorStrokeOutlinePath, vectorStrokeParts, vectorStrokeReach, vectorStrokeSettings, vectorStrokeStackReach, vectorStrokeWidthGeometry, vectorStrokes, vectorSymbolUses, vectorSymbolsUsedIn, vectorTargetPaint, vectorTextBoxOutline, vectorTextCaret, vectorTextFamilies, vectorTextGeometryNode, vectorTextHasOutlines, vectorTextIndexAt, vectorTextName, vectorTextPaintSource, vectorTextPaths, vectorTextRange, vectorTextRuns, vectorTextSelectionQuads, vectorTextShaperGeneration, vectorTextSpanSvg, vectorTextSpans, vectorTextStyleAt, vectorToolLabel, vectorTraceContours, vectorTrackingPaths, vectorWorldMatrix, walkVectorNodes, widthProfileAt, widthProfileMaxScale, widthProfilePreset, widthProfilePresetId, wigglePaths, withVectorAnchorIds, withVectorDocumentAnchorIds, withVectorFills, withVectorStrokes, withVectorTargetPaint, zigzagPaths };
|
|
6086
|
+
export { type AddVectorNodeOptions, AffineMatrix$1 as AffineMatrix, DEFAULT_VECTOR_BLEND_DISTANCE, DEFAULT_VECTOR_BLEND_STEPS, DEFAULT_VECTOR_FONT, DEFAULT_VECTOR_PATH_EDIT, DEFAULT_VECTOR_SNAP, IDENTITY_MATRIX, KAPPA, LazyMouse, type MapVectorSubpathsOptions, type NearestSegment, type RecognizeInkOptions, TextFont, TextShaper, VECTOR_ARROWHEAD_LABELS, VECTOR_BLEND_MAX_SMOOTH_STEPS, VECTOR_BLEND_MAX_STEPS, VECTOR_BLEND_MODE_LABELS, VECTOR_BLEND_MODE_MENU, VECTOR_BLEND_SPACING_LABELS, VECTOR_BUILDER_HATCH_GAP, VECTOR_CHARACTER_STYLE_KEYS, VECTOR_CLIPBOARD_TYPE, VECTOR_CONNECTOR_ROUTE_LABELS, VECTOR_CONNECTOR_SIDE_LABELS, VECTOR_CONSTRAINT_GLYPHS, VECTOR_CONSTRAINT_LABELS, VECTOR_CONSTRUCTION_ANGLES, VECTOR_CORNER_KIND_LABELS, VECTOR_CORNER_WIDGET_INSET, VECTOR_DIMENSIONAL_KINDS, VECTOR_DISTORT_TOLERANCE, VECTOR_EDIT_TOGGLES, VECTOR_EFFECT_MENU, VECTOR_ENVELOPE_STYLE_OPTIONS, VECTOR_FILL_GAP, VECTOR_FONT_WEIGHTS, VECTOR_GRADIENT_INTERPOLATION_LABELS, VECTOR_GRADIENT_MIDPOINT_GAP, VECTOR_GRADIENT_OFF_BAR, VECTOR_GRADIENT_SPREAD_LABELS, VECTOR_GRADIENT_STOP_GAP, VECTOR_GRADIENT_TYPE_LABELS, VECTOR_HORIZONTAL_RESIZING_LABELS, VECTOR_INK_MAX_CORNERS, VECTOR_MASK_TYPE_LABELS, VECTOR_MASK_TYPE_OPTIONS, VECTOR_MAX_CONSTRAINTS, VECTOR_MAX_TRACKING_POINTS, VECTOR_MESH_MAX, VECTOR_OVERLAY_THEME, VECTOR_PARAGRAPH_STYLE_KEYS, VECTOR_PATHFINDER_ACTIONS, VECTOR_PATHFINDER_LABELS, VECTOR_PATH_ACTIONS, VECTOR_PENCIL_STRING_PX, VECTOR_PRESSURE_NOMINAL, VECTOR_ROTATE_HANDLE_OFFSET, VECTOR_SPATIAL_MIN, VECTOR_STROKE_ALIGN_LABELS, VECTOR_STROKE_GRADIENT_MODE_LABELS, VECTOR_STROKE_SETTING_KEYS, VECTOR_STYLE_KEYS, VECTOR_SYMBOL_MAX_DEPTH, VECTOR_SYMMETRY_MODE_LABELS, VECTOR_TEXT_ALIGN_LABELS, VECTOR_TEXT_ALIGN_OPTIONS, VECTOR_TOOL_GLYPHS, VECTOR_TOOL_SHORTCUTS, VECTOR_TRACE_MAX_PIXELS, VECTOR_VERTICAL_RESIZING_LABELS, VECTOR_WIDTH_PRESETS, VECTOR_WIDTH_PRESET_IDS, VECTOR_WIDTH_PROFILE_MAX_POINTS, VECTOR_WIDTH_PROFILE_MAX_SCALE, VECTOR_WIDTH_SAME_T, type VariableStrokeOptions, Vec2$1 as Vec2, type VectorActionResult, VectorAlign, VectorAnchor, VectorAnchorRef, VectorAnchorType, type VectorAppearancePanelData, type VectorAppearancePanelLayer, VectorAppearanceShape, VectorArrange, VectorArrowAlign, VectorArrowhead, type VectorArrowheadShape, VectorAverageAxis, VectorBlend, type VectorBlendControls, type VectorBlendInput, VectorBlendMode, VectorBlendOptions, type VectorBlendRail, VectorBlendSpacing, type VectorBlendStart, VectorBooleanOperation, VectorBounds, type VectorBuilderHit, type VectorBuilderLinePiece, type VectorBuilderPreview, type VectorBuilderReplacement, type VectorBuilderTouched, VectorCharacterStyle, type VectorCommandOptions, type VectorConnectionSite, VectorConnector, VectorConnectorEnd, type VectorConnectorListing, type VectorConnectorPanel, VectorConnectorRoute, type VectorConnectorRouting, VectorConnectorSide, VectorConstraint, type VectorConstraintAction, VectorConstraintError, type VectorConstraintGlyph, type VectorConstraintInput, VectorConstraintKind, type VectorConstraintPanelData, type VectorConstraintRefInput, type VectorCornerInfo, VectorCornerKind, type VectorCornerWidget, VectorDefaults, type VectorDistortMode, VectorDistribute, VectorDocument, type VectorDofReport, type VectorDofStatus, VectorEditorController, type VectorEditorOptions, type VectorEditorState, VectorEffect, VectorEffectParamSpec, VectorEffectParamsMap, VectorEffectType, type VectorEffectsPanelData, type VectorEffectsPanelItem, type VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, VectorFillRule, VectorFilter, VectorFilterParamSpec, VectorFilterType, type VectorFiltersPanelItem, VectorFrame, type VectorFrameGroup, type VectorFrameListing, type VectorFramePanel, type VectorFreeformField, VectorFreeformGradient, VectorFreeformPoint, VectorGradient, type VectorGradientAnnotator, type VectorGradientEditorData, VectorGradientHandle, VectorGradientInterpolation, type VectorGradientPart, VectorGradientPatch, VectorGradientSpread, VectorGradientStop, type VectorGradientTarget, VectorGradientType, VectorGroupNode, type VectorGuideKind, type VectorGuideLabel, type VectorGuideLine, VectorHandleRef, type VectorHitTestOptions, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, VectorLineJoin, type VectorLottie, type VectorLottieExport, type VectorLottieExportOptions, type VectorLottieImport, type VectorLottieImportOptions, VectorMask, type VectorMaskClipShape, type VectorMaskGroup, type VectorMaskPanelData, type VectorMaskRegionShape, type VectorMaskRenderData, type VectorMaskResult, type VectorMaskSummary, VectorMaskType, VectorMatrix, VectorMergeMode, VectorMeshGradient, VectorModifiers, type VectorMorph, type VectorMorphContour, type VectorMorphCorrespondence, type VectorMorphOptions, VectorNode, type VectorNodeListing, type VectorOverlayRenderData, VectorPaint, VectorPaintDef, VectorPaintLayer, type VectorPaintLayerHit, type VectorPaintLayerNode, VectorParagraphStyle, VectorParameter, type VectorPathAction, type VectorPathEditOptions, type VectorPathEntry, type VectorPathKeyframe, type VectorPathMeasure, VectorPathNode, type VectorPathfinderAction, VectorPathfinderOperation, type VectorPathfinderPaint, type VectorPdfExport, type VectorPdfOptions, type VectorPointMap, type VectorPointSnap, type VectorPointerInput, VectorRTree, type VectorRectSnap, type VectorRenderAnchor, type VectorRenderCornerWidget, VectorRenderFilter, type VectorRenderGradientAnnotator, type VectorRenderGroup, type VectorRenderGuideLabel, type VectorRenderGuideLine, type VectorRenderHandle, type VectorRenderMask, type VectorRenderNode, type VectorRenderPaintLayer, type VectorRenderPath, VectorRenderStrokeParts, type VectorRenderText, type VectorRenderTextSpan, type VectorRenderWidthPoint, type VectorRepeaterCopy, VectorResizing, type VectorResolvedRun, VectorRgba, type VectorScaleSnap, type VectorSceneRenderData, type VectorSceneRenderOptions, VectorSegmentRef, type VectorSelectionBoxGeometry, type VectorSelectionFrame, type VectorSelectionStyle, type VectorShadedSvgOptions, type VectorShapeBuilderFace, type VectorShapeBuilderMap, type VectorShapeBuilderPlan, type VectorShapeBuilderResult, type VectorShapeInput, type VectorSnapGuides, type VectorSnapKind, type VectorSnapLeave, type VectorSnapOptions, VectorSnapTargets, type VectorSolveResult, VectorStrokeAlign, VectorStrokeGradientMode, VectorStrokeLayer, type VectorStrokeParts, VectorStrokeSettings, type VectorStrokeSpot, VectorStyle, VectorSubpath, VectorSvgExportOptions, VectorSvgPatternDef, VectorSymbol, type VectorSymbolsPanelData, type VectorSymbolsPanelItem, VectorSymmetry, type VectorSymmetryGroup, VectorSymmetryMode, type VectorTaperOptions, VectorTextAlign, type VectorTextCaret, type VectorTextDefaults, type VectorTextEditState, VectorTextError, type VectorTextFragment, VectorTextFrame, type VectorTextGlyph, type VectorTextInput, type VectorTextLayout, VectorTextNode, type VectorTextPanelData, type VectorTextPaths, VectorTextRun, type VectorTextSpan, VectorTool, type VectorTraceOptions, type VectorTracePixels, type VectorTrackingPath, type VectorTrackingPoint, VectorTransformHandle, VectorVerticalResizing, VectorViewport, VectorWarpMesh, type VectorWaveOptions, type VectorWidthHandle, VectorWidthPoint, type VectorWidthPointEdit, type VectorWidthPointRef, type VectorWidthPreset, type VectorWidthPresetInfo, addBuilderHit, addVectorConstraint, applyMatrix, applyMatrixLinear, applyVectorBlendOptions, applyVectorParagraphStyle, applyVectorTextStyle, arrowheadInset, arrowheadPath, arrowheadWeight, autoConstrainVector, autoVectorFreeformGradient, bakeVectorTextGeometry, bendSegment, bezierToSubpaths, boundsFromPoints, boundsIntersect, checkVectorExpression, cloneAnchor, cloneSubpath, cloneVectorDocument, cloneVectorNode, collectPaintedNodes, collectPathNodes, composeVectorMatrices, constrainToLeave, convertAnchor, cornerBisectorPoint, cornerRadiusChange, cornerSetback, correspondMorphContours, createVectorCommands, createVectorMeshGradient, createVectorMorph, curvatureMoveAnchor, cutSubpathAt, dashIntervals, decomposeRigid, distortVectorNode, effectPathLength, effectPathVertexCount, effectiveStrokeAlign, ellipseSubpath, eraseFromFill, eraseFromOutline, eraserRegion, evalVectorExpression, evaluateVectorPathKeyframes, expandVectorBlend, expandVectorCorners, expandVectorCornersOf, findVectorAnchorById, findVectorNode, fitCornerRadius, fitVectorTextRuns, formatVectorValue, generateVectorBlendChildren, generateWidthProfile, getAnchor, getAnchorWorld, getEditablePathIds, getTransformHandlePositions, getVectorAppearancePanel, getVectorBlendControls, getVectorConnectorPanel, getVectorConstraintPanel, getVectorCornerWidgets, getVectorEffectsPanel, getVectorEnteredGroups, getVectorEnvelopePanel, getVectorEnvelopeTarget, getVectorFramePanel, getVectorGradientAnnotator, getVectorGradientEditor, getVectorMaskPanel, getVectorOverlayRenderData, getVectorSceneRenderData, getVectorSelectionBoxGeometry, getVectorSelectionFrame, getVectorSelectionStyle, getVectorSymbolEditBackground, getVectorSymbolsPanel, getVectorTextPanel, getVectorTextShaper, getVectorWidthHandles, getVisibleAnchors, getVisibleHandles, glyphBox, hasPaint, hasStrokeExtras, hasVectorCorners, hasVectorPaintStacks, hitTestVectorNode, hitTestVectorNodes, hitTestVectorPaintLayer, hitTestVectorPaintStack, hitTestVectorStroke, hitVectorGradientAnnotator, inferAnchorType, inferVectorConstraints, insertAnchor, insertWidthPoint, interpolateMorphContours, interpolateRigidMatrix, interpolateVectorColor, interpolateVectorPaint, interpolateVectorPaths, interpolateVectorStyle, interpolateWidthProfiles, invertMatrix, isClosedBezierShape, isDrawnVectorPaintLayer, isIdentityMatrix, isPlainVectorPaintLayer, isUniformWidthProfile, isValidVectorParameterName, isVectorBlendGroup, isVectorBlendMode, isVectorConnector, isVectorFrame, isVectorFreeformGradient, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorMeshGradient, isVectorShadedPaint, isVectorSymmetryGroup, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, lottieValueAt, mapBezierPath, mapVectorPoints, mapVectorShadedPaint, mapVectorSubpaths, matrixRotation, measureVectorConstraint, measureVectorPath, mergePaths, mirrorWidthProfile, morphContourToSubpath, morphPathsCross, moveAnchorHandle, multiplyMatrices, nearestSegment, nearestStrokePosition, nearestVectorConnectionSite, nearestVectorShadingPoint, needsVectorPaintLayers, newVectorStrokeLayer, nextVectorConstraintName, nextVectorCornerKind, nodeMatrix, normalizeVectorPaintStacks, normalizeVectorTextRuns, offsetPaths, parseVectorLottie, patchVectorCharacterStyle, patchVectorParagraphStyle, pathTextFrameFromBezier, pathsCenter, planShapeBuilder, polygonSubpath, polylineBounds, prefixVectorIds, pressureWidthProfile, puckerBloatPaths, purgeVectorConstraints, quantizeVectorTraceColors, recognizeInkShape, rectSubpath, refineMorphContour, refreshVectorBlends, releaseVectorBlend, removeAnchorKeepingShape, removeAnchors, removeAnchorsKeepingShape, removeRedundantPoints, removeVectorFreeformPoint, removeWidthPoints, repeatPaths, replaceVectorText, rerouteVectorConnectors, resampleGradientStops, resolveVectorBlendOptions, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorMask, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorSymmetry, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, traceVectorImage, transformVectorNode, transformVectorShadedPaint, transformVectorSymmetry, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtboards, vectorBlendColorDistance, vectorBlendKeyTargets, vectorBlendKeys, vectorBlendModeCss, vectorBlendModeFromCss, vectorBlendRail, vectorBlendRailAt, vectorBlendSpine, vectorBlendStepCount, vectorBoundsInside, vectorBoxCorners, vectorBuilderErasedEdges, vectorConnectionSites, vectorConnectorTargetAt, vectorConnectorWorldAnchors, vectorConstraintActions, vectorConstraintDof, vectorConstraintEnv, vectorConstraintGlyphs, vectorConstraintPanel, vectorConstraintResiduals, vectorConstraintValue, vectorCornerAt, vectorCorners, vectorDiamondPath, vectorDistortQuad, vectorDocumentToLottie, vectorDocumentToPdf, vectorExpressionNames, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorFreeformField, vectorFreeformLineSegments, vectorFreeformSpreadScale, vectorGradientBarPosition, vectorGradientTargetPath, vectorInkShapeName, vectorInstanceGroup, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPaintLayerNodes, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, vectorPolarAngles, vectorPolarIncrementOf, vectorRepeaterCopies, vectorResizeCursor, vectorResultStyle, vectorRgbaToCss, vectorShadedSvgDefs, vectorShapeBuilderHit, vectorShapeBuilderMap, vectorShearForSide, vectorSkewMatrix, vectorSpatialIndex, vectorStacksHaveGradient, vectorStrokeGradientDefs, vectorStrokeLineArea, vectorStrokeOutline, vectorStrokeOutlinePath, vectorStrokeParts, vectorStrokeReach, vectorStrokeSettings, vectorStrokeStackReach, vectorStrokeWidthGeometry, vectorStrokes, vectorSymbolUses, vectorSymbolsUsedIn, vectorSymmetryAxes, vectorSymmetryDrawn, vectorSymmetryMatrices, vectorTargetPaint, vectorTextBoxOutline, vectorTextCaret, vectorTextFamilies, vectorTextGeometryNode, vectorTextHasOutlines, vectorTextIndexAt, vectorTextName, vectorTextPaintSource, vectorTextPaths, vectorTextRange, vectorTextRuns, vectorTextSelectionQuads, vectorTextShaperGeneration, vectorTextSpanSvg, vectorTextSpans, vectorTextStyleAt, vectorToolLabel, vectorTraceContours, vectorTrackingPaths, vectorWorldMatrix, walkVectorNodes, widthProfileAt, widthProfileMaxScale, widthProfilePreset, widthProfilePresetId, wigglePaths, withVectorAnchorIds, withVectorDocumentAnchorIds, withVectorFills, withVectorStrokes, withVectorTargetPaint, zigzagPaths };
|
package/dist/vector/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as Vec2$1, w as VectorSubpath, h as VectorBounds, z as VectorAnchor, x as VectorDocument, e as VectorNode, b as VectorPathNode, A as VectorTextNode, B as VectorAnchorType, s as VectorPaint, g as VectorGroupNode, C as VectorCornerKind, y as VectorWidthPoint, n as VectorGradient, u as VectorGradientStop, D as VectorViewport, E as VectorConnectorRoute, F as VectorConnectorSide, G as VectorConnectorEnd, H as VectorConnector, I as VectorConstraintKind, J as VectorConstraint, K as VectorCharacterStyle, L as VectorTextRun, M as VectorParagraphStyle, N as VectorTextFrame, O as VectorTransformHandle, P as VectorAnchorRef, Q as VectorPathfinderOperation, R as VectorTool, S as VectorDefaults, T as VectorTextAlign, U as VectorStyle, W as VectorHandleRef, X as VectorSegmentRef, Y as VectorBlendOptions, t as VectorMatrix, Z as VectorModifiers, _ as VectorBlendMode, k as VectorFilterType, V as VectorEffectType, $ as VectorAlign, a0 as VectorDistribute, a1 as VectorArrange, d as VectorBooleanOperation, a2 as VectorMaskType, a3 as
|
|
2
|
-
export {
|
|
1
|
+
import { o as Vec2$1, w as VectorSubpath, h as VectorBounds, z as VectorAnchor, x as VectorDocument, e as VectorNode, b as VectorPathNode, A as VectorTextNode, B as VectorAnchorType, s as VectorPaint, g as VectorGroupNode, C as VectorCornerKind, y as VectorWidthPoint, n as VectorGradient, u as VectorGradientStop, D as VectorViewport, E as VectorConnectorRoute, F as VectorConnectorSide, G as VectorConnectorEnd, H as VectorConnector, I as VectorConstraintKind, J as VectorConstraint, K as VectorCharacterStyle, L as VectorTextRun, M as VectorParagraphStyle, N as VectorTextFrame, O as VectorTransformHandle, P as VectorAnchorRef, Q as VectorPathfinderOperation, R as VectorTool, S as VectorDefaults, T as VectorTextAlign, U as VectorStyle, W as VectorHandleRef, X as VectorSegmentRef, Y as VectorBlendOptions, t as VectorMatrix, Z as VectorModifiers, _ as VectorBlendMode, k as VectorFilterType, V as VectorEffectType, $ as VectorAlign, a0 as VectorDistribute, a1 as VectorArrange, d as VectorBooleanOperation, a2 as VectorMaskType, a3 as VectorSymmetryMode, a4 as VectorSymmetry, a5 as VectorFreeformPoint, a6 as VectorMeshGradient, a7 as VectorFreeformGradient, a8 as VectorArrowhead, a9 as VectorResizing, aa as VectorFrame, ab as VectorHorizontalResizing, ac as VectorVerticalResizing, ad as VectorMask, ae as VectorAverageAxis, af as VectorSymbol, ag as VectorParameter, i as VectorWarpMesh, c as VectorFillRule, ah as VectorBlendSpacing, ai as VectorGradientInterpolation, q as VectorGradientSpread, r as VectorGradientType, v as VectorStrokeAlign, aj as VectorStrokeGradientMode, ak as VectorArrowAlign, f as VectorEffect, al as VectorPaintLayer, am as VectorStrokeLayer, m as VectorFilter, an as VectorBlend, ao as VectorMergeMode, ap as VectorLineJoin, a as VectorEffectParamsMap, aq as VectorStrokeSettings, ar as VectorInstanceOverrides, j as VectorInstanceNode } from '../types-TrSSh_RB.js';
|
|
2
|
+
export { as as VECTOR_ARROWHEADS, at as VECTOR_BLEND_MODES, au as VECTOR_BLEND_SPACINGS, av as VECTOR_CONNECTOR_ROUTES, aw as VECTOR_CONNECTOR_SIDES, ax as VECTOR_CONSTRAINT_KINDS, ay as VECTOR_CORNER_KINDS, az as VECTOR_EFFECT_TYPES, aA as VECTOR_FILTER_TYPES, aB as VECTOR_GRADIENT_INTERPOLATIONS, aC as VECTOR_GRADIENT_SPREADS, aD as VECTOR_GRADIENT_TYPES, aE as VECTOR_HORIZONTAL_RESIZING, aF as VECTOR_MASK_TYPES, aG as VECTOR_MERGE_MODES, aH as VECTOR_PATHFINDER_OPERATIONS, aI as VECTOR_PATH_TEXT_BASELINES, aJ as VECTOR_STROKE_GRADIENT_MODES, aK as VECTOR_SYMMETRY_MODES, aL as VECTOR_TEXT_ALIGNS, aM as VECTOR_TOOLS, aN as VECTOR_TRANSFORM_HANDLES, aO as VECTOR_VERTICAL_RESIZING, aP as VectorCorner, l as VectorFilterParamsMap, aQ as VectorGeomRef, p as VectorGradientUnits, aR as VectorLineCap, aS as VectorPathTextBaseline, aT as VectorStrokeLayerKind, aU as VectorTextRunStyle, aV as VectorWarpStyle } from '../types-TrSSh_RB.js';
|
|
3
3
|
import { P as Point } from '../types-BFkYA4eF.js';
|
|
4
4
|
import { a as BezierPathInput, A as AffineMatrix$1, B as BezierPath, c as BezierSegment } from '../bezier-DYBvLgUH.js';
|
|
5
5
|
export { S as SvgGradientDef } from '../bezier-DYBvLgUH.js';
|
|
6
|
-
import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef, j as VectorRgba, k as VectorSvgPatternDef } from '../svg-
|
|
7
|
-
export { l as VECTOR_EFFECT_DEFAULTS, m as VECTOR_EFFECT_LABELS, n as VECTOR_EFFECT_PARAM_SPECS, o as VECTOR_FILTER_DEFAULTS, p as VECTOR_FILTER_LABELS, q as VECTOR_FILTER_MENU, r as VECTOR_FILTER_PARAM_SPECS, s as VECTOR_GRADIENT_MAX_PERIODS, t as VECTOR_GRADIENT_MIN_STOPS, u as VectorBooleanOperand, v as VectorFilterPrimitive, w as VectorGradientPoints, x as VectorGradientRamp, y as VectorGradientSvgOptions, z as VectorPaintSvgOptions, A as VectorSvgImportOptions, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorInstanceDrawn, aY as vectorLiveBooleanSteps, aZ as vectorNodeEnvelope, a_ as vectorNodeFilterSvg, a$ as vectorNodeLocalPaintBounds, b0 as vectorOperandOperation, b1 as vectorPaintToSvg, b2 as vectorPathLocalBounds, b3 as vectorStrokeSvgParts, b4 as widthProfileFromAttribute, b5 as widthProfileToAttribute } from '../svg-
|
|
6
|
+
import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef, j as VectorRgba, k as VectorSvgPatternDef } from '../svg-CTxrB5xO.js';
|
|
7
|
+
export { l as VECTOR_EFFECT_DEFAULTS, m as VECTOR_EFFECT_LABELS, n as VECTOR_EFFECT_PARAM_SPECS, o as VECTOR_FILTER_DEFAULTS, p as VECTOR_FILTER_LABELS, q as VECTOR_FILTER_MENU, r as VECTOR_FILTER_PARAM_SPECS, s as VECTOR_GRADIENT_MAX_PERIODS, t as VECTOR_GRADIENT_MIN_STOPS, u as VectorBooleanOperand, v as VectorFilterPrimitive, w as VectorGradientPoints, x as VectorGradientRamp, y as VectorGradientSvgOptions, z as VectorPaintSvgOptions, A as VectorSvgImportOptions, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorInstanceDrawn, aY as vectorLiveBooleanSteps, aZ as vectorNodeEnvelope, a_ as vectorNodeFilterSvg, a$ as vectorNodeLocalPaintBounds, b0 as vectorOperandOperation, b1 as vectorPaintToSvg, b2 as vectorPathLocalBounds, b3 as vectorStrokeSvgParts, b4 as widthProfileFromAttribute, b5 as widthProfileToAttribute } from '../svg-CTxrB5xO.js';
|
|
8
8
|
import { H as HistoryManager } from '../HistoryManager-DWSLd6Tf.js';
|
|
9
9
|
import { a as TextFont, L as LaidFragment, f as LaidLine, e as TextLayout, T as TextShaper } from '../warp-DMN30aY6.js';
|
|
10
10
|
export { g as VECTOR_WARP_STYLES, h as VECTOR_WARP_STYLE_LABELS, W as VectorWarpPreset, i as dragVectorMeshPoint, j as evalVectorMesh, k as fitVectorMesh, l as isValidVectorMesh, m as mapVectorMeshPoints, p as pullVectorMesh, r as removeVectorMeshSplitU, n as removeVectorMeshSplitV, o as resizeVectorMesh, s as splitVectorMeshU, q as splitVectorMeshV, t as vectorIdentityMesh, w as vectorMeshColumns, u as vectorMeshControlBounds, v as vectorMeshEditPoints, x as vectorMeshGridCurves, y as vectorMeshParamAt, z as vectorMeshRows, A as vectorWarpPresetGrid, B as vectorWarpPresetMesh } from '../warp-DMN30aY6.js';
|
|
@@ -1787,6 +1787,8 @@ interface VectorEditorState {
|
|
|
1787
1787
|
trackingPoints: readonly VectorTrackingPoint[];
|
|
1788
1788
|
/** A distance or coordinate being typed while the pen draws (Enter places the point), or null. */
|
|
1789
1789
|
typedEntry: string | null;
|
|
1790
|
+
/** The symmetry group new drawn art goes into (`enterSymmetry`), or null. */
|
|
1791
|
+
symmetryTarget: string | null;
|
|
1790
1792
|
/** The selected point of a mesh or freeform fill (Gradient tool), or null. */
|
|
1791
1793
|
shadingPoint: {
|
|
1792
1794
|
nodeId: string;
|
|
@@ -2710,6 +2712,50 @@ declare class VectorEditorController {
|
|
|
2710
2712
|
invert?: boolean;
|
|
2711
2713
|
name?: string;
|
|
2712
2714
|
}): VectorMaskResult;
|
|
2715
|
+
/** The symmetry group new pen, pencil, shape and text art goes into (see `enterSymmetry`), or null. */
|
|
2716
|
+
private symmetryTarget;
|
|
2717
|
+
/** The symmetry group drawn art goes into, while it is entered and still a top-level, unturned symmetry group. */
|
|
2718
|
+
private drawingTarget;
|
|
2719
|
+
/** Adds a node a drawing tool makes: into the entered symmetry group, else on top. */
|
|
2720
|
+
private addDrawn;
|
|
2721
|
+
/**
|
|
2722
|
+
* Make Symmetry: puts objects that share a parent (default: the selection) into a live symmetry
|
|
2723
|
+
* group that draws them with their mirrored or rotated copies, the axes through `center`
|
|
2724
|
+
* (default: the objects' centre, or the artboard's when there are none, making an empty group to
|
|
2725
|
+
* draw into). One undo step; selects the group (and enters it when empty). Returns its id.
|
|
2726
|
+
*/
|
|
2727
|
+
makeSymmetry(input: {
|
|
2728
|
+
mode: VectorSymmetryMode;
|
|
2729
|
+
center?: Vec2$1;
|
|
2730
|
+
rotation?: number;
|
|
2731
|
+
copies?: number;
|
|
2732
|
+
mirror?: boolean;
|
|
2733
|
+
name?: string;
|
|
2734
|
+
}, options?: {
|
|
2735
|
+
ids?: readonly string[];
|
|
2736
|
+
}): VectorMaskResult;
|
|
2737
|
+
/** Symmetry groups among `ids` (default: the selection, or the group holding it). */
|
|
2738
|
+
private symmetryTargets;
|
|
2739
|
+
/** Changes symmetry groups (default: the selected one, or the one holding the selection): mode, centre (the group's space), rotation, radial copies and mirroring. One undo step (merged while `merge` is the same key). */
|
|
2740
|
+
setSymmetry(patch: Partial<VectorSymmetry>, options?: {
|
|
2741
|
+
ids?: readonly string[];
|
|
2742
|
+
merge?: string;
|
|
2743
|
+
}): VectorActionResult;
|
|
2744
|
+
/**
|
|
2745
|
+
* Release Symmetry: the groups stop repeating their children. With `expand`, the copies become
|
|
2746
|
+
* real objects in the group (new ids); otherwise they go. One undo step. Returns the ids of the
|
|
2747
|
+
* objects added by expanding.
|
|
2748
|
+
*/
|
|
2749
|
+
releaseSymmetry(options?: {
|
|
2750
|
+
ids?: readonly string[];
|
|
2751
|
+
expand?: boolean;
|
|
2752
|
+
}): VectorActionResult & {
|
|
2753
|
+
ids?: string[];
|
|
2754
|
+
};
|
|
2755
|
+
/** Enters a top-level symmetry group: new pen, pencil, shape and text art goes into it (mirrored as it is drawn) until `exitSymmetry` or Escape. */
|
|
2756
|
+
enterSymmetry(id: string): VectorActionResult;
|
|
2757
|
+
/** Stops drawing into the entered symmetry group. */
|
|
2758
|
+
exitSymmetry(): void;
|
|
2713
2759
|
/**
|
|
2714
2760
|
* The document as a vector PDF (see `vectorDocumentToPdf`): one page of the artboard, or a page
|
|
2715
2761
|
* per artboard (`pages: 'artboards'`). Returns the file's bytes, its page count and notes on
|
|
@@ -3822,6 +3868,12 @@ interface VectorSceneRenderData {
|
|
|
3822
3868
|
filters: VectorRenderFilter[];
|
|
3823
3869
|
/** Visible nodes, bottom to top. */
|
|
3824
3870
|
nodes: VectorRenderNode[];
|
|
3871
|
+
/** Top-level nodes in the document, left out as off screen (with `viewportSize`), and drawn collapsed (`lod`). */
|
|
3872
|
+
stats: {
|
|
3873
|
+
nodes: number;
|
|
3874
|
+
culled: number;
|
|
3875
|
+
collapsed: number;
|
|
3876
|
+
};
|
|
3825
3877
|
}
|
|
3826
3878
|
interface VectorRenderAnchor {
|
|
3827
3879
|
ref: VectorAnchorRef;
|
|
@@ -4106,6 +4158,20 @@ interface VectorOverlayRenderData {
|
|
|
4106
4158
|
selected: boolean;
|
|
4107
4159
|
}[];
|
|
4108
4160
|
}[];
|
|
4161
|
+
/**
|
|
4162
|
+
* Axes of the symmetry groups that are selected or being drawn into, screen space: each line as
|
|
4163
|
+
* `x1, y1, x2, y2`; `drawing` when new art goes into that group (draw it more strongly).
|
|
4164
|
+
*/
|
|
4165
|
+
symmetry: {
|
|
4166
|
+
nodeId: string;
|
|
4167
|
+
drawing: boolean;
|
|
4168
|
+
lines: {
|
|
4169
|
+
x1: number;
|
|
4170
|
+
y1: number;
|
|
4171
|
+
x2: number;
|
|
4172
|
+
y2: number;
|
|
4173
|
+
}[];
|
|
4174
|
+
}[];
|
|
4109
4175
|
/** Points acquired for object snap tracking, screen space: draw a small `+` at each. */
|
|
4110
4176
|
trackingPoints: {
|
|
4111
4177
|
x: number;
|
|
@@ -4187,13 +4253,27 @@ interface VectorRenderGradientAnnotator {
|
|
|
4187
4253
|
}
|
|
4188
4254
|
/** Distance between the Shape Builder's hatch lines over a face (screen pixels). */
|
|
4189
4255
|
declare const VECTOR_BUILDER_HATCH_GAP = 6;
|
|
4256
|
+
/** Options of `getVectorSceneRenderData`. */
|
|
4257
|
+
interface VectorSceneRenderOptions {
|
|
4258
|
+
/** Prefix of the ids of defs and filters (default `ve-`); give each editor on a page its own. */
|
|
4259
|
+
idPrefix?: string;
|
|
4260
|
+
/**
|
|
4261
|
+
* The canvas size in screen pixels. With it, top-level nodes outside the view are left out and
|
|
4262
|
+
* small live subtrees are simplified (see `lod`); leave it out for exports, which must be exact.
|
|
4263
|
+
*/
|
|
4264
|
+
viewportSize?: {
|
|
4265
|
+
width: number;
|
|
4266
|
+
height: number;
|
|
4267
|
+
};
|
|
4268
|
+
/** With `viewportSize`: groups, text and instances smaller than this many screen pixels draw as one rectangle in their main colour (default 2; 0 turns it off). */
|
|
4269
|
+
lod?: number;
|
|
4270
|
+
}
|
|
4190
4271
|
/**
|
|
4191
4272
|
* The document layer. Render the nodes inside `<g transform={transform}>` and `defs` in a
|
|
4192
|
-
* `<defs>` block. Pass a unique `idPrefix` when several editors share a page
|
|
4273
|
+
* `<defs>` block. Pass a unique `idPrefix` when several editors share a page, and the canvas size
|
|
4274
|
+
* (`viewportSize`) to draw only what the view shows.
|
|
4193
4275
|
*/
|
|
4194
|
-
declare function getVectorSceneRenderData(state: Pick<VectorEditorState, 'document' | 'viewport'>, options?:
|
|
4195
|
-
idPrefix?: string;
|
|
4196
|
-
}): VectorSceneRenderData;
|
|
4276
|
+
declare function getVectorSceneRenderData(state: Pick<VectorEditorState, 'document' | 'viewport'>, options?: VectorSceneRenderOptions): VectorSceneRenderData;
|
|
4197
4277
|
/** Live groups being edited in `state` (see `vectorEnteredGroups`). */
|
|
4198
4278
|
declare function getVectorEnteredGroups(state: Pick<VectorEditorState, 'document' | 'selection' | 'editingId'>): Set<string>;
|
|
4199
4279
|
/** The editing overlay in screen pixels. Render it on top of the scene, untransformed. */
|
|
@@ -4609,6 +4689,8 @@ interface VectorNodeListing {
|
|
|
4609
4689
|
frameRect?: VectorFrame;
|
|
4610
4690
|
/** A frame child's resizing constraints, when set. */
|
|
4611
4691
|
resizing?: VectorResizing;
|
|
4692
|
+
/** A symmetry group's settings. */
|
|
4693
|
+
symmetry?: VectorSymmetry;
|
|
4612
4694
|
/** A connector's ends and route (see vector.listConnectors). */
|
|
4613
4695
|
connector?: VectorConnector;
|
|
4614
4696
|
/** A mask group's mask: type, inversion, the mask's id (its first child) and the masked contents. */
|
|
@@ -5688,6 +5770,42 @@ declare function removeVectorFreeformPoint(f: VectorFreeformGradient, index: num
|
|
|
5688
5770
|
/** The mesh lattice point nearest `p` within `radius`, or the freeform point: its index, or -1. */
|
|
5689
5771
|
declare function nearestVectorShadingPoint(paint: VectorMeshGradient | VectorFreeformGradient, p: Vec2$1, radius: number): number;
|
|
5690
5772
|
|
|
5773
|
+
/**
|
|
5774
|
+
* Live symmetry groups: children drawn with their mirrored or rotated copies.
|
|
5775
|
+
*
|
|
5776
|
+
* The mirror modes and axes follow photocraft's `crates/paint/src/symmetry.rs` (MIT OR Apache-2.0,
|
|
5777
|
+
* © ArtCraft Team and contributors; see THIRD_PARTY_NOTICES.md): `vertical`, `horizontal`,
|
|
5778
|
+
* `diagonal` and `dual` (both axes and the point reflection between them) about a centre, turned
|
|
5779
|
+
* by a rotation, and the axes clipped to a box for display (`segments`). Radial symmetry (turns,
|
|
5780
|
+
* optionally mirrored: the dihedral group) is ours. The copies are not stored: they are part of
|
|
5781
|
+
* the group's appearance, rebuilt whenever a child changes, like CorelDRAW's live symmetry.
|
|
5782
|
+
*/
|
|
5783
|
+
|
|
5784
|
+
/** A symmetry group (with `symmetry` set, and not a blend, live boolean, mask group or frame). */
|
|
5785
|
+
type VectorSymmetryGroup = VectorGroupNode & {
|
|
5786
|
+
symmetry: VectorSymmetry;
|
|
5787
|
+
};
|
|
5788
|
+
/** Whether the node is a live symmetry group. */
|
|
5789
|
+
declare function isVectorSymmetryGroup(node: VectorNode | null | undefined): node is VectorSymmetryGroup;
|
|
5790
|
+
/** The copies a symmetry makes, as matrices in the group's space (the identity, the original, not included). */
|
|
5791
|
+
declare function vectorSymmetryMatrices(s: VectorSymmetry): AffineMatrix[];
|
|
5792
|
+
/**
|
|
5793
|
+
* The symmetry group as a plain group: its children, then each copy of them (ids `<id>~sym<k>`),
|
|
5794
|
+
* the copies locked. Same id, transform and appearance. Cached per node.
|
|
5795
|
+
*/
|
|
5796
|
+
declare function vectorSymmetryDrawn(node: VectorSymmetryGroup): VectorGroupNode;
|
|
5797
|
+
/**
|
|
5798
|
+
* The symmetry's axes for display: each mirror line (or each spoke of a radial symmetry) clipped
|
|
5799
|
+
* to `box` (photocraft `segments`), in the group's space.
|
|
5800
|
+
*/
|
|
5801
|
+
declare function vectorSymmetryAxes(s: VectorSymmetry, box: VectorBounds): [Vec2$1, Vec2$1][];
|
|
5802
|
+
/** Reads symmetry settings from untrusted data (JSON, agent input, SVG import), or null. */
|
|
5803
|
+
declare function sanitizeVectorSymmetry(value: unknown): VectorSymmetry | null;
|
|
5804
|
+
/** Labels for the symmetry pickers. */
|
|
5805
|
+
declare const VECTOR_SYMMETRY_MODE_LABELS: Readonly<Record<VectorSymmetryMode, string>>;
|
|
5806
|
+
/** The symmetry settings carried through a map baked into the group (its centre moves; its axes turn with a rotation, flip with a mirror). */
|
|
5807
|
+
declare function transformVectorSymmetry(s: VectorSymmetry, m: AffineMatrix): VectorSymmetry;
|
|
5808
|
+
|
|
5691
5809
|
/**
|
|
5692
5810
|
* Framework-neutral data for a text panel (React and Svelte render it the same way): what it edits
|
|
5693
5811
|
* (the selected characters of the text being edited, the selected text nodes, or the defaults for
|
|
@@ -5965,4 +6083,4 @@ declare function vectorSpatialIndex(nodes: readonly VectorNode[]): VectorRTree |
|
|
|
5965
6083
|
*/
|
|
5966
6084
|
declare function vectorNodesNear(nodes: readonly VectorNode[], rect: VectorBounds, pad?: number): number[];
|
|
5967
6085
|
|
|
5968
|
-
export { type AddVectorNodeOptions, AffineMatrix$1 as AffineMatrix, DEFAULT_VECTOR_BLEND_DISTANCE, DEFAULT_VECTOR_BLEND_STEPS, DEFAULT_VECTOR_FONT, DEFAULT_VECTOR_PATH_EDIT, DEFAULT_VECTOR_SNAP, IDENTITY_MATRIX, KAPPA, LazyMouse, type MapVectorSubpathsOptions, type NearestSegment, type RecognizeInkOptions, TextFont, TextShaper, VECTOR_ARROWHEAD_LABELS, VECTOR_BLEND_MAX_SMOOTH_STEPS, VECTOR_BLEND_MAX_STEPS, VECTOR_BLEND_MODE_LABELS, VECTOR_BLEND_MODE_MENU, VECTOR_BLEND_SPACING_LABELS, VECTOR_BUILDER_HATCH_GAP, VECTOR_CHARACTER_STYLE_KEYS, VECTOR_CLIPBOARD_TYPE, VECTOR_CONNECTOR_ROUTE_LABELS, VECTOR_CONNECTOR_SIDE_LABELS, VECTOR_CONSTRAINT_GLYPHS, VECTOR_CONSTRAINT_LABELS, VECTOR_CONSTRUCTION_ANGLES, VECTOR_CORNER_KIND_LABELS, VECTOR_CORNER_WIDGET_INSET, VECTOR_DIMENSIONAL_KINDS, VECTOR_DISTORT_TOLERANCE, VECTOR_EDIT_TOGGLES, VECTOR_EFFECT_MENU, VECTOR_ENVELOPE_STYLE_OPTIONS, VECTOR_FILL_GAP, VECTOR_FONT_WEIGHTS, VECTOR_GRADIENT_INTERPOLATION_LABELS, VECTOR_GRADIENT_MIDPOINT_GAP, VECTOR_GRADIENT_OFF_BAR, VECTOR_GRADIENT_SPREAD_LABELS, VECTOR_GRADIENT_STOP_GAP, VECTOR_GRADIENT_TYPE_LABELS, VECTOR_HORIZONTAL_RESIZING_LABELS, VECTOR_INK_MAX_CORNERS, VECTOR_MASK_TYPE_LABELS, VECTOR_MASK_TYPE_OPTIONS, VECTOR_MAX_CONSTRAINTS, VECTOR_MAX_TRACKING_POINTS, VECTOR_MESH_MAX, VECTOR_OVERLAY_THEME, VECTOR_PARAGRAPH_STYLE_KEYS, VECTOR_PATHFINDER_ACTIONS, VECTOR_PATHFINDER_LABELS, VECTOR_PATH_ACTIONS, VECTOR_PENCIL_STRING_PX, VECTOR_PRESSURE_NOMINAL, VECTOR_ROTATE_HANDLE_OFFSET, VECTOR_SPATIAL_MIN, VECTOR_STROKE_ALIGN_LABELS, VECTOR_STROKE_GRADIENT_MODE_LABELS, VECTOR_STROKE_SETTING_KEYS, VECTOR_STYLE_KEYS, VECTOR_SYMBOL_MAX_DEPTH, VECTOR_TEXT_ALIGN_LABELS, VECTOR_TEXT_ALIGN_OPTIONS, VECTOR_TOOL_GLYPHS, VECTOR_TOOL_SHORTCUTS, VECTOR_TRACE_MAX_PIXELS, VECTOR_VERTICAL_RESIZING_LABELS, VECTOR_WIDTH_PRESETS, VECTOR_WIDTH_PRESET_IDS, VECTOR_WIDTH_PROFILE_MAX_POINTS, VECTOR_WIDTH_PROFILE_MAX_SCALE, VECTOR_WIDTH_SAME_T, type VariableStrokeOptions, Vec2$1 as Vec2, type VectorActionResult, VectorAlign, VectorAnchor, VectorAnchorRef, VectorAnchorType, type VectorAppearancePanelData, type VectorAppearancePanelLayer, VectorAppearanceShape, VectorArrange, VectorArrowAlign, VectorArrowhead, type VectorArrowheadShape, VectorAverageAxis, VectorBlend, type VectorBlendControls, type VectorBlendInput, VectorBlendMode, VectorBlendOptions, type VectorBlendRail, VectorBlendSpacing, type VectorBlendStart, VectorBooleanOperation, VectorBounds, type VectorBuilderHit, type VectorBuilderLinePiece, type VectorBuilderPreview, type VectorBuilderReplacement, type VectorBuilderTouched, VectorCharacterStyle, type VectorCommandOptions, type VectorConnectionSite, VectorConnector, VectorConnectorEnd, type VectorConnectorListing, type VectorConnectorPanel, VectorConnectorRoute, type VectorConnectorRouting, VectorConnectorSide, VectorConstraint, type VectorConstraintAction, VectorConstraintError, type VectorConstraintGlyph, type VectorConstraintInput, VectorConstraintKind, type VectorConstraintPanelData, type VectorConstraintRefInput, type VectorCornerInfo, VectorCornerKind, type VectorCornerWidget, VectorDefaults, type VectorDistortMode, VectorDistribute, VectorDocument, type VectorDofReport, type VectorDofStatus, VectorEditorController, type VectorEditorOptions, type VectorEditorState, VectorEffect, VectorEffectParamSpec, VectorEffectParamsMap, VectorEffectType, type VectorEffectsPanelData, type VectorEffectsPanelItem, type VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, VectorFillRule, VectorFilter, VectorFilterParamSpec, VectorFilterType, type VectorFiltersPanelItem, VectorFrame, type VectorFrameGroup, type VectorFrameListing, type VectorFramePanel, type VectorFreeformField, VectorFreeformGradient, VectorFreeformPoint, VectorGradient, type VectorGradientAnnotator, type VectorGradientEditorData, VectorGradientHandle, VectorGradientInterpolation, type VectorGradientPart, VectorGradientPatch, VectorGradientSpread, VectorGradientStop, type VectorGradientTarget, VectorGradientType, VectorGroupNode, type VectorGuideKind, type VectorGuideLabel, type VectorGuideLine, VectorHandleRef, type VectorHitTestOptions, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, VectorLineJoin, type VectorLottie, type VectorLottieExport, type VectorLottieExportOptions, type VectorLottieImport, type VectorLottieImportOptions, VectorMask, type VectorMaskClipShape, type VectorMaskGroup, type VectorMaskPanelData, type VectorMaskRegionShape, type VectorMaskRenderData, type VectorMaskResult, type VectorMaskSummary, VectorMaskType, VectorMatrix, VectorMergeMode, VectorMeshGradient, VectorModifiers, type VectorMorph, type VectorMorphContour, type VectorMorphCorrespondence, type VectorMorphOptions, VectorNode, type VectorNodeListing, type VectorOverlayRenderData, VectorPaint, VectorPaintDef, VectorPaintLayer, type VectorPaintLayerHit, type VectorPaintLayerNode, VectorParagraphStyle, VectorParameter, type VectorPathAction, type VectorPathEditOptions, type VectorPathEntry, type VectorPathKeyframe, type VectorPathMeasure, VectorPathNode, type VectorPathfinderAction, VectorPathfinderOperation, type VectorPathfinderPaint, type VectorPdfExport, type VectorPdfOptions, type VectorPointMap, type VectorPointSnap, type VectorPointerInput, VectorRTree, type VectorRectSnap, type VectorRenderAnchor, type VectorRenderCornerWidget, VectorRenderFilter, type VectorRenderGradientAnnotator, type VectorRenderGroup, type VectorRenderGuideLabel, type VectorRenderGuideLine, type VectorRenderHandle, type VectorRenderMask, type VectorRenderNode, type VectorRenderPaintLayer, type VectorRenderPath, VectorRenderStrokeParts, type VectorRenderText, type VectorRenderTextSpan, type VectorRenderWidthPoint, type VectorRepeaterCopy, VectorResizing, type VectorResolvedRun, VectorRgba, type VectorScaleSnap, type VectorSceneRenderData, VectorSegmentRef, type VectorSelectionBoxGeometry, type VectorSelectionFrame, type VectorSelectionStyle, type VectorShadedSvgOptions, type VectorShapeBuilderFace, type VectorShapeBuilderMap, type VectorShapeBuilderPlan, type VectorShapeBuilderResult, type VectorShapeInput, type VectorSnapGuides, type VectorSnapKind, type VectorSnapLeave, type VectorSnapOptions, VectorSnapTargets, type VectorSolveResult, VectorStrokeAlign, VectorStrokeGradientMode, VectorStrokeLayer, type VectorStrokeParts, VectorStrokeSettings, type VectorStrokeSpot, VectorStyle, VectorSubpath, VectorSvgExportOptions, VectorSvgPatternDef, VectorSymbol, type VectorSymbolsPanelData, type VectorSymbolsPanelItem, type VectorTaperOptions, VectorTextAlign, type VectorTextCaret, type VectorTextDefaults, type VectorTextEditState, VectorTextError, type VectorTextFragment, VectorTextFrame, type VectorTextGlyph, type VectorTextInput, type VectorTextLayout, VectorTextNode, type VectorTextPanelData, type VectorTextPaths, VectorTextRun, type VectorTextSpan, VectorTool, type VectorTraceOptions, type VectorTracePixels, type VectorTrackingPath, type VectorTrackingPoint, VectorTransformHandle, VectorVerticalResizing, VectorViewport, VectorWarpMesh, type VectorWaveOptions, type VectorWidthHandle, VectorWidthPoint, type VectorWidthPointEdit, type VectorWidthPointRef, type VectorWidthPreset, type VectorWidthPresetInfo, addBuilderHit, addVectorConstraint, applyMatrix, applyMatrixLinear, applyVectorBlendOptions, applyVectorParagraphStyle, applyVectorTextStyle, arrowheadInset, arrowheadPath, arrowheadWeight, autoConstrainVector, autoVectorFreeformGradient, bakeVectorTextGeometry, bendSegment, bezierToSubpaths, boundsFromPoints, boundsIntersect, checkVectorExpression, cloneAnchor, cloneSubpath, cloneVectorDocument, cloneVectorNode, collectPaintedNodes, collectPathNodes, composeVectorMatrices, constrainToLeave, convertAnchor, cornerBisectorPoint, cornerRadiusChange, cornerSetback, correspondMorphContours, createVectorCommands, createVectorMeshGradient, createVectorMorph, curvatureMoveAnchor, cutSubpathAt, dashIntervals, decomposeRigid, distortVectorNode, effectPathLength, effectPathVertexCount, effectiveStrokeAlign, ellipseSubpath, eraseFromFill, eraseFromOutline, eraserRegion, evalVectorExpression, evaluateVectorPathKeyframes, expandVectorBlend, expandVectorCorners, expandVectorCornersOf, findVectorAnchorById, findVectorNode, fitCornerRadius, fitVectorTextRuns, formatVectorValue, generateVectorBlendChildren, generateWidthProfile, getAnchor, getAnchorWorld, getEditablePathIds, getTransformHandlePositions, getVectorAppearancePanel, getVectorBlendControls, getVectorConnectorPanel, getVectorConstraintPanel, getVectorCornerWidgets, getVectorEffectsPanel, getVectorEnteredGroups, getVectorEnvelopePanel, getVectorEnvelopeTarget, getVectorFramePanel, getVectorGradientAnnotator, getVectorGradientEditor, getVectorMaskPanel, getVectorOverlayRenderData, getVectorSceneRenderData, getVectorSelectionBoxGeometry, getVectorSelectionFrame, getVectorSelectionStyle, getVectorSymbolEditBackground, getVectorSymbolsPanel, getVectorTextPanel, getVectorTextShaper, getVectorWidthHandles, getVisibleAnchors, getVisibleHandles, glyphBox, hasPaint, hasStrokeExtras, hasVectorCorners, hasVectorPaintStacks, hitTestVectorNode, hitTestVectorNodes, hitTestVectorPaintLayer, hitTestVectorPaintStack, hitTestVectorStroke, hitVectorGradientAnnotator, inferAnchorType, inferVectorConstraints, insertAnchor, insertWidthPoint, interpolateMorphContours, interpolateRigidMatrix, interpolateVectorColor, interpolateVectorPaint, interpolateVectorPaths, interpolateVectorStyle, interpolateWidthProfiles, invertMatrix, isClosedBezierShape, isDrawnVectorPaintLayer, isIdentityMatrix, isPlainVectorPaintLayer, isUniformWidthProfile, isValidVectorParameterName, isVectorBlendGroup, isVectorBlendMode, isVectorConnector, isVectorFrame, isVectorFreeformGradient, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorMeshGradient, isVectorShadedPaint, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, lottieValueAt, mapBezierPath, mapVectorPoints, mapVectorShadedPaint, mapVectorSubpaths, matrixRotation, measureVectorConstraint, measureVectorPath, mergePaths, mirrorWidthProfile, morphContourToSubpath, morphPathsCross, moveAnchorHandle, multiplyMatrices, nearestSegment, nearestStrokePosition, nearestVectorConnectionSite, nearestVectorShadingPoint, needsVectorPaintLayers, newVectorStrokeLayer, nextVectorConstraintName, nextVectorCornerKind, nodeMatrix, normalizeVectorPaintStacks, normalizeVectorTextRuns, offsetPaths, parseVectorLottie, patchVectorCharacterStyle, patchVectorParagraphStyle, pathTextFrameFromBezier, pathsCenter, planShapeBuilder, polygonSubpath, polylineBounds, prefixVectorIds, pressureWidthProfile, puckerBloatPaths, purgeVectorConstraints, quantizeVectorTraceColors, recognizeInkShape, rectSubpath, refineMorphContour, refreshVectorBlends, releaseVectorBlend, removeAnchorKeepingShape, removeAnchors, removeAnchorsKeepingShape, removeRedundantPoints, removeVectorFreeformPoint, removeWidthPoints, repeatPaths, replaceVectorText, rerouteVectorConnectors, resampleGradientStops, resolveVectorBlendOptions, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorMask, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, traceVectorImage, transformVectorNode, transformVectorShadedPaint, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtboards, vectorBlendColorDistance, vectorBlendKeyTargets, vectorBlendKeys, vectorBlendModeCss, vectorBlendModeFromCss, vectorBlendRail, vectorBlendRailAt, vectorBlendSpine, vectorBlendStepCount, vectorBoundsInside, vectorBoxCorners, vectorBuilderErasedEdges, vectorConnectionSites, vectorConnectorTargetAt, vectorConnectorWorldAnchors, vectorConstraintActions, vectorConstraintDof, vectorConstraintEnv, vectorConstraintGlyphs, vectorConstraintPanel, vectorConstraintResiduals, vectorConstraintValue, vectorCornerAt, vectorCorners, vectorDiamondPath, vectorDistortQuad, vectorDocumentToLottie, vectorDocumentToPdf, vectorExpressionNames, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorFreeformField, vectorFreeformLineSegments, vectorFreeformSpreadScale, vectorGradientBarPosition, vectorGradientTargetPath, vectorInkShapeName, vectorInstanceGroup, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPaintLayerNodes, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, vectorPolarAngles, vectorPolarIncrementOf, vectorRepeaterCopies, vectorResizeCursor, vectorResultStyle, vectorRgbaToCss, vectorShadedSvgDefs, vectorShapeBuilderHit, vectorShapeBuilderMap, vectorShearForSide, vectorSkewMatrix, vectorSpatialIndex, vectorStacksHaveGradient, vectorStrokeGradientDefs, vectorStrokeLineArea, vectorStrokeOutline, vectorStrokeOutlinePath, vectorStrokeParts, vectorStrokeReach, vectorStrokeSettings, vectorStrokeStackReach, vectorStrokeWidthGeometry, vectorStrokes, vectorSymbolUses, vectorSymbolsUsedIn, vectorTargetPaint, vectorTextBoxOutline, vectorTextCaret, vectorTextFamilies, vectorTextGeometryNode, vectorTextHasOutlines, vectorTextIndexAt, vectorTextName, vectorTextPaintSource, vectorTextPaths, vectorTextRange, vectorTextRuns, vectorTextSelectionQuads, vectorTextShaperGeneration, vectorTextSpanSvg, vectorTextSpans, vectorTextStyleAt, vectorToolLabel, vectorTraceContours, vectorTrackingPaths, vectorWorldMatrix, walkVectorNodes, widthProfileAt, widthProfileMaxScale, widthProfilePreset, widthProfilePresetId, wigglePaths, withVectorAnchorIds, withVectorDocumentAnchorIds, withVectorFills, withVectorStrokes, withVectorTargetPaint, zigzagPaths };
|
|
6086
|
+
export { type AddVectorNodeOptions, AffineMatrix$1 as AffineMatrix, DEFAULT_VECTOR_BLEND_DISTANCE, DEFAULT_VECTOR_BLEND_STEPS, DEFAULT_VECTOR_FONT, DEFAULT_VECTOR_PATH_EDIT, DEFAULT_VECTOR_SNAP, IDENTITY_MATRIX, KAPPA, LazyMouse, type MapVectorSubpathsOptions, type NearestSegment, type RecognizeInkOptions, TextFont, TextShaper, VECTOR_ARROWHEAD_LABELS, VECTOR_BLEND_MAX_SMOOTH_STEPS, VECTOR_BLEND_MAX_STEPS, VECTOR_BLEND_MODE_LABELS, VECTOR_BLEND_MODE_MENU, VECTOR_BLEND_SPACING_LABELS, VECTOR_BUILDER_HATCH_GAP, VECTOR_CHARACTER_STYLE_KEYS, VECTOR_CLIPBOARD_TYPE, VECTOR_CONNECTOR_ROUTE_LABELS, VECTOR_CONNECTOR_SIDE_LABELS, VECTOR_CONSTRAINT_GLYPHS, VECTOR_CONSTRAINT_LABELS, VECTOR_CONSTRUCTION_ANGLES, VECTOR_CORNER_KIND_LABELS, VECTOR_CORNER_WIDGET_INSET, VECTOR_DIMENSIONAL_KINDS, VECTOR_DISTORT_TOLERANCE, VECTOR_EDIT_TOGGLES, VECTOR_EFFECT_MENU, VECTOR_ENVELOPE_STYLE_OPTIONS, VECTOR_FILL_GAP, VECTOR_FONT_WEIGHTS, VECTOR_GRADIENT_INTERPOLATION_LABELS, VECTOR_GRADIENT_MIDPOINT_GAP, VECTOR_GRADIENT_OFF_BAR, VECTOR_GRADIENT_SPREAD_LABELS, VECTOR_GRADIENT_STOP_GAP, VECTOR_GRADIENT_TYPE_LABELS, VECTOR_HORIZONTAL_RESIZING_LABELS, VECTOR_INK_MAX_CORNERS, VECTOR_MASK_TYPE_LABELS, VECTOR_MASK_TYPE_OPTIONS, VECTOR_MAX_CONSTRAINTS, VECTOR_MAX_TRACKING_POINTS, VECTOR_MESH_MAX, VECTOR_OVERLAY_THEME, VECTOR_PARAGRAPH_STYLE_KEYS, VECTOR_PATHFINDER_ACTIONS, VECTOR_PATHFINDER_LABELS, VECTOR_PATH_ACTIONS, VECTOR_PENCIL_STRING_PX, VECTOR_PRESSURE_NOMINAL, VECTOR_ROTATE_HANDLE_OFFSET, VECTOR_SPATIAL_MIN, VECTOR_STROKE_ALIGN_LABELS, VECTOR_STROKE_GRADIENT_MODE_LABELS, VECTOR_STROKE_SETTING_KEYS, VECTOR_STYLE_KEYS, VECTOR_SYMBOL_MAX_DEPTH, VECTOR_SYMMETRY_MODE_LABELS, VECTOR_TEXT_ALIGN_LABELS, VECTOR_TEXT_ALIGN_OPTIONS, VECTOR_TOOL_GLYPHS, VECTOR_TOOL_SHORTCUTS, VECTOR_TRACE_MAX_PIXELS, VECTOR_VERTICAL_RESIZING_LABELS, VECTOR_WIDTH_PRESETS, VECTOR_WIDTH_PRESET_IDS, VECTOR_WIDTH_PROFILE_MAX_POINTS, VECTOR_WIDTH_PROFILE_MAX_SCALE, VECTOR_WIDTH_SAME_T, type VariableStrokeOptions, Vec2$1 as Vec2, type VectorActionResult, VectorAlign, VectorAnchor, VectorAnchorRef, VectorAnchorType, type VectorAppearancePanelData, type VectorAppearancePanelLayer, VectorAppearanceShape, VectorArrange, VectorArrowAlign, VectorArrowhead, type VectorArrowheadShape, VectorAverageAxis, VectorBlend, type VectorBlendControls, type VectorBlendInput, VectorBlendMode, VectorBlendOptions, type VectorBlendRail, VectorBlendSpacing, type VectorBlendStart, VectorBooleanOperation, VectorBounds, type VectorBuilderHit, type VectorBuilderLinePiece, type VectorBuilderPreview, type VectorBuilderReplacement, type VectorBuilderTouched, VectorCharacterStyle, type VectorCommandOptions, type VectorConnectionSite, VectorConnector, VectorConnectorEnd, type VectorConnectorListing, type VectorConnectorPanel, VectorConnectorRoute, type VectorConnectorRouting, VectorConnectorSide, VectorConstraint, type VectorConstraintAction, VectorConstraintError, type VectorConstraintGlyph, type VectorConstraintInput, VectorConstraintKind, type VectorConstraintPanelData, type VectorConstraintRefInput, type VectorCornerInfo, VectorCornerKind, type VectorCornerWidget, VectorDefaults, type VectorDistortMode, VectorDistribute, VectorDocument, type VectorDofReport, type VectorDofStatus, VectorEditorController, type VectorEditorOptions, type VectorEditorState, VectorEffect, VectorEffectParamSpec, VectorEffectParamsMap, VectorEffectType, type VectorEffectsPanelData, type VectorEffectsPanelItem, type VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, VectorFillRule, VectorFilter, VectorFilterParamSpec, VectorFilterType, type VectorFiltersPanelItem, VectorFrame, type VectorFrameGroup, type VectorFrameListing, type VectorFramePanel, type VectorFreeformField, VectorFreeformGradient, VectorFreeformPoint, VectorGradient, type VectorGradientAnnotator, type VectorGradientEditorData, VectorGradientHandle, VectorGradientInterpolation, type VectorGradientPart, VectorGradientPatch, VectorGradientSpread, VectorGradientStop, type VectorGradientTarget, VectorGradientType, VectorGroupNode, type VectorGuideKind, type VectorGuideLabel, type VectorGuideLine, VectorHandleRef, type VectorHitTestOptions, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, VectorLineJoin, type VectorLottie, type VectorLottieExport, type VectorLottieExportOptions, type VectorLottieImport, type VectorLottieImportOptions, VectorMask, type VectorMaskClipShape, type VectorMaskGroup, type VectorMaskPanelData, type VectorMaskRegionShape, type VectorMaskRenderData, type VectorMaskResult, type VectorMaskSummary, VectorMaskType, VectorMatrix, VectorMergeMode, VectorMeshGradient, VectorModifiers, type VectorMorph, type VectorMorphContour, type VectorMorphCorrespondence, type VectorMorphOptions, VectorNode, type VectorNodeListing, type VectorOverlayRenderData, VectorPaint, VectorPaintDef, VectorPaintLayer, type VectorPaintLayerHit, type VectorPaintLayerNode, VectorParagraphStyle, VectorParameter, type VectorPathAction, type VectorPathEditOptions, type VectorPathEntry, type VectorPathKeyframe, type VectorPathMeasure, VectorPathNode, type VectorPathfinderAction, VectorPathfinderOperation, type VectorPathfinderPaint, type VectorPdfExport, type VectorPdfOptions, type VectorPointMap, type VectorPointSnap, type VectorPointerInput, VectorRTree, type VectorRectSnap, type VectorRenderAnchor, type VectorRenderCornerWidget, VectorRenderFilter, type VectorRenderGradientAnnotator, type VectorRenderGroup, type VectorRenderGuideLabel, type VectorRenderGuideLine, type VectorRenderHandle, type VectorRenderMask, type VectorRenderNode, type VectorRenderPaintLayer, type VectorRenderPath, VectorRenderStrokeParts, type VectorRenderText, type VectorRenderTextSpan, type VectorRenderWidthPoint, type VectorRepeaterCopy, VectorResizing, type VectorResolvedRun, VectorRgba, type VectorScaleSnap, type VectorSceneRenderData, type VectorSceneRenderOptions, VectorSegmentRef, type VectorSelectionBoxGeometry, type VectorSelectionFrame, type VectorSelectionStyle, type VectorShadedSvgOptions, type VectorShapeBuilderFace, type VectorShapeBuilderMap, type VectorShapeBuilderPlan, type VectorShapeBuilderResult, type VectorShapeInput, type VectorSnapGuides, type VectorSnapKind, type VectorSnapLeave, type VectorSnapOptions, VectorSnapTargets, type VectorSolveResult, VectorStrokeAlign, VectorStrokeGradientMode, VectorStrokeLayer, type VectorStrokeParts, VectorStrokeSettings, type VectorStrokeSpot, VectorStyle, VectorSubpath, VectorSvgExportOptions, VectorSvgPatternDef, VectorSymbol, type VectorSymbolsPanelData, type VectorSymbolsPanelItem, VectorSymmetry, type VectorSymmetryGroup, VectorSymmetryMode, type VectorTaperOptions, VectorTextAlign, type VectorTextCaret, type VectorTextDefaults, type VectorTextEditState, VectorTextError, type VectorTextFragment, VectorTextFrame, type VectorTextGlyph, type VectorTextInput, type VectorTextLayout, VectorTextNode, type VectorTextPanelData, type VectorTextPaths, VectorTextRun, type VectorTextSpan, VectorTool, type VectorTraceOptions, type VectorTracePixels, type VectorTrackingPath, type VectorTrackingPoint, VectorTransformHandle, VectorVerticalResizing, VectorViewport, VectorWarpMesh, type VectorWaveOptions, type VectorWidthHandle, VectorWidthPoint, type VectorWidthPointEdit, type VectorWidthPointRef, type VectorWidthPreset, type VectorWidthPresetInfo, addBuilderHit, addVectorConstraint, applyMatrix, applyMatrixLinear, applyVectorBlendOptions, applyVectorParagraphStyle, applyVectorTextStyle, arrowheadInset, arrowheadPath, arrowheadWeight, autoConstrainVector, autoVectorFreeformGradient, bakeVectorTextGeometry, bendSegment, bezierToSubpaths, boundsFromPoints, boundsIntersect, checkVectorExpression, cloneAnchor, cloneSubpath, cloneVectorDocument, cloneVectorNode, collectPaintedNodes, collectPathNodes, composeVectorMatrices, constrainToLeave, convertAnchor, cornerBisectorPoint, cornerRadiusChange, cornerSetback, correspondMorphContours, createVectorCommands, createVectorMeshGradient, createVectorMorph, curvatureMoveAnchor, cutSubpathAt, dashIntervals, decomposeRigid, distortVectorNode, effectPathLength, effectPathVertexCount, effectiveStrokeAlign, ellipseSubpath, eraseFromFill, eraseFromOutline, eraserRegion, evalVectorExpression, evaluateVectorPathKeyframes, expandVectorBlend, expandVectorCorners, expandVectorCornersOf, findVectorAnchorById, findVectorNode, fitCornerRadius, fitVectorTextRuns, formatVectorValue, generateVectorBlendChildren, generateWidthProfile, getAnchor, getAnchorWorld, getEditablePathIds, getTransformHandlePositions, getVectorAppearancePanel, getVectorBlendControls, getVectorConnectorPanel, getVectorConstraintPanel, getVectorCornerWidgets, getVectorEffectsPanel, getVectorEnteredGroups, getVectorEnvelopePanel, getVectorEnvelopeTarget, getVectorFramePanel, getVectorGradientAnnotator, getVectorGradientEditor, getVectorMaskPanel, getVectorOverlayRenderData, getVectorSceneRenderData, getVectorSelectionBoxGeometry, getVectorSelectionFrame, getVectorSelectionStyle, getVectorSymbolEditBackground, getVectorSymbolsPanel, getVectorTextPanel, getVectorTextShaper, getVectorWidthHandles, getVisibleAnchors, getVisibleHandles, glyphBox, hasPaint, hasStrokeExtras, hasVectorCorners, hasVectorPaintStacks, hitTestVectorNode, hitTestVectorNodes, hitTestVectorPaintLayer, hitTestVectorPaintStack, hitTestVectorStroke, hitVectorGradientAnnotator, inferAnchorType, inferVectorConstraints, insertAnchor, insertWidthPoint, interpolateMorphContours, interpolateRigidMatrix, interpolateVectorColor, interpolateVectorPaint, interpolateVectorPaths, interpolateVectorStyle, interpolateWidthProfiles, invertMatrix, isClosedBezierShape, isDrawnVectorPaintLayer, isIdentityMatrix, isPlainVectorPaintLayer, isUniformWidthProfile, isValidVectorParameterName, isVectorBlendGroup, isVectorBlendMode, isVectorConnector, isVectorFrame, isVectorFreeformGradient, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorMeshGradient, isVectorShadedPaint, isVectorSymmetryGroup, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, lottieValueAt, mapBezierPath, mapVectorPoints, mapVectorShadedPaint, mapVectorSubpaths, matrixRotation, measureVectorConstraint, measureVectorPath, mergePaths, mirrorWidthProfile, morphContourToSubpath, morphPathsCross, moveAnchorHandle, multiplyMatrices, nearestSegment, nearestStrokePosition, nearestVectorConnectionSite, nearestVectorShadingPoint, needsVectorPaintLayers, newVectorStrokeLayer, nextVectorConstraintName, nextVectorCornerKind, nodeMatrix, normalizeVectorPaintStacks, normalizeVectorTextRuns, offsetPaths, parseVectorLottie, patchVectorCharacterStyle, patchVectorParagraphStyle, pathTextFrameFromBezier, pathsCenter, planShapeBuilder, polygonSubpath, polylineBounds, prefixVectorIds, pressureWidthProfile, puckerBloatPaths, purgeVectorConstraints, quantizeVectorTraceColors, recognizeInkShape, rectSubpath, refineMorphContour, refreshVectorBlends, releaseVectorBlend, removeAnchorKeepingShape, removeAnchors, removeAnchorsKeepingShape, removeRedundantPoints, removeVectorFreeformPoint, removeWidthPoints, repeatPaths, replaceVectorText, rerouteVectorConnectors, resampleGradientStops, resolveVectorBlendOptions, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorMask, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorSymmetry, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, traceVectorImage, transformVectorNode, transformVectorShadedPaint, transformVectorSymmetry, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtboards, vectorBlendColorDistance, vectorBlendKeyTargets, vectorBlendKeys, vectorBlendModeCss, vectorBlendModeFromCss, vectorBlendRail, vectorBlendRailAt, vectorBlendSpine, vectorBlendStepCount, vectorBoundsInside, vectorBoxCorners, vectorBuilderErasedEdges, vectorConnectionSites, vectorConnectorTargetAt, vectorConnectorWorldAnchors, vectorConstraintActions, vectorConstraintDof, vectorConstraintEnv, vectorConstraintGlyphs, vectorConstraintPanel, vectorConstraintResiduals, vectorConstraintValue, vectorCornerAt, vectorCorners, vectorDiamondPath, vectorDistortQuad, vectorDocumentToLottie, vectorDocumentToPdf, vectorExpressionNames, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorFreeformField, vectorFreeformLineSegments, vectorFreeformSpreadScale, vectorGradientBarPosition, vectorGradientTargetPath, vectorInkShapeName, vectorInstanceGroup, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPaintLayerNodes, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, vectorPolarAngles, vectorPolarIncrementOf, vectorRepeaterCopies, vectorResizeCursor, vectorResultStyle, vectorRgbaToCss, vectorShadedSvgDefs, vectorShapeBuilderHit, vectorShapeBuilderMap, vectorShearForSide, vectorSkewMatrix, vectorSpatialIndex, vectorStacksHaveGradient, vectorStrokeGradientDefs, vectorStrokeLineArea, vectorStrokeOutline, vectorStrokeOutlinePath, vectorStrokeParts, vectorStrokeReach, vectorStrokeSettings, vectorStrokeStackReach, vectorStrokeWidthGeometry, vectorStrokes, vectorSymbolUses, vectorSymbolsUsedIn, vectorSymmetryAxes, vectorSymmetryDrawn, vectorSymmetryMatrices, vectorTargetPaint, vectorTextBoxOutline, vectorTextCaret, vectorTextFamilies, vectorTextGeometryNode, vectorTextHasOutlines, vectorTextIndexAt, vectorTextName, vectorTextPaintSource, vectorTextPaths, vectorTextRange, vectorTextRuns, vectorTextSelectionQuads, vectorTextShaperGeneration, vectorTextSpanSvg, vectorTextSpans, vectorTextStyleAt, vectorToolLabel, vectorTraceContours, vectorTrackingPaths, vectorWorldMatrix, walkVectorNodes, widthProfileAt, widthProfileMaxScale, widthProfilePreset, widthProfilePresetId, wigglePaths, withVectorAnchorIds, withVectorDocumentAnchorIds, withVectorFills, withVectorStrokes, withVectorTargetPaint, zigzagPaths };
|