...

Online Help for Chasys Draw IES: Automation - Common Tasks


Automation : Common Tasks
 

Commands

Here’s the listing of the available commands and their syntax:

Command & Syntax Details
add_border size; Adds a border of size size [0..1024] to the image. The direction of flip is set by the parameter direction [horz, vert].
set_canvas width height x_off y_off; Sets the layer’s canvas such that the new size becomes width by height pixels and the old pixels are inserted at the offset x_off, y_off.

clean_alpha method #color ;

Cleans the transparent areas of the current layer. The logic used for the clean is set by the parameter method [plain, content].

fill_alpha method #color;

Applies a solid-color background to the layer. The logic used for the fill is set by the parameter method [plain, content].
   

 

You can generate script code for most commands in Chasys Draw IES by using them while running the record function.

 

 

Copyright © John Paul Chacha, 2001-2024