Skip to content

@vaguevoid/fiasco / ecs/components / Str

Type Alias: Str<Length, Data>

Str<Length, Data> = object

Defined in: src/ecs/components.ts:127

A generic text type that represents a fixed-length buffer.

Currently only supported with the TextRender component and can not be used in custom components.

Type Parameters

Length

Length extends number

Data

Data extends string = string

Properties

data

data: Data

Defined in: src/ecs/components.ts:127


length

length: Length

Defined in: src/ecs/components.ts:127