Справочник API

Boards sub-types

Composite types referenced by whiteboard snapshots, pages, elements, connectors, and themes.

Текст этой страницы API пока доступен на английском. Сигнатуры и идентификаторы не зависят от языка интерфейса.

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

TypeKindUsed by
BoardCustomDatatypeIBoardData, IBoardPage, IBoardThemeData, IBoardElementBase
IBoardPageinterfaceIBoardData
IBoardPageSizeinterfaceIBoardData, IBoardPage
IBoardThemeDatainterfaceIBoardData
IBoardTransitionDatainterfaceIBoardData
BoardPageSizePresetenumIBoardPageSize
BoardPageTypeenumIBoardPage
BoardTransitionDirectionenumIBoardTransitionData
BoardTransitionSpeedenumIBoardTransitionData
BoardTransitionTypeenumIBoardTransitionData
IBoardBackgroundDatatypeIBoardPage
IBoardFmtSchemeinterfaceIBoardThemeData
IBoardHeaderFooterDatainterfaceIBoardPage
IBoardPageElementtypeIBoardPage
IBoardTransitionSoundinterfaceIBoardTransitionData
IBoardChartElementinterfaceIBoardPageElement
IBoardConnectorElementinterfaceIBoardPageElement
IBoardContainerElementinterfaceIBoardPageElement
IBoardEffectStyleinterfaceIBoardFmtScheme
IBoardEmptyBackgroundinterfaceIBoardBackgroundData
IBoardFillStyletypeIBoardFmtScheme
IBoardGradientBackgroundinterfaceIBoardBackgroundData
IBoardGroupElementinterfaceIBoardPageElement
IBoardHeaderFooterDateTimeSlotinterfaceIBoardHeaderFooterData
IBoardHeaderFooterSlotinterfaceIBoardHeaderFooterData, IBoardHeaderFooterDateTimeSlot
IBoardImageBackgroundinterfaceIBoardBackgroundData
IBoardImageElementinterfaceIBoardPageElement
IBoardMediaElementinterfaceIBoardPageElement
IBoardPatternBackgroundinterfaceIBoardBackgroundData
IBoardPlaceholderElementinterfaceIBoardPageElement
IBoardShapeElementinterfaceIBoardPageElement
IBoardSolidBackgroundinterfaceIBoardBackgroundData
IBoardTableElementinterfaceIBoardPageElement
IBoardTextElementinterfaceIBoardPageElement
BoardBackgroundImageFittypeIBoardImageBackground
BoardBackgroundTypeenumIBoardEmptyBackground, IBoardSolidBackground, IBoardGradientBackground, IBoardImageBackground
BoardElementTypetypeIBoardPlaceholderElement, IBoardTextElement, IBoardShapeElement, IBoardContainerElement
BoardHeaderFooterDateTimeModetypeIBoardHeaderFooterDateTimeSlot
BoardMediaTypetypeIBoardMediaElement
IBoardConnectorDatainterfaceIBoardConnectorElement
IBoardContainerDatainterfaceIBoardContainerElement
IBoardElementBaseinterfaceIBoardPlaceholderElement, IBoardTextElement, IBoardShapeElement, IBoardContainerElement
IBoardGradientStopinterfaceIBoardGradientBackground
IBoardPlaceholderDatainterfaceIBoardPlaceholderElement, IBoardChartElement, IBoardTableElement
IBoardPlaceholderStyleinterfaceIBoardPlaceholderElement
IBoardReflectionEffectinterfaceIBoardEffectStyle
IBoardShapeDatainterfaceIBoardShapeElement, IBoardContainerData
IBoardTextStyleinterfaceIBoardTextElement, IBoardContainerData, IBoardSwimlaneLane
BoardConnectorRoutingtypeIBoardConnectorData
BoardConnectorRoutingModetypeIBoardConnectorData
BoardContainerKindtypeIBoardContainerData
BoardContainerTitlePositiontypeIBoardContainerData
BoardElementManagedBytypeIBoardElementBase
BoardElementRoletypeIBoardElementBase
BoardPlaceholderTypetypeIBoardPlaceholderData
IBoardConnectorCurveDatainterfaceIBoardConnectorData
IBoardConnectorEndpointtypeIBoardConnectorData, IBoardConnectorCurveAnchor
IBoardConnectorLabelinterfaceIBoardConnectorData
IBoardConnectorOrthogonalDatainterfaceIBoardConnectorData
IBoardConnectorStyleinterfaceIBoardConnectorData
IBoardConnectorWaypointinterfaceIBoardConnectorData, IBoardConnectorOrthogonalData
IBoardContainerBehaviorinterfaceIBoardContainerData
IBoardContainerCapturePolicyinterfaceIBoardContainerData
IBoardContainerPaddinginterfaceIBoardContainerData
IBoardElementTransforminterfaceIBoardElementBase, IBoardPlaceholderData
IBoardShapeGeometryinterfaceIBoardShapeData
IBoardSwimlaneDatainterfaceIBoardContainerData
BoardContainerMembershipAwarenesstypeIBoardContainerBehavior
IBoardConnectorAnimationinterfaceIBoardConnectorStyle
IBoardConnectorCurveAnchorinterfaceIBoardConnectorCurveData
IBoardConnectorCurveControlinterfaceIBoardConnectorCurveData
IBoardConnectorFreeEndpointinterfaceIBoardConnectorEndpoint
IBoardConnectorLabelLayouttypeIBoardConnectorLabel
IBoardConnectorLabelPlacementinterfaceIBoardConnectorLabel
IBoardConnectorLabelStyleinterfaceIBoardConnectorLabel
IBoardConnectorLifelineEndpointinterfaceIBoardConnectorEndpoint
IBoardConnectorMarkerinterfaceIBoardConnectorStyle
IBoardConnectorPointinterfaceIBoardConnectorWaypoint, IBoardConnectorFreeEndpoint, IBoardConnectorLifelineEndpoint, IBoardConnectorShapeBoundaryEndpoint
IBoardConnectorShapeBoundaryEndpointinterfaceIBoardConnectorEndpoint
IBoardConnectorShapeSiteEndpointinterfaceIBoardConnectorEndpoint
IBoardConnectorSharedRailDatainterfaceIBoardConnectorOrthogonalData
IBoardShapePathinterfaceIBoardShapeGeometry
IBoardSwimlaneLaneinterfaceIBoardSwimlaneData
BoardConnectorAnimationModetypeIBoardConnectorAnimation
BoardConnectorLabelAnchortypeIBoardConnectorLabelPlacement
BoardConnectorLabelOrientationtypeIBoardConnectorLabelPlacement
BoardConnectorLabelSidetypeIBoardConnectorLabelPlacement
BoardConnectorLabelSizingtypeIBoardConnectorLabelLayout
BoardConnectorMarkerSizetypeIBoardConnectorMarker
BoardConnectorMarkerTypetypeIBoardConnectorMarker
IBoardConnectorLabelOffsettypeIBoardConnectorLabelPlacement
BoardConnectorLabelOffsetSpacetypeIBoardConnectorLabelOffset

