ImageGear .NET - Updated
ImGearVectorGradient Class
Members 




ImageGear24.Formats.Vector Assembly > ImageGear.Vector Namespace : ImGearVectorGradient Class
This class is used as the base for particular gradient filling classes.
Object Model
ImGearVectorGradient ClassImGearVectorColorEx Structure
Syntax
'Declaration
 
Public MustInherit Class ImGearVectorGradient 
   Inherits ImGearVectorObject
'Usage
 
Dim instance As ImGearVectorGradient
public abstract class ImGearVectorGradient : ImGearVectorObject 
public __gc abstract class ImGearVectorGradient : public ImGearVectorObject 
public ref class ImGearVectorGradient abstract : public ImGearVectorObject 
Remarks

There are two types of gradient filllings: linear and radial. They are represented by ImGearVectorGradientLinear class and ImGearVectorGradientRadial class, correspondingly.

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 the case of a linear gradient, or to a point at the outer circle, in the case of a radial gradient. If first stop offset is greater than 0.0, or the 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.

Inheritance Hierarchy

System.Object
   ImageGear.Vector.ImGearVectorObject
      ImageGear.Vector.ImGearVectorGradient
         ImageGear.Vector.ImGearVectorGradientLinear
         ImageGear.Vector.ImGearVectorGradientRadial

See Also

Reference

ImGearVectorGradient Members
ImageGear.Vector Namespace