Mika Scraper / TextCraftInput
Type Alias: TextCraftInput
TextCraftInput =
object
Defined in: src/textcraft/TextCraftClient.ts:42
The TextCraftInput
type defines the structure of the combined input required for text crafting operations. It organizes various properties related to text, fonts, and visual effects, enabling flexible and customizable text rendering.
Type Declaration
text
text:
string
The main text content to be processed.
text2?
optional
text2:string
An additional text input that can be layered with the primary text.
text3?
optional
text3:string
A third text input for further depth or detail.
fontStyle?
optional
fontStyle:string
Specifies the style of the primary font, e.g., โboldโ, โitalicโ, etc.
fontStyle2?
optional
fontStyle2:string
Specifies the style of the second font input.
fontStyle3?
optional
fontStyle3:string
Specifies the style of the third font input.
fontSize?
optional
fontSize:string
Defines the size of the primary font, e.g., โ12pxโ, โ1emโ.
fontSize2?
optional
fontSize2:string
Defines the size for the second font input.
fontSize3?
optional
fontSize3:string
Defines the size for the third font input.
fontColour?
optional
fontColour:string
Sets the color of the primary font, specified in a format like HEX or RGBA.
fontColour2?
optional
fontColour2:string
Sets the color for the second font input.
fontColour3?
optional
fontColour3:string
Sets the color for the third font input.
borderColour?
optional
borderColour:string
Defines the color of the border surrounding the text, specified in a format like HEX or RGBA.
borderColour2?
optional
borderColour2:string
Specifies the color for the border of the second text input.
borderColour3?
optional
borderColour3:string
Specifies the color for the border of the third text input.
dropShadow?
optional
dropShadow:boolean
Indicates whether a drop shadow effect should be applied to the text. Defaults to false
.
glossy?
optional
glossy:boolean
Determines if the text should have a glossy effect. Defaults to false
.
lighting?
optional
lighting:boolean
Specifies whether lighting effects should be applied to the text. Defaults to false
.
glitterBorder?
optional
glitterBorder:boolean
Indicates if a glittering border effect should be applied to the text. Defaults to false
.