C# Class Recurity.Swf.StyleChangeRecord

The style change record is also a non-edge record. It can be used to do the following:

1. Select a fill or line style for drawing.

2. Move the current drawing position (without drawing).

3. Replace the current fill and line style arrays with a new set of styles.

Inheritance: ShapeRecord
Afficher le fichier Open project: rtezli/Blitzableiter Class Usage Examples

Protected Properties

Свойство Type Description
_caller TagTypes
_fillStyle0 System.UInt32
_fillStyle1 System.UInt32
_fillStyles FillStyleArray
_isFirst bool
_lineStyle System.UInt32
_lineStyles LineStyleArray
_moveBits byte
_moveDeltaX System.Int32
_moveDeltaY System.Int32
_newNumFillBits System.UInt16
_newNumLineBits System.UInt16
_numFillBits System.UInt16
_numLineBits System.UInt16
_stateFillStyle0 bool
_stateFillStyle1 bool
_stateLineStyle bool
_stateMoveTo bool
_stateNewStyles bool

Méthodes publiques

Méthode Description
Parse ( Stream input, BitStream bits, byte firstFive, TagTypes caller, UInt16 &fillBits, UInt16 &lineBits, bool first ) : void

StyleChangeRecord ( byte InitialVersion ) : System

A SHAPERECORD which changes the style.

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, BitStream bits ) : void

Private Methods

Méthode Description
GetBit ( byte input, byte position ) : bool

Gets single bit from a byte

GetFlags ( byte firstFive ) : void

ParseDefineShape23 ( Stream input, BitStream bits, UInt16 &fillBits, UInt16 &lineBits, bool first ) : void

ParseGeneric ( Stream input, BitStream bits, UInt16 &fillBits, UInt16 &lineBits, bool first ) : void

Method Details

Parse() public méthode

public Parse ( Stream input, BitStream bits, byte firstFive, TagTypes caller, UInt16 &fillBits, UInt16 &lineBits, bool first ) : void
input Stream
bits BitStream
firstFive byte
caller TagTypes
fillBits System.UInt16
lineBits System.UInt16
first bool
Résultat void

StyleChangeRecord() public méthode

A SHAPERECORD which changes the style.
public StyleChangeRecord ( byte InitialVersion ) : System
InitialVersion byte The version of the swf file using this object.
Résultat System

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

public Write ( Stream output, BitStream bits ) : void
output Stream
bits BitStream
Résultat void

Property Details

_caller protected_oe property

protected TagTypes _caller
Résultat TagTypes

_fillStyle0 protected_oe property

protected UInt32,System _fillStyle0
Résultat System.UInt32

_fillStyle1 protected_oe property

protected UInt32,System _fillStyle1
Résultat System.UInt32

_fillStyles protected_oe property

protected FillStyleArray,Recurity.Swf _fillStyles
Résultat FillStyleArray

_isFirst protected_oe property

protected bool _isFirst
Résultat bool

_lineStyle protected_oe property

protected UInt32,System _lineStyle
Résultat System.UInt32

_lineStyles protected_oe property

protected LineStyleArray,Recurity.Swf _lineStyles
Résultat LineStyleArray

_moveBits protected_oe property

protected byte _moveBits
Résultat byte

_moveDeltaX protected_oe property

protected Int32,System _moveDeltaX
Résultat System.Int32

_moveDeltaY protected_oe property

protected Int32,System _moveDeltaY
Résultat System.Int32

_newNumFillBits protected_oe property

protected UInt16,System _newNumFillBits
Résultat System.UInt16

_newNumLineBits protected_oe property

protected UInt16,System _newNumLineBits
Résultat System.UInt16

_numFillBits protected_oe property

protected UInt16,System _numFillBits
Résultat System.UInt16

_numLineBits protected_oe property

protected UInt16,System _numLineBits
Résultat System.UInt16

_stateFillStyle0 protected_oe property

protected bool _stateFillStyle0
Résultat bool

_stateFillStyle1 protected_oe property

protected bool _stateFillStyle1
Résultat bool

_stateLineStyle protected_oe property

protected bool _stateLineStyle
Résultat bool

_stateMoveTo protected_oe property

protected bool _stateMoveTo
Résultat bool

_stateNewStyles protected_oe property

protected bool _stateNewStyles
Résultat bool