Boards sub-types
Composite types referenced by whiteboard snapshots, pages, elements, connectors, and themes.
Composite types referenced by whiteboard snapshots, pages, elements, connectors, and themes. Supporting IBoardData. Types are ordered from direct top-level fields to deeper nested structures and enums.
Overview
BoardCustomData
Nested type in @univerjs-pro/boards · Used by IBoardData · IBoardPage · IBoardThemeData · IBoardElementBase · IBoardPlaceholderData · IBoardContainerData
type BoardCustomData = Record<string, unknown> | nullIBoardPage
import type { IBoardPage } from '@univerjs-pro/boards' · Used by IBoardData
interface IBoardPage { id: string pageType: BoardPageType name: string themeId?: string pageSize?: IBoardPageSize background?: IBoardBackgroundData headerFooter?: IBoardHeaderFooterData showMasterSp?: boolean elementOrder: string[] elements: Record<string, IBoardPageElement> visible?: boolean custom?: BoardCustomData}Related types: BoardPageType · IBoardPageSize · IBoardBackgroundData · IBoardHeaderFooterData · IBoardPageElement · BoardCustomData
IBoardPageSize
import type { IBoardPageSize } from '@univerjs-pro/boards' · Used by IBoardData · IBoardPage
interface IBoardPageSize { width: number height: number preset?: BoardPageSizePreset}Related types: BoardPageSizePreset
IBoardThemeData
import type { IBoardThemeData } from '@univerjs-pro/boards' · Used by IBoardData
interface IBoardThemeData { id?: string name?: string colorScheme?: Record<string, string> fontScheme?: { heading?: string body?: string } fmtScheme?: IBoardFmtScheme custom?: BoardCustomData}Related types: IBoardFmtScheme · BoardCustomData
IBoardTransitionData
Nested type in @univerjs-pro/boards · Used by IBoardData
interface IBoardTransitionData { type: BoardTransitionType duration?: number direction?: BoardTransitionDirection advanceOnClick?: boolean advanceAfterTime?: number speed?: BoardTransitionSpeed sound?: IBoardTransitionSound loopSoundUntilNext?: boolean effectOptions?: Record<string, unknown> extension?: Record<string, unknown>}Related types: BoardTransitionType · BoardTransitionDirection · BoardTransitionSpeed · IBoardTransitionSound
BoardPageSizePreset
import { BoardPageSizePreset } from '@univerjs-pro/boards' · Used by IBoardPageSize
enum BoardPageSizePreset { Standard4By3 = 'standard4By3', WideScreen16By9 = 'wideScreen16By9', WideScreen16By10 = 'wideScreen16By10', Custom = 'custom',}BoardPageType
import { BoardPageType } from '@univerjs-pro/boards' · Used by IBoardPage
enum BoardPageType { Page = 'page', Master = 'master', Layout = 'layout', HandoutMaster = 'handoutMaster', NotesMaster = 'notesMaster',}BoardTransitionDirection
import { BoardTransitionDirection } from '@univerjs-pro/boards' · Used by IBoardTransitionData
enum BoardTransitionDirection { Left = 'left', Right = 'right', Up = 'up', Down = 'down',}BoardTransitionSpeed
import { BoardTransitionSpeed } from '@univerjs-pro/boards' · Used by IBoardTransitionData
enum BoardTransitionSpeed { Slow = 'slow', Medium = 'medium', Fast = 'fast',}BoardTransitionType
import { BoardTransitionType } from '@univerjs-pro/boards' · Used by IBoardTransitionData
enum BoardTransitionType { None = 'none', Fade = 'fade', Push = 'push', Wipe = 'wipe', Cut = 'cut', Cover = 'cover', Uncover = 'uncover', Reveal = 'reveal', Split = 'split', Zoom = 'zoom',}IBoardBackgroundData
import type { IBoardBackgroundData } from '@univerjs-pro/boards' · Used by IBoardPage
type IBoardBackgroundData = | IBoardEmptyBackground | IBoardSolidBackground | IBoardGradientBackground | IBoardImageBackground | IBoardPatternBackgroundRelated types: IBoardEmptyBackground · IBoardSolidBackground · IBoardGradientBackground · IBoardImageBackground · IBoardPatternBackground
IBoardFmtScheme
Nested type in @univerjs-pro/boards · Used by IBoardThemeData
interface IBoardFmtScheme { name?: string fillStyleLst: IBoardFillStyle[] lnStyleLst: IShapeLineStyle[] effectStyleLst: IBoardEffectStyle[] bgFillStyleLst: IBoardFillStyle[]}Related types: IBoardFillStyle · IShapeLineStyle · IBoardEffectStyle
IBoardHeaderFooterData
Nested type in @univerjs-pro/boards · Used by IBoardPage
interface IBoardHeaderFooterData { header?: IBoardHeaderFooterSlot footer?: IBoardHeaderFooterSlot dateTime?: IBoardHeaderFooterDateTimeSlot slideNumber?: IBoardHeaderFooterSlot}Related types: IBoardHeaderFooterSlot · IBoardHeaderFooterDateTimeSlot
IBoardPageElement
import type { IBoardPageElement } from '@univerjs-pro/boards' · Used by IBoardPage
type IBoardPageElement = | IBoardPlaceholderElement | IBoardTextElement | IBoardShapeElement | IBoardContainerElement | IBoardConnectorElement | IBoardImageElement | IBoardChartElement | IBoardTableElement | IBoardMediaElement | IBoardGroupElementRelated types: IBoardPlaceholderElement · IBoardTextElement · IBoardShapeElement · IBoardContainerElement · IBoardConnectorElement · IBoardImageElement · IBoardChartElement · IBoardTableElement · IBoardMediaElement · IBoardGroupElement
IBoardTransitionSound
Nested type in @univerjs-pro/boards · Used by IBoardTransitionData
interface IBoardTransitionSound { name?: string source?: string loopUntilNext?: boolean}IBoardChartElement
import type { IBoardChartElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardChartElement extends IBoardElementBase { type: typeof BoardElementType.Chart chartId: string placeholder?: IBoardPlaceholderData stroke?: IShapeLineStyle}Related types: IBoardElementBase · IBoardPlaceholderData · IShapeLineStyle
IBoardConnectorElement
import type { IBoardConnectorElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardConnectorElement extends IBoardElementBase { type: typeof BoardElementType.Connector connectorData: IBoardConnectorData}Related types: IBoardElementBase · IBoardConnectorData
IBoardContainerElement
import type { IBoardContainerElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardContainerElement extends IBoardElementBase { type: typeof BoardElementType.Container containerData: IBoardContainerData}Related types: IBoardElementBase · IBoardContainerData
IBoardEffectStyle
Nested type in @univerjs-pro/boards · Used by IBoardFmtScheme
interface IBoardEffectStyle { outerShadow?: IShadowEffect innerShadow?: IShadowEffect reflection?: IBoardReflectionEffect glow?: IGlowEffect}Related types: IShadowEffect · IBoardReflectionEffect · IGlowEffect
IBoardEmptyBackground
Nested type in @univerjs-pro/boards · Used by IBoardBackgroundData
interface IBoardEmptyBackground { type: BoardBackgroundType.None}Related types: BoardBackgroundType.None
IBoardFillStyle
Nested type in @univerjs-pro/boards · Used by IBoardFmtScheme
type IBoardFillStyle = NonNullable<IBasicShapeData['fill']>Related types: IBasicShapeData
IBoardGradientBackground
Nested type in @univerjs-pro/boards · Used by IBoardBackgroundData
interface IBoardGradientBackground { type: BoardBackgroundType.Gradient angle?: number stops: IBoardGradientStop[]}Related types: BoardBackgroundType.Gradient · IBoardGradientStop
IBoardGroupElement
import type { IBoardGroupElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardGroupElement extends IBoardElementBase { type: typeof BoardElementType.Group children: string[]}Related types: IBoardElementBase
IBoardHeaderFooterDateTimeSlot
Nested type in @univerjs-pro/boards · Used by IBoardHeaderFooterData
interface IBoardHeaderFooterDateTimeSlot extends IBoardHeaderFooterSlot { mode?: BoardHeaderFooterDateTimeMode format?: string}Related types: IBoardHeaderFooterSlot · BoardHeaderFooterDateTimeMode
IBoardHeaderFooterSlot
Nested type in @univerjs-pro/boards · Used by IBoardHeaderFooterData · IBoardHeaderFooterDateTimeSlot
interface IBoardHeaderFooterSlot { enabled?: boolean text?: string}IBoardImageBackground
import type { IBoardImageBackground } from '@univerjs-pro/boards' · Used by IBoardBackgroundData
interface IBoardImageBackground { type: BoardBackgroundType.Image source: string imageSourceType?: ImageSourceType fit?: BoardBackgroundImageFit}Related types: BoardBackgroundType.Image · ImageSourceType · BoardBackgroundImageFit
IBoardImageElement
import type { IBoardImageElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardImageElement extends IBoardElementBase { type: typeof BoardElementType.Image source: string imageSourceType?: ImageSourceType crop?: { left?: number top?: number right?: number bottom?: number } prstGeom?: ShapeTypeEnum adjustValues?: Record<string, number>}Related types: IBoardElementBase · ImageSourceType · ShapeTypeEnum
IBoardMediaElement
import type { IBoardMediaElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardMediaElement extends IBoardElementBase { type: typeof BoardElementType.Media mediaType: BoardMediaType source: string poster?: string}Related types: IBoardElementBase · BoardMediaType
IBoardPatternBackground
Nested type in @univerjs-pro/boards · Used by IBoardBackgroundData
interface IBoardPatternBackground { type: BoardBackgroundType.Pattern pattern: string foregroundColor?: string backgroundColor?: string}Related types: BoardBackgroundType.Pattern
IBoardPlaceholderElement
import type { IBoardPlaceholderElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardPlaceholderElement extends IBoardElementBase { type: typeof BoardElementType.Placeholder placeholder: IBoardPlaceholderData text?: string style?: IBoardPlaceholderStyle}Related types: IBoardElementBase · IBoardPlaceholderData · IBoardPlaceholderStyle
IBoardShapeElement
import type { IBoardShapeElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardShapeElement extends IBoardElementBase { type: typeof BoardElementType.Shape shapeData: IBoardShapeData textResizeReferenceSize?: { width: number; height: number }}Related types: IBoardElementBase · IBoardShapeData
IBoardSolidBackground
Nested type in @univerjs-pro/boards · Used by IBoardBackgroundData
interface IBoardSolidBackground { type: BoardBackgroundType.Solid color: string alpha?: number}Related types: BoardBackgroundType.Solid
IBoardTableElement
import type { IBoardTableElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardTableElement extends IBoardElementBase { type: typeof BoardElementType.Table tableId: string placeholder?: IBoardPlaceholderData}Related types: IBoardElementBase · IBoardPlaceholderData
IBoardTextElement
import type { IBoardTextElement } from '@univerjs-pro/boards' · Used by IBoardPageElement
interface IBoardTextElement extends IBoardElementBase { type: typeof BoardElementType.Text text?: string textStyle?: IBoardTextStyle textData?: IDocumentData}Related types: IBoardElementBase · IBoardTextStyle · IDocumentData
BoardBackgroundImageFit
import type { BoardBackgroundImageFit } from '@univerjs-pro/boards' · Used by IBoardImageBackground
type BoardBackgroundImageFit = 'cover' | 'contain' | 'stretch'BoardBackgroundType
import { BoardBackgroundType } from '@univerjs-pro/boards' · Used by IBoardEmptyBackground · IBoardSolidBackground · IBoardGradientBackground · IBoardImageBackground · IBoardPatternBackground
enum BoardBackgroundType { None = 'none', Solid = 'solid', Gradient = 'gradient', Image = 'image', Pattern = 'pattern',}BoardElementType
import type { BoardElementType } from '@univerjs-pro/boards' · Used by IBoardPlaceholderElement · IBoardTextElement · IBoardShapeElement · IBoardContainerElement · IBoardConnectorElement · IBoardImageElement · IBoardChartElement · IBoardTableElement · IBoardMediaElement · IBoardGroupElement · IBoardElementBase
type BoardElementType = (typeof BoardElementType)[keyof typeof BoardElementType]BoardHeaderFooterDateTimeMode
Nested type in @univerjs-pro/boards · Used by IBoardHeaderFooterDateTimeSlot
type BoardHeaderFooterDateTimeMode = 'auto' | 'fixed'BoardMediaType
import type { BoardMediaType } from '@univerjs-pro/boards' · Used by IBoardMediaElement
type BoardMediaType = (typeof BoardMediaType)[keyof typeof BoardMediaType]IBoardConnectorData
import type { IBoardConnectorData } from '@univerjs-pro/boards' · Used by IBoardConnectorElement
interface IBoardConnectorData { start: IBoardConnectorEndpoint end: IBoardConnectorEndpoint routing: BoardConnectorRouting routingMode: BoardConnectorRoutingMode waypoints?: IBoardConnectorWaypoint[] orthogonalData?: IBoardConnectorOrthogonalData curveData?: IBoardConnectorCurveData style?: IBoardConnectorStyle labels?: IBoardConnectorLabel[] meta?: { pptCompat?: unknown }}Related types: IBoardConnectorEndpoint · BoardConnectorRouting · BoardConnectorRoutingMode · IBoardConnectorWaypoint · IBoardConnectorOrthogonalData · IBoardConnectorCurveData · IBoardConnectorStyle · IBoardConnectorLabel
IBoardContainerData
Nested type in @univerjs-pro/boards · Used by IBoardContainerElement
interface IBoardContainerData { kind: BoardContainerKind title?: string titleVisible?: boolean titlePosition?: BoardContainerTitlePosition titleOffsetX?: number headerSize?: number padding: IBoardContainerPadding shapeData: IBoardShapeData behavior: IBoardContainerBehavior capturePolicy: IBoardContainerCapturePolicy style?: { titleStyle?: IBoardTextStyle } swimlane?: IBoardSwimlaneData custom?: BoardCustomData}Related types: BoardContainerKind · BoardContainerTitlePosition · IBoardContainerPadding · IBoardShapeData · IBoardContainerBehavior · IBoardContainerCapturePolicy · IBoardTextStyle · IBoardSwimlaneData · BoardCustomData
IBoardElementBase
Nested type in @univerjs-pro/boards · Used by IBoardPlaceholderElement · IBoardTextElement · IBoardShapeElement · IBoardContainerElement · IBoardConnectorElement · IBoardImageElement · IBoardChartElement · IBoardTableElement · IBoardMediaElement · IBoardGroupElement
interface IBoardElementBase { id: string type: BoardElementType transform: IBoardElementTransform parentId?: string laneId?: string role?: BoardElementRole managedBy?: BoardElementManagedBy name?: string description?: string visible?: boolean selectable?: boolean locked?: boolean custom?: BoardCustomData}Related types: BoardElementType · IBoardElementTransform · BoardElementRole · BoardElementManagedBy · BoardCustomData
IBoardGradientStop
Nested type in @univerjs-pro/boards · Used by IBoardGradientBackground
interface IBoardGradientStop { color: string position: number alpha?: number}IBoardPlaceholderData
Nested type in @univerjs-pro/boards · Used by IBoardPlaceholderElement · IBoardChartElement · IBoardTableElement
interface IBoardPlaceholderData { id: string type: BoardPlaceholderType index?: number transform?: IBoardElementTransform defaultText?: string custom?: BoardCustomData}Related types: BoardPlaceholderType · IBoardElementTransform · BoardCustomData
IBoardPlaceholderStyle
import type { IBoardPlaceholderStyle } from '@univerjs-pro/boards' · Used by IBoardPlaceholderElement
interface IBoardPlaceholderStyle { fill?: IBasicShapeData['fill'] stroke?: IShapeLineStyle}Related types: IBasicShapeData · IShapeLineStyle
IBoardReflectionEffect
Nested type in @univerjs-pro/boards · Used by IBoardEffectStyle
interface IBoardReflectionEffect { blurRadius?: number startAlpha?: number endAlpha?: number distance?: number direction?: number}IBoardShapeData
import type { IBoardShapeData } from '@univerjs-pro/boards' · Used by IBoardShapeElement · IBoardContainerData
interface IBoardShapeData extends IBasicShapeData { customGeometry?: IBoardShapeGeometry compartmentText?: boolean strokeReferenceSize?: { width: number; height: number }}Related types: IBasicShapeData · IBoardShapeGeometry
IBoardTextStyle
import type { IBoardTextStyle } from '@univerjs-pro/boards' · Used by IBoardTextElement · IBoardContainerData · IBoardSwimlaneLane
interface IBoardTextStyle { color?: string fontFamily?: string fontSize?: number bold?: boolean italic?: boolean underline?: boolean horizontalAlign?: HorizontalAlign verticalAlign?: VerticalAlign}Related types: HorizontalAlign · VerticalAlign
BoardConnectorRouting
import type { BoardConnectorRouting } from '@univerjs-pro/boards' · Used by IBoardConnectorData
type BoardConnectorRouting = 'straight' | 'orthogonal' | 'curve' | 'freePolyline'BoardConnectorRoutingMode
import type { BoardConnectorRoutingMode } from '@univerjs-pro/boards' · Used by IBoardConnectorData
type BoardConnectorRoutingMode = 'auto' | 'manual' | 'mixed'BoardContainerKind
import type { BoardContainerKind } from '@univerjs-pro/boards' · Used by IBoardContainerData
type BoardContainerKind = 'generic' | 'swimlane' | 'uml-package' | 'system-boundary'BoardContainerTitlePosition
Nested type in @univerjs-pro/boards · Used by IBoardContainerData
type BoardContainerTitlePosition = 'top' | 'inside'BoardElementManagedBy
Nested type in @univerjs-pro/boards · Used by IBoardElementBase
type BoardElementManagedBy = 'presentationBackground'BoardElementRole
Nested type in @univerjs-pro/boards · Used by IBoardElementBase
type BoardElementRole = 'backgroundGraphic'BoardPlaceholderType
import type { BoardPlaceholderType } from '@univerjs-pro/boards' · Used by IBoardPlaceholderData
type BoardPlaceholderType = (typeof BoardPlaceholderType)[keyof typeof BoardPlaceholderType]IBoardConnectorCurveData
Nested type in @univerjs-pro/boards · Used by IBoardConnectorData
interface IBoardConnectorCurveData { anchors?: IBoardConnectorCurveAnchor[] controls?: IBoardConnectorCurveControl[] tension?: number}Related types: IBoardConnectorCurveAnchor · IBoardConnectorCurveControl
IBoardConnectorEndpoint
import type { IBoardConnectorEndpoint } from '@univerjs-pro/boards' · Used by IBoardConnectorData · IBoardConnectorCurveAnchor
type IBoardConnectorEndpoint = | IBoardConnectorFreeEndpoint | IBoardConnectorLifelineEndpoint | IBoardConnectorShapeBoundaryEndpoint | IBoardConnectorShapeSiteEndpointRelated types: IBoardConnectorFreeEndpoint · IBoardConnectorLifelineEndpoint · IBoardConnectorShapeBoundaryEndpoint · IBoardConnectorShapeSiteEndpoint
IBoardConnectorLabel
import type { IBoardConnectorLabel } from '@univerjs-pro/boards' · Used by IBoardConnectorData
interface IBoardConnectorLabel { id: string layout?: IBoardConnectorLabelLayout content?: string | IDocumentData placement?: IBoardConnectorLabelPlacement style?: IBoardConnectorLabelStyle}Related types: IBoardConnectorLabelLayout · IDocumentData · IBoardConnectorLabelPlacement · IBoardConnectorLabelStyle
IBoardConnectorOrthogonalData
Nested type in @univerjs-pro/boards · Used by IBoardConnectorData
interface IBoardConnectorOrthogonalData { settled?: true sharedRail?: IBoardConnectorSharedRailData routePoints?: IBoardConnectorWaypoint[]}Related types: IBoardConnectorSharedRailData · IBoardConnectorWaypoint
IBoardConnectorStyle
import type { IBoardConnectorStyle } from '@univerjs-pro/boards' · Used by IBoardConnectorData
interface IBoardConnectorStyle { stroke?: string strokeWidth?: number opacity?: number dash?: number[] startMarker?: IBoardConnectorMarker endMarker?: IBoardConnectorMarker cornerStyle?: 'miter' | 'rounded' lineJump?: 'none' | 'arc' | 'gap' animation?: IBoardConnectorAnimation}Related types: IBoardConnectorMarker · IBoardConnectorAnimation
IBoardConnectorWaypoint
import type { IBoardConnectorWaypoint } from '@univerjs-pro/boards' · Used by IBoardConnectorData · IBoardConnectorOrthogonalData
interface IBoardConnectorWaypoint extends IBoardConnectorPoint { id: string kind: 'manual' | 'auto' locked?: boolean}Related types: IBoardConnectorPoint
IBoardContainerBehavior
Nested type in @univerjs-pro/boards · Used by IBoardContainerData
interface IBoardContainerBehavior { acceptsChildren: boolean acceptsContainer: boolean allowNested: boolean autoCapture: boolean autoResize: boolean membershipLocked: boolean membershipAwareness?: BoardContainerMembershipAwareness layoutOccupancy?: 'body' | 'frame' clipChildren: boolean}Related types: BoardContainerMembershipAwareness
IBoardContainerCapturePolicy
Nested type in @univerjs-pro/boards · Used by IBoardContainerData
interface IBoardContainerCapturePolicy { enabled: boolean captureMode: 'strict' expelMode: 'hysteresis' expelHysteresis: number allowCaptureFromSiblingContainer: boolean allowCaptureFromAncestorContainer: boolean allowCaptureContainer: boolean allowCaptureLockedObjects?: boolean modifierToDisable?: 'Alt' modifierToForce?: 'Shift'}IBoardContainerPadding
Nested type in @univerjs-pro/boards · Used by IBoardContainerData
interface IBoardContainerPadding { top: number right: number bottom: number left: number}IBoardElementTransform
import type { IBoardElementTransform } from '@univerjs-pro/boards' · Used by IBoardElementBase · IBoardPlaceholderData
interface IBoardElementTransform { left?: number top?: number width?: number height?: number rotation?: number scaleX?: number scaleY?: number skewX?: number skewY?: number flipX?: boolean flipY?: boolean}IBoardShapeGeometry
import type { IBoardShapeGeometry } from '@univerjs-pro/boards' · Used by IBoardShapeData
interface IBoardShapeGeometry extends IPresetShapeConfig { pathLst?: IBoardShapePath[] strokeReferenceSize?: { width: number; height: number }}Related types: IPresetShapeConfig · IBoardShapePath
IBoardSwimlaneData
import type { IBoardSwimlaneData } from '@univerjs-pro/boards' · Used by IBoardContainerData
interface IBoardSwimlaneData { orientation: 'horizontal' | 'vertical' lanes: IBoardSwimlaneLane[] headerPosition?: 'left' | 'top' headerSize?: number laneGap?: number collapsedLaneSize?: number}Related types: IBoardSwimlaneLane
BoardContainerMembershipAwareness
Nested type in @univerjs-pro/boards · Used by IBoardContainerBehavior
type BoardContainerMembershipAwareness = 'interactive' | 'structural'IBoardConnectorAnimation
import type { IBoardConnectorAnimation } from '@univerjs-pro/boards' · Used by IBoardConnectorStyle
interface IBoardConnectorAnimation { mode: BoardConnectorAnimationMode direction?: 'forward' | 'reverse' speed?: number}Related types: BoardConnectorAnimationMode
IBoardConnectorCurveAnchor
import type { IBoardConnectorCurveAnchor } from '@univerjs-pro/boards' · Used by IBoardConnectorCurveData
interface IBoardConnectorCurveAnchor extends IBoardConnectorPoint { id: string kind: 'manual' | 'auto' endpoint?: IBoardConnectorEndpoint locked?: boolean}Related types: IBoardConnectorPoint · IBoardConnectorEndpoint
IBoardConnectorCurveControl
Nested type in @univerjs-pro/boards · Used by IBoardConnectorCurveData
interface IBoardConnectorCurveControl extends IBoardConnectorPoint { id: string segmentIndex: number kind: 'manual' | 'auto' locked?: boolean}Related types: IBoardConnectorPoint
IBoardConnectorFreeEndpoint
Nested type in @univerjs-pro/boards · Used by IBoardConnectorEndpoint
interface IBoardConnectorFreeEndpoint extends IBoardConnectorPoint { kind: 'free'}Related types: IBoardConnectorPoint
IBoardConnectorLabelLayout
import type { IBoardConnectorLabelLayout } from '@univerjs-pro/boards' · Used by IBoardConnectorLabel
Width and height describe the outer label box, including text padding.
type IBoardConnectorLabelLayout = | { mode: typeof BoardConnectorLabelSizing.AutoSize; width?: never; height?: never } | { mode: typeof BoardConnectorLabelSizing.FixedWidth; width: number; height?: never } | { mode: typeof BoardConnectorLabelSizing.FixedSize; width: number; height: number }Related types: BoardConnectorLabelSizing
IBoardConnectorLabelPlacement
import type { IBoardConnectorLabelPlacement } from '@univerjs-pro/boards' · Used by IBoardConnectorLabel
interface IBoardConnectorLabelPlacement { mode?: 'auto' | 'fixed' anchor?: BoardConnectorLabelAnchor pathRatio?: number side?: BoardConnectorLabelSide distance?: number alongOffset?: number orientation?: BoardConnectorLabelOrientation offset?: IBoardConnectorLabelOffset}Related types: BoardConnectorLabelAnchor · BoardConnectorLabelSide · BoardConnectorLabelOrientation · IBoardConnectorLabelOffset
IBoardConnectorLabelStyle
import type { IBoardConnectorLabelStyle } from '@univerjs-pro/boards' · Used by IBoardConnectorLabel
interface IBoardConnectorLabelStyle { fill?: Pick<NonNullable<IBasicShapeData['fill']>, 'color' | 'opacity'> stroke?: Pick<IShapeLineStyle, 'color' | 'dashType' | 'lineStrokeType' | 'opacity' | 'width'> interruptLine?: boolean maskFrame?: boolean lineGap?: number}Related types: IShapeLineStyle
IBoardConnectorLifelineEndpoint
Nested type in @univerjs-pro/boards · Used by IBoardConnectorEndpoint
interface IBoardConnectorLifelineEndpoint { kind: 'lifeline' shapeId: string offsetY: number fallbackPoint?: IBoardConnectorPoint}Related types: IBoardConnectorPoint
IBoardConnectorMarker
import type { IBoardConnectorMarker } from '@univerjs-pro/boards' · Used by IBoardConnectorStyle
interface IBoardConnectorMarker { type: BoardConnectorMarkerType size?: BoardConnectorMarkerSize offset?: number inheritStroke?: boolean inheritFill?: boolean parts?: Exclude<BoardConnectorMarkerType, 'none' | 'composite'>[]}Related types: BoardConnectorMarkerType · BoardConnectorMarkerSize
IBoardConnectorPoint
import type { IBoardConnectorPoint } from '@univerjs-pro/boards' · Used by IBoardConnectorWaypoint · IBoardConnectorFreeEndpoint · IBoardConnectorLifelineEndpoint · IBoardConnectorShapeBoundaryEndpoint · IBoardConnectorShapeSiteEndpoint · IBoardConnectorSharedRailData · IBoardConnectorCurveAnchor · IBoardConnectorCurveControl
interface IBoardConnectorPoint { x: number y: number}IBoardConnectorShapeBoundaryEndpoint
Nested type in @univerjs-pro/boards · Used by IBoardConnectorEndpoint
interface IBoardConnectorShapeBoundaryEndpoint { kind: 'shapeBoundary' shapeId: string outlineIndex: number segmentIndex: number segmentT: number boundaryRatio?: number localUV?: { u: number v: number } fallbackPoint?: IBoardConnectorPoint}Related types: IBoardConnectorPoint
IBoardConnectorShapeSiteEndpoint
import type { IBoardConnectorShapeSiteEndpoint } from '@univerjs-pro/boards' · Used by IBoardConnectorEndpoint
interface IBoardConnectorShapeSiteEndpoint { kind: 'shapeSite' shapeId: string connectionSiteId: number connectionPosition?: number connectionPositionMode?: 'auto' | 'fixed' fallbackPoint?: IBoardConnectorPoint}Related types: IBoardConnectorPoint
IBoardConnectorSharedRailData
import type { IBoardConnectorSharedRailData } from '@univerjs-pro/boards' · Used by IBoardConnectorOrthogonalData
interface IBoardConnectorSharedRailData { start: IBoardConnectorPoint end: IBoardConnectorPoint ownerId: string connectorIds: string[]}Related types: IBoardConnectorPoint
IBoardShapePath
import type { IBoardShapePath } from '@univerjs-pro/boards' · Used by IBoardShapeGeometry
interface IBoardShapePath extends IShapePath { fillColor?: string strokeWidth?: number strokeOpacity?: number strokeDashArray?: number[]}Related types: IShapePath
IBoardSwimlaneLane
import type { IBoardSwimlaneLane } from '@univerjs-pro/boards' · Used by IBoardSwimlaneData
interface IBoardSwimlaneLane { id: string title: string order: number size: number minSize?: number locked?: boolean collapsed?: boolean titleStyle?: IBoardTextStyle}Related types: IBoardTextStyle
BoardConnectorAnimationMode
import type { BoardConnectorAnimationMode } from '@univerjs-pro/boards' · Used by IBoardConnectorAnimation
Visual effect used while a connector animation is enabled.
type BoardConnectorAnimationMode = | 'dash' | 'particle' | 'pulse' | 'gradient' | 'particles' | 'arrows'BoardConnectorLabelAnchor
import type { BoardConnectorLabelAnchor } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelPlacement
type BoardConnectorLabelAnchor = (typeof BoardConnectorLabelAnchor)[keyof typeof BoardConnectorLabelAnchor]BoardConnectorLabelOrientation
import type { BoardConnectorLabelOrientation } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelPlacement
type BoardConnectorLabelOrientation = (typeof BoardConnectorLabelOrientation)[keyof typeof BoardConnectorLabelOrientation]BoardConnectorLabelSide
import type { BoardConnectorLabelSide } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelPlacement
type BoardConnectorLabelSide = (typeof BoardConnectorLabelSide)[keyof typeof BoardConnectorLabelSide]BoardConnectorLabelSizing
import type { BoardConnectorLabelSizing } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelLayout
type BoardConnectorLabelSizing = (typeof BoardConnectorLabelSizing)[keyof typeof BoardConnectorLabelSizing]BoardConnectorMarkerSize
Nested type in @univerjs-pro/boards · Used by IBoardConnectorMarker
type BoardConnectorMarkerSize = 'sm' | 'md' | 'lg' | numberBoardConnectorMarkerType
import type { BoardConnectorMarkerType } from '@univerjs-pro/boards' · Used by IBoardConnectorMarker
type BoardConnectorMarkerType = | 'none' | 'composite' | 'openArrow' | 'filledArrow' | 'openTriangle' | 'filledTriangle' | 'openDiamond' | 'filledDiamond' | 'openCircle' | 'filledCircle' | 'bar' | 'doubleBar' | 'crowFoot' | 'cross' | 'plus'IBoardConnectorLabelOffset
import type { IBoardConnectorLabelOffset } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelPlacement
type IBoardConnectorLabelOffset = | { space: typeof BoardConnectorLabelOffsetSpace.Path along: number normal: number x?: never y?: never } | { space: typeof BoardConnectorLabelOffsetSpace.Canvas x: number y: number along?: never normal?: never }Related types: BoardConnectorLabelOffsetSpace
BoardConnectorLabelOffsetSpace
import type { BoardConnectorLabelOffsetSpace } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelOffset
type BoardConnectorLabelOffsetSpace = (typeof BoardConnectorLabelOffsetSpace)[keyof typeof BoardConnectorLabelOffsetSpace]Насколько полезно это руководство?