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
Exibir arquivo Open project: rtezli/Blitzableiter Class Usage Examples

Protected Properties

Property 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

Public Methods

Method 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

Method 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 method

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
return void

StyleChangeRecord() public method

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

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

public Write ( Stream output, BitStream bits ) : void
output Stream
bits BitStream
return void

Property Details

_caller protected_oe property

protected TagTypes _caller
return TagTypes

_fillStyle0 protected_oe property

protected UInt32,System _fillStyle0
return System.UInt32

_fillStyle1 protected_oe property

protected UInt32,System _fillStyle1
return System.UInt32

_fillStyles protected_oe property

protected FillStyleArray,Recurity.Swf _fillStyles
return FillStyleArray

_isFirst protected_oe property

protected bool _isFirst
return bool

_lineStyle protected_oe property

protected UInt32,System _lineStyle
return System.UInt32

_lineStyles protected_oe property

protected LineStyleArray,Recurity.Swf _lineStyles
return LineStyleArray

_moveBits protected_oe property

protected byte _moveBits
return byte

_moveDeltaX protected_oe property

protected Int32,System _moveDeltaX
return System.Int32

_moveDeltaY protected_oe property

protected Int32,System _moveDeltaY
return System.Int32

_newNumFillBits protected_oe property

protected UInt16,System _newNumFillBits
return System.UInt16

_newNumLineBits protected_oe property

protected UInt16,System _newNumLineBits
return System.UInt16

_numFillBits protected_oe property

protected UInt16,System _numFillBits
return System.UInt16

_numLineBits protected_oe property

protected UInt16,System _numLineBits
return System.UInt16

_stateFillStyle0 protected_oe property

protected bool _stateFillStyle0
return bool

_stateFillStyle1 protected_oe property

protected bool _stateFillStyle1
return bool

_stateLineStyle protected_oe property

protected bool _stateLineStyle
return bool

_stateMoveTo protected_oe property

protected bool _stateMoveTo
return bool

_stateNewStyles protected_oe property

protected bool _stateNewStyles
return bool