draw_path
Draw a polyline path on a specified layer and frame in an Aseprite file. Customize color and thickness, and optionally create the layer if it does not exist.
Instructions
Draw a path using a polyline on a specific layer/frame.
Args: filename (str): The path to the Aseprite file. layer_name (str): The name of the layer to draw on. frame_index (int): The index of the frame to draw on. points (List[Dict[str, int]]): The points to draw the path with. color (str, optional): The color to draw the path with. Defaults to "#000000". thickness (int, optional): The thickness of the path. Defaults to 1. create_if_missing (bool, optional): Whether to create the layer if it doesn't exist. Defaults to True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #000000 | |
| points | Yes | ||
| filename | Yes | ||
| thickness | No | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| create_if_missing | No |