C# Class Recurity.Swf.Gradient

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

interpolation type.

Note that for the DefineShape, DefineShape2 or DefineShape3 tags, the SpreadMode and

InterpolationMode fields must be 0, and the NumGradients field can not exceed 8.

Source: Adobe[swf_file_format_spec_v10.pdf]

Inheritance: AbstractSwfElement
Exibir arquivo Open project: rtezli/Blitzableiter Class Usage Examples

Protected Properties

Property Type Description
_gradientRecords List
_interpolationMode InterPolation
_numGradients byte
_spreadMode SpreadMode

Public Methods

Method Description
Gradient ( byte InitialVersion ) : System

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

interpolation type.

Parse ( Stream input, TagTypes caller ) : void

ToString ( ) : string

Converts the value of this instance to a System.String.

Verify ( ) : bool

Verifies this object and its components for documentation compliance.

Write ( Stream output ) : void

Writes this object back to a stream

Method Details

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

Parse() public method

public Parse ( Stream input, TagTypes caller ) : void
input Stream
caller TagTypes
return void

ToString() public method

Converts the value of this instance to a System.String.
public ToString ( ) : string
return string

Verify() public method

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
return bool

Write() public method

Writes this object back to a stream
public Write ( Stream output ) : void
output Stream The stream to write to
return void

Property Details

_gradientRecords protected_oe property

protected List _gradientRecords
return List

_interpolationMode protected_oe property

protected InterPolation _interpolationMode
return InterPolation

_numGradients protected_oe property

protected byte _numGradients
return byte

_spreadMode protected_oe property

protected SpreadMode _spreadMode
return SpreadMode