BoardCustomData

Nested type in @univerjs-pro/boards · Used by IBoardData · IBoardPage · IBoardThemeData · IBoardElementBase · IBoardPlaceholderData · IBoardContainerData

TypeScript
type BoardCustomData = Record<string, unknown> | null

IBoardPage

import type { IBoardPage } from '@univerjs-pro/boards' · Used by IBoardData

TypeScript
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

TypeScript
interface IBoardPageSize {  width: number  height: number  preset?: BoardPageSizePreset}

Related types: BoardPageSizePreset

IBoardThemeData

import type { IBoardThemeData } from '@univerjs-pro/boards' · Used by IBoardData

TypeScript
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

TypeScript
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

TypeScript
enum BoardPageSizePreset {  Standard4By3 = 'standard4By3',  WideScreen16By9 = 'wideScreen16By9',  WideScreen16By10 = 'wideScreen16By10',  Custom = 'custom',}

BoardPageType

import { BoardPageType } from '@univerjs-pro/boards' · Used by IBoardPage

TypeScript
enum BoardPageType {  Page = 'page',  Master = 'master',  Layout = 'layout',  HandoutMaster = 'handoutMaster',  NotesMaster = 'notesMaster',}

BoardTransitionDirection

import { BoardTransitionDirection } from '@univerjs-pro/boards' · Used by IBoardTransitionData

TypeScript
enum BoardTransitionDirection {  Left = 'left',  Right = 'right',  Up = 'up',  Down = 'down',}

BoardTransitionSpeed

import { BoardTransitionSpeed } from '@univerjs-pro/boards' · Used by IBoardTransitionData

