Custom Command
FunctionsImage Builder functions

$imageStrokeWidth

Controls the thickness of the stroke line used by the $imageStroke function. This allows you to customize the appearance of shapes and lines drawn on your images.

Usage

$imageStrokeWidth[width]

Parameters:

  • width: The desired thickness of the stroke line, measured in pixels. The default value is 1. A higher number results in a thicker line.

Understanding Position (X & Y)

For a deeper understanding of how to position elements using X and Y coordinates, refer to this resource: Positioning Guide

Understanding Size (Width & Height)

To learn more about defining the size of elements using Width and Height, please see this guide: Size Guide

Example:

This example demonstrates how to create a red square with a stroke thickness of 10 pixels, centered on a 300x300 canvas.

Member
9/5/2026

!!exec $imageCreate[300;300] $imagePositionBase[center] $imageStrokeWidth[10] $imageStroke[red;center;center;50;50] $image[$imageOutput]

Custom Command
APP
9/5/2026

On this page