ImageGear Professional DLL v17.1 for Windows Accusoft
Gradients
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > User Guide > Using ImageGear > Working with Vector Images > General Concepts of the ImageGear Vector API > Gradients

Glossary Item Box

Gradient filling properties are encapsulated by a HIG_VECT_GRADIENT handle. This handle is attached to a HIG_VECT_FILLTYPE object.

There are two types of gradient fillings: linear and radial.

The color of the gradient is defined by an array of stops. A stop is a pair of offset and color. Stop offsets are relative to gradient coordinates: 0.0 corresponds to the start point; 1.0 corresponds to the end points, in case of a linear gradient, or to a point at the outer circle, in case of radial gradient. If first stop offset is greater than 0.0, or last stop offset is less than 1.0, the gradient is expanded, according to its Spread method. Gradient color is linearly interpolated between the stops.

Gradient filling can be transformed with an affine matrix.

©2012. Accusoft Corporation. All Rights Reserved.