TypeScript
enum BoardTransitionSpeed {  Slow = 'slow',  Medium = 'medium',  Fast = 'fast',}

BoardTransitionType

import { BoardTransitionType } from '@univerjs-pro/boards' · Used by IBoardTransitionData

TypeScript
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

TypeScript
type IBoardBackgroundData =  | IBoardEmptyBackground  | IBoardSolidBackground  | IBoardGradientBackground  | IBoardImageBackground  | IBoardPatternBackground

Related types: IBoardEmptyBackground · IBoardSolidBackground · IBoardGradientBackground · IBoardImageBackground · IBoardPatternBackground

IBoardFmtScheme

Nested type in @univerjs-pro/boards · Used by IBoardThemeData

TypeScript
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

TypeScript
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

TypeScript
type IBoardPageElement =  | IBoardPlaceholderElement  | IBoardTextElement  | IBoardShapeElement  | IBoardContainerElement  | IBoardConnectorElement  | IBoardImageElement  | IBoardChartElement  | IBoardTableElement  | IBoardMediaElement  | IBoardGroupElement

Related types: IBoardPlaceholderElement · IBoardTextElement · IBoardShapeElement · IBoardContainerElement · IBoardConnectorElement · IBoardImageElement · IBoardChartElement · IBoardTableElement · IBoardMediaElement · IBoardGroupElement

IBoardTransitionSound

Nested type in @univerjs-pro/boards · Used by IBoardTransitionData

TypeScript
interface IBoardTransitionSound {  name?: string  source?: string  loopUntilNext?: boolean}

IBoardChartElement

import type { IBoardChartElement } from '@univerjs-pro/boards' · Used by IBoardPageElement

TypeScript
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

TypeScript
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

TypeScript
interface IBoardContainerElement extends IBoardElementBase {  type: typeof BoardElementType.Container  containerData: IBoardContainerData}

Related types: IBoardElementBase · IBoardContainerData

IBoardEffectStyle

Nested type in @univerjs-pro/boards · Used by IBoardFmtScheme

TypeScript
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

TypeScript
interface IBoardEmptyBackground {  type: BoardBackgroundType.None}

Related types: BoardBackgroundType.None

IBoardFillStyle

Nested type in @univerjs-pro/boards · Used by IBoardFmtScheme

TypeScript
type IBoardFillStyle = NonNullable<IBasicShapeData['fill']>

Related types: IBasicShapeData

IBoardGradientBackground

Nested type in @univerjs-pro/boards · Used by IBoardBackgroundData

TypeScript
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

TypeScript
interface IBoardGroupElement extends IBoardElementBase {  type: typeof BoardElementType.Group  children: string[]}

Related types: IBoardElementBase

IBoardHeaderFooterDateTimeSlot

Nested type in @univerjs-pro/boards · Used by IBoardHeaderFooterData

TypeScript
interface IBoardHeaderFooterDateTimeSlot extends IBoardHeaderFooterSlot {  mode?: BoardHeaderFooterDateTimeMode  format?: string}

Related types: IBoardHeaderFooterSlot · BoardHeaderFooterDateTimeMode

IBoardHeaderFooterSlot

Nested type in @univerjs-pro/boards · Used by IBoardHeaderFooterData · IBoardHeaderFooterDateTimeSlot

TypeScript
interface IBoardHeaderFooterSlot {  enabled?: boolean  text?: string}

IBoardImageBackground

import type { IBoardImageBackground } from '@univerjs-pro/boards' · Used by IBoardBackgroundData

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
interface IBoardSolidBackground {  type: BoardBackgroundType.Solid  color: string  alpha?: number}

Related types: BoardBackgroundType.Solid

IBoardTableElement

import type { IBoardTableElement } from '@univerjs-pro/boards' · Used by IBoardPageElement

TypeScript
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

TypeScript
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

TypeScript
type BoardBackgroundImageFit = 'cover' | 'contain' | 'stretch'

BoardBackgroundType

import { BoardBackgroundType } from '@univerjs-pro/boards' · Used by IBoardEmptyBackground · IBoardSolidBackground · IBoardGradientBackground · IBoardImageBackground · IBoardPatternBackground

TypeScript
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

TypeScript
type BoardElementType = (typeof BoardElementType)[keyof typeof BoardElementType]

BoardHeaderFooterDateTimeMode

