Types
TextComponent = ref TextComponentObj
- Source Edit
Procs
proc newTextComponent(parent: Entity; text: string; fontSize: int32; color: Color): TextComponent {...}{.raises: [], tags: [TimeEffect].}
- Source Edit
Funcs
func text(self: TextComponent): auto {...}{.raises: [], tags: [].}
- Source Edit
func text=(self: TextComponent; value: string) {...}{.raises: [], tags: [].}
- Source Edit
func fontSize(self: TextComponent): auto {...}{.raises: [], tags: [].}
- Source Edit
func fontSize=(self: TextComponent; value: int32) {...}{.raises: [], tags: [].}
- Source Edit
func color(self: TextComponent): auto {...}{.raises: [], tags: [].}
- Source Edit
func color=(self: TextComponent; value: Color) {...}{.raises: [], tags: [].}
- Source Edit
Methods
method initialize(self: TextComponent) {...}{.locks: "unknown", raises: [], tags: [].}
- Source Edit