AI-native design editor. Open-source Figma alternative.
export {
figmaRotation,
panelPosition,
panelPositionChange,
panelRotation,
panelRotationChange
} from './figma'
export {
SHAPE_HANDLE,
cornerRadiusAtPoint,
cornerRadiusChanges,
shapeHandleLayout,
cornerRadii,
cornerRadiusOf,
dragsSingleCorner,
hasShapeHandles,
isArcHandle,
isRadiusHandle,
pointCountAtPoint,
shapeHandleValue,
starRatioAtPoint,
hitTestShapeHandles
} from './handles/shape'
export type { RadiusCorner, ShapeHandle, ShapeHandleKind } from './handles/shape'
export { ARC_HANDLE, arcAtPoint, arcChanges, arcOf, isWholeArc } from './handles/arc'
export type { ArcHandleKind } from './handles/arc'
export {
GRADIENT_HANDLE,
gradientHandleLayout,
gradientHandles,
gradientStopPoint,
gradientStopPosition,
hitTestGradientHandles,
moveGradientHandle
} from './gradient'
export type {
GradientHandle,
GradientHandleLayout,
GradientHandles,
GradientHit,
GradientStopLayout
} from './gradient'
export {
CONNECTOR_SEGMENT_HANDLE,
connectorRouteHandles,
connectorScreenEnds,
connectorScreenLabel,
type ConnectorRouteHandle
} from './connectors'
export {
aimLine,
draggedLineEnds,
isLineLike,
lineEndPoints,
lineWorldEnds,
type LineEnd
} from './line-ends'
export { createSceneGeometry, nodeOrientationMatrix, projectedNode, viewportMatrix } from './scene'
export type { SceneGeometry } from './scene'
export { selectionPath, selectionHandleRect, rotationHandleLayout } from './selection'
export {
TRANSFORM_ZONE,
hasTransformHandles,
pressesTinyLayer,
transformZoneAt
} from './transform-zones'
export type { CornerPosition, HandlePosition, TransformZone } from './transform-zones'
export type { RotationHandleLayout } from './selection'
export type { RotationPreview, ViewportTransform } from './types'