Skip to main content

Interface: EngravingSettings

Properties

adjustFont

adjustFont: boolean


fontFamily

fontFamily: string

Font name. In case of not default font make sure to load it previously


fontSize

fontSize: number


fontStyle?

optional fontStyle: FontStyle

Font style.

Deprecated


fontStyleValue?

optional fontStyleValue: string


fontStyles?

optional fontStyles: FontStyle[]

Available font styles


fontWeight?

optional fontWeight: FontWeight


invertH

invertH: boolean

If true it will create embossing effect


level

level: number


lineHeight?

optional lineHeight: number


lineSpace

lineSpace: number


lines

lines: number


mobileTextureSize

mobileTextureSize: number


smoothing

smoothing: number


strength

strength: number


strokeText

strokeText: boolean

If true it will use stroke text instead of fill text


textAlign

textAlign: CanvasTextAlign


textBaseline?

optional textBaseline: CanvasTextBaseline

Deprecated


textTransform?

optional textTransform: string[]


textureSize

textureSize: number


useAlbedo

useAlbedo: boolean


useBump

useBump: boolean