Skip to content

getTextNodeFont

getTextNodeFont(node, defaultFont): object

Parameters

node: any

defaultFont

defaultFont.fontColor: string

defaultFont.fontFamily: string

defaultFont.fontSize: number

defaultFont.fontStyle: string

defaultFont.fontWeight: number

Returns

object

fontColor

fontColor: string

fontFamily

fontFamily: string

fontSize

fontSize: number

fontStyle

fontStyle: string

fontWeight

fontWeight: number

Source

utils/text-utils.ts:121