Nested type in @univerjs-pro/boards · Used by IBoardHeaderFooterDateTimeSlot

TypeScript
type BoardHeaderFooterDateTimeMode = 'auto' | 'fixed'

BoardMediaType

import type { BoardMediaType } from '@univerjs-pro/boards' · Used by IBoardMediaElement

TypeScript
type BoardMediaType = (typeof BoardMediaType)[keyof typeof BoardMediaType]

IBoardConnectorData

import type { IBoardConnectorData } from '@univerjs-pro/boards' · Used by IBoardConnectorElement

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
interface IBoardGradientStop {  color: string  position: number  alpha?: number}

IBoardPlaceholderData

Nested type in @univerjs-pro/boards · Used by IBoardPlaceholderElement · IBoardChartElement · IBoardTableElement

TypeScript
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

TypeScript
interface IBoardPlaceholderStyle {  fill?: IBasicShapeData['fill']  stroke?: IShapeLineStyle}

Related types: IBasicShapeData · IShapeLineStyle

IBoardReflectionEffect

Nested type in @univerjs-pro/boards · Used by IBoardEffectStyle

TypeScript
interface IBoardReflectionEffect {  blurRadius?: number  startAlpha?: number  endAlpha?: number  distance?: number  direction?: number}

IBoardShapeData

import type { IBoardShapeData } from '@univerjs-pro/boards' · Used by IBoardShapeElement · IBoardContainerData

TypeScript
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

TypeScript
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

TypeScript
type BoardConnectorRouting = 'straight' | 'orthogonal' | 'curve' | 'freePolyline'

BoardConnectorRoutingMode

import type { BoardConnectorRoutingMode } from '@univerjs-pro/boards' · Used by IBoardConnectorData

TypeScript
type BoardConnectorRoutingMode = 'auto' | 'manual' | 'mixed'

BoardContainerKind

import type { BoardContainerKind } from '@univerjs-pro/boards' · Used by IBoardContainerData

TypeScript
type BoardContainerKind = 'generic' | 'swimlane' | 'uml-package' | 'system-boundary'

BoardContainerTitlePosition

Nested type in @univerjs-pro/boards · Used by IBoardContainerData

TypeScript
type BoardContainerTitlePosition = 'top' | 'inside'

BoardElementManagedBy

Nested type in @univerjs-pro/boards · Used by IBoardElementBase

TypeScript
type BoardElementManagedBy = 'presentationBackground'

BoardElementRole

Nested type in @univerjs-pro/boards · Used by IBoardElementBase

TypeScript
type BoardElementRole = 'backgroundGraphic'

BoardPlaceholderType

import type { BoardPlaceholderType } from '@univerjs-pro/boards' · Used by IBoardPlaceholderData

TypeScript
type BoardPlaceholderType = (typeof BoardPlaceholderType)[keyof typeof BoardPlaceholderType]

IBoardConnectorCurveData

Nested type in @univerjs-pro/boards · Used by IBoardConnectorData

TypeScript
interface IBoardConnectorCurveData {  anchors?: IBoardConnectorCurveAnchor[]  controls?: IBoardConnectorCurveControl[]  tension?: number}

Related types: IBoardConnectorCurveAnchor · IBoardConnectorCurveControl

IBoardConnectorEndpoint

import type { IBoardConnectorEndpoint } from '@univerjs-pro/boards' · Used by IBoardConnectorData · IBoardConnectorCurveAnchor

TypeScript
type IBoardConnectorEndpoint =  | IBoardConnectorFreeEndpoint  | IBoardConnectorLifelineEndpoint  | IBoardConnectorShapeBoundaryEndpoint  | IBoardConnectorShapeSiteEndpoint

Related types: IBoardConnectorFreeEndpoint · IBoardConnectorLifelineEndpoint · IBoardConnectorShapeBoundaryEndpoint · IBoardConnectorShapeSiteEndpoint

IBoardConnectorLabel

import type { IBoardConnectorLabel } from '@univerjs-pro/boards' · Used by IBoardConnectorData

TypeScript
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

TypeScript
interface IBoardConnectorOrthogonalData {  settled?: true  sharedRail?: IBoardConnectorSharedRailData  routePoints?: IBoardConnectorWaypoint[]}

Related types: IBoardConnectorSharedRailData · IBoardConnectorWaypoint

IBoardConnectorStyle

