© Efflare Systems
website : e-mail

index | examples | api | language
The ImageFlare API is the collection of graphics related classes for use with FlareScript.

The ImageFlare cfx tag requires either a SOURCE attribute containing script source
or a SOURCEFILE attribute containing an absolute path to a file containing the script source.

With the SOURCEFILE attribute, our convention is to use the .fs extension.
We also use this UltraEdit syntax definition for editing straight FlareScript.

The global variable cf is an instance of the Request class. This single variable is available in every call to ImageFlare.

We will document function definitions in the following reference via this syntax :

functionname( parameter:type=default ... ):returntype ...

Classes
Classes are created by constructors. Constructors are functions named the same as the classname.

Bitmap
Shape
Color
Font
Request
Query

Functions
The following general purpose functions are also available...

abs, acos, asin, atan, ceil
cos, fileexists, floor, hex, include
max, md5, min, mod, pow
random, round, sin, sqrt, tan, uid

Technical Notes
Further reference, primarily linked in other documentation...

Coldfusion <-> ImageFlare
Resampling Filters
Blending Modes
Image Format Support
Font Antialiasing
Character Sets
Web Colors By Name