@univerjs/engine-render v0.4.2 • 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
submodules/univer/packages/engine-render/src/basics/document-node-tools.ts:92 (opens in a new tab)