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
Afficher le fichier Open project: rtezli/Blitzableiter Class Usage Examples

Protected Properties

Свойство Type Description
_gradientRecords List
_interpolationMode InterPolation
_numGradients byte
_spreadMode SpreadMode

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Parse() public méthode

public Parse ( Stream input, TagTypes caller ) : void
input Stream
caller TagTypes
Résultat void

ToString() public méthode

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

Verify() public méthode

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

Write() public méthode

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

Property Details

_gradientRecords protected_oe property

protected List _gradientRecords
Résultat List

_interpolationMode protected_oe property

protected InterPolation _interpolationMode
Résultat InterPolation

_numGradients protected_oe property

protected byte _numGradients
Résultat byte

_spreadMode protected_oe property

protected SpreadMode _spreadMode
Résultat SpreadMode