C# Класс 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]

Наследование: AbstractSwfElement
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_gradientRecords List
_interpolationMode InterPolation
_numGradients byte
_spreadMode SpreadMode

Открытые методы

Метод Описание
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

Описание методов

Gradient() публичный Метод

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.
Результат System

Parse() публичный Метод

public Parse ( Stream input, TagTypes caller ) : void
input Stream
caller TagTypes
Результат void

ToString() публичный Метод

Converts the value of this instance to a System.String.
public ToString ( ) : string
Результат string

Verify() публичный Метод

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
Результат bool

Write() публичный Метод

Writes this object back to a stream
public Write ( Stream output ) : void
output Stream The stream to write to
Результат void

Описание свойств

_gradientRecords защищенное свойство

protected List _gradientRecords
Результат List

_interpolationMode защищенное свойство

protected InterPolation _interpolationMode
Результат InterPolation

_numGradients защищенное свойство

protected byte _numGradients
Результат byte

_spreadMode защищенное свойство

protected SpreadMode _spreadMode
Результат SpreadMode