Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • Text3DFaceDto

Index

Constructors

constructor

  • Type parameters

    • T

    Parameters

    • Optional face: T
    • Optional facePlanar: boolean
    • Optional faceTextVar: faceTextVarEnum
    • Optional text: string
    • Optional fontType: fontsEnum
    • Optional fontVariant: fontVariantsEnum
    • Optional fontSize: number
    • Optional height: number
    • Optional rotation: number
    • Optional originParamU: number
    • Optional originParamV: number
    • Optional originAlignment: recAlignmentEnum

    Returns Text3DFaceDto<T>

Properties

face

face: T

The face of the text

default

undefined

facePlanar

facePlanar: boolean

If the face is planar it should be true

default

false

faceTextVar

faceTextVar: faceTextVarEnum

You can choose how your face text will be constructed. Separated extrusion will only return text letters Integrated extrusion will create a shell from the extruded text and original face Integrated pull in will create a shell from the negative extrusion and original face Cutout will return compound with faces that are left after cutting the original face with text

fontSize

fontSize: number

The size of the font

default

1.5

minimum

0

maximum

Infinity

step

0.1

fontType

fontType: fontsEnum

The type of font to use

default

Roboto

fontVariant

fontVariant: fontVariantsEnum

The type of font to use

default

Regular

height

height: number

The height of the font extrusion, if 0 then face will be returned and not a solid

default

0.2

minimum

0

maximum

Infinity

step

0.1

originAlignment

originAlignment: recAlignmentEnum

Origin alignment

default

centerMiddle

originParamU

originParamU: number

Origin u param for the text 0 - 1

default

0.5

minimum

0

maximum

1

step

0.1

originParamV

originParamV: number

Origin v param for the text 0 - 1

default

0.5

minimum

0

maximum

1

step

0.1

rotation

rotation: number

The rotation of the generated text

default

0

minimum

0

maximum

Infinity

step

15

text

text: string

The type of font to use

default

bitbybit.dev

Generated using TypeDoc