import type { IBoardConnectorStyle } from '@univerjs-pro/boards' · Used by IBoardConnectorData

TypeScript
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

TypeScript
interface IBoardConnectorWaypoint extends IBoardConnectorPoint {  id: string  kind: 'manual' | 'auto'  locked?: boolean}

Related types: IBoardConnectorPoint

IBoardContainerBehavior

Nested type in @univerjs-pro/boards · Used by IBoardContainerData

TypeScript
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

TypeScript
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

TypeScript
interface IBoardContainerPadding {  top: number  right: number  bottom: number  left: number}

IBoardElementTransform

import type { IBoardElementTransform } from '@univerjs-pro/boards' · Used by IBoardElementBase · IBoardPlaceholderData

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
type BoardContainerMembershipAwareness = 'interactive' | 'structural'

IBoardConnectorAnimation

import type { IBoardConnectorAnimation } from '@univerjs-pro/boards' · Used by IBoardConnectorStyle

TypeScript
interface IBoardConnectorAnimation {  mode: BoardConnectorAnimationMode  direction?: 'forward' | 'reverse'  speed?: number}

Related types: BoardConnectorAnimationMode

IBoardConnectorCurveAnchor

import type { IBoardConnectorCurveAnchor } from '@univerjs-pro/boards' · Used by IBoardConnectorCurveData

TypeScript
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

TypeScript
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

TypeScript
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.

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
interface IBoardConnectorLifelineEndpoint {  kind: 'lifeline'  shapeId: string  offsetY: number  fallbackPoint?: IBoardConnectorPoint}

Related types: IBoardConnectorPoint

IBoardConnectorMarker

import type { IBoardConnectorMarker } from '@univerjs-pro/boards' · Used by IBoardConnectorStyle

TypeScript
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

TypeScript
interface IBoardConnectorPoint {  x: number  y: number}

IBoardConnectorShapeBoundaryEndpoint

Nested type in @univerjs-pro/boards · Used by IBoardConnectorEndpoint

TypeScript
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

TypeScript
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

TypeScript
interface IBoardConnectorSharedRailData {  start: IBoardConnectorPoint  end: IBoardConnectorPoint  ownerId: string  connectorIds: string[]}

Related types: IBoardConnectorPoint

IBoardShapePath

import type { IBoardShapePath } from '@univerjs-pro/boards' · Used by IBoardShapeGeometry

TypeScript
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

TypeScript
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.

TypeScript
type BoardConnectorAnimationMode =  | 'dash'  | 'particle'  | 'pulse'  | 'gradient'  | 'particles'  | 'arrows'

BoardConnectorLabelAnchor

import type { BoardConnectorLabelAnchor } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelPlacement

TypeScript
type BoardConnectorLabelAnchor =  (typeof BoardConnectorLabelAnchor)[keyof typeof BoardConnectorLabelAnchor]

BoardConnectorLabelOrientation

import type { BoardConnectorLabelOrientation } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelPlacement

TypeScript
type BoardConnectorLabelOrientation =  (typeof BoardConnectorLabelOrientation)[keyof typeof BoardConnectorLabelOrientation]

BoardConnectorLabelSide

import type { BoardConnectorLabelSide } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelPlacement

TypeScript
type BoardConnectorLabelSide =  (typeof BoardConnectorLabelSide)[keyof typeof BoardConnectorLabelSide]

BoardConnectorLabelSizing

import type { BoardConnectorLabelSizing } from '@univerjs-pro/boards' · Used by IBoardConnectorLabelLayout

TypeScript
type BoardConnectorLabelSizing =  (typeof BoardConnectorLabelSizing)[keyof typeof BoardConnectorLabelSizing]

BoardConnectorMarkerSize

Nested type in @univerjs-pro/boards · Used by IBoardConnectorMarker

TypeScript
type BoardConnectorMarkerSize = 'sm' | 'md' | 'lg' | number

BoardConnectorMarkerType

import type { BoardConnectorMarkerType } from '@univerjs-pro/boards' · Used by IBoardConnectorMarker

TypeScript
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

TypeScript
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

TypeScript
type BoardConnectorLabelOffsetSpace =  (typeof BoardConnectorLabelOffsetSpace)[keyof typeof BoardConnectorLabelOffsetSpace]

Насколько полезно это руководство?

© 2026 DreamNum Co., Ltd.