image.setAntialiasing()

Switches antialiasing on or off in rendered graphics.

image.setAntialiasing( antialias=string )

Returns: Image

Argument Description
antialias
string, optional

Antialiasing switch:

  • on, true: (default)
  • off, false:

Examples

imgObj = imageNew("",150,150,"rgb","149c82");
	imgObj.setAntialiasing('off');
	cfimage(action="writeToBrowser", source=imgObj);

See also