@univerjs/engine-render v0.5.0-beta.1 • Docs
Function: getParagraphByGlyph()
function getParagraphByGlyph(glyph, body?): undefined | {
bullet: IBullet;
paragraphEnd: paragraph.startIndex;
paragraphStart: number;
paragraphStyle: IParagraphStyle;
startIndex: number;
}
Parameters
Parameter | Type |
---|---|
glyph | Nullable <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