Hierarchy

Constructors

Properties

_cacheId: string
blendMode: BlendMode = BlendMode.BM_NORMAL
enabled: boolean = true
mixColor: Color = ...
onDrawAfter: ((renderer: FatRenderer, rect: LUIRect, x: number, y: number, width: number, height: number) => void)

Type declaration

    • (renderer: FatRenderer, rect: LUIRect, x: number, y: number, width: number, height: number): void
    • Parameters

      Returns void

onDrawBefore: ((renderer: FatRenderer, rect: LUIRect, x: number, y: number, width: number, height: number) => void)

Type declaration

    • (renderer: FatRenderer, rect: LUIRect, x: number, y: number, width: number, height: number): void
    • Parameters

      Returns void

onPaddingSpace: boolean = false

Set to true so the style will be rendered on Padding space.

pixelOutlineColor: Color = null

if not null => text is rendered with an outline.

The result is the standard simple pixel-art outline (no fancy options atm).

pixelOutlineOffset: number = 1
pixelShadowColor: Color = null

if not null => text is rendered twice first with shadow color, second with mixColor

pixelShadowDistanceX: number = 1
pixelShadowDistanceY: number = 1
textOffsetX: number = 0
textOffsetY: number = 0
_globalCacheId: number = 0

Methods

Generated using TypeDoc