Interface TextRendererOptions

interface TextRendererOptions {
    bitmapMargin: Vector2;
    bitmapSpacing: Vector2;
    charRanges: number[];
    color: string;
    font: string | FontFace;
    fontSize: number;
    height: number;
    layer: string;
    letterSpacing: number;
    lineSeparation: number;
    offset: Vector2;
    opacity: number;
    orientation: TextOrientation;
    rotation: number;
    smooth: boolean;
    text: string;
    width: number;
}

Properties

bitmapMargin: Vector2
bitmapSpacing: Vector2
charRanges: number[]
color: string
font: string | FontFace
fontSize: number
height: number
layer: string
letterSpacing: number
lineSeparation: number
offset: Vector2
opacity: number
orientation: TextOrientation
rotation: number
smooth: boolean
text: string
width: number