Documentation
Complete reference for every BDFD function — syntax, parameter types, enum values, and practical examples.
Image & Canvas
(15 functions)Finalizes the current canvas block, renders all queued operations, and registers the resulting image as a message att...
Draws a bar chart with automatic scaling and configurable bar spacing
Draws a line chart with optional area fill and data point markers
Draws a pie chart from semicolon-separated data values with automatic color palette fallback
Overlays an external image at the given position with optional shape masking and blend modes
Defines a named positioning frame. Subsequent canvas operations referencing this container via their `container` para...
Creates a blank canvas with the given dimensions and optional background color
Draws an arc (outline) or pie slice (filled) using angle parameters in degrees
Draws a circle (filled or outlined) with optional blend mode support
Draws a line between two points using Bresenham's algorithm with configurable thickness
Draws a rectangle (filled or outline only) with optional blend mode
Draws a rectangle with rounded corners — filled or outline
Draws text on the canvas at the specified position with configurable font size, color, and alignment
Loads an image from a URL, data URL, or base64 string onto the canvas
Draws a progress bar (horizontal or vertical) with background, fill, and optional border
No functions found
Try a different search term. Function names are case-insensitive.
Need the product first?
Install Bot Creator, then use the docs to build your commands.
The function reference pairs with the visual editor — every function here is available in the BDFD script panel.