@univerjs/engine-render v0.5.0-beta.1Docs


Function: getParagraphByGlyph()

function getParagraphByGlyph(glyph, body?): undefined | {
  bullet: IBullet;
  paragraphEnd: paragraph.startIndex;
  paragraphStart: number;
  paragraphStyle: IParagraphStyle;
  startIndex: number;
}

Parameters

ParameterType
glyphNullable<IDocumentSkeletonGlyph>
body?IDocumentBody

Returns

undefined | { bullet: IBullet; paragraphEnd: paragraph.startIndex; paragraphStart: number; paragraphStyle: IParagraphStyle; startIndex: number; }

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/document-node-tools.ts:92