Recurity.Swf.Gradient.Gradient C# (CSharp) Method

Gradient() public method

Swf 8 and later supports up to 15 gradient control points, spread modes and a new

interpolation type.

public Gradient ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this object.
return System
        public Gradient( byte InitialVersion )
            : base(InitialVersion)
        {
            this._spreadMode = SpreadMode.PadMode;
            this._interpolationMode = InterPolation.Linear;
            this._numGradients = 0;
            this._gradientRecords = new List<GradRecord>();
        }