Draw
Returns an instance of the specified class ‘Type’ with the given properties. Internally, the render is appended to the Menu.Renders table and the global ZIndex is increased by 1. \ FontFace is handled differently, it must be a table containing at index 1, the Font and at index 2, the textsize. Menu.Fonts contains the default Fonts used by the Menu. TextSize can be overwritten by passing in the TextSize property into the properties table.string
required
The instance class to create.
table
The table containing the properties to apply to the render.
Remove
Destroys a render and removes itself and it’s desscendants from the Menu.Renders table. Use this instead of manually destroying renders created by Menu.Draw.instance
required
The Render to destroy.
ShadeColor
Returns a Color3, the result of the base Color’s R/G/B values multiplied by the provided R/G/B values.Color3
required
The base color.
number
required
number
required
number
required
GetDescendants
Returns a table of the Render’s descendants inclusive of itself at index 1.instance
required
The base render.
ToRichText
Returns a formatted string for rich text.string
required
The raw text.
Color3
required
Enter a description
Tween
Tweens a render, instantly plays it with the given data and returns the tween object.instance
required
The render to tween.
TweenInfo
required
table
required
The properties to tween.
ImportImage
Returns an assetid of the image from the base64 encoded data.string
required
The name of the image.
string
required
The base64 encoding of the Image.
ImportFont
Returns a Font object from the given base64 encoded data.string
required
The name of the Font.
string
required
The base64 encoding of the font.
WeightNumber
WeightEnum
enum
GetTextBounds
Returns thte text bounds (Vector2) of the text from the given font. Refer to Draw for info on FontFace.string
required
table
required
number