C# Class Recurity.Swf.TagHandler.DefineShape4

DefineShape4 extends the capabilities of DefineShape3 by using a new line style record in the

shape. LINESTYLE2 allows new types of joins and caps as well as scaling options and the

ability to fill a stroke.

DefineShape4 specifies not only the shape bounds but also the edge bounds of the shape.

While the shape bounds are calculated along the outside of the strokes, the edge bounds are

taken from the outside of the edges, as shown in the following diagram. The EdgeBounds

field assists Flash Player in accurately determining certain layouts.

In addition, DefineShape4 includes new hinting flags UsesNonScalingStrokes and

UsesScalingStrokes. These flags assist Flash Player in creating the best possible area for

invalidation.

Inheritance: AbstractTagHandler, ISwfCharacter
Exibir arquivo Open project: rtezli/Blitzableiter Class Usage Examples

Public Methods

Method Description
DefineShape4 ( byte InitialVersion ) : System

DefineShape4 extends the capabilities of DefineShape3 by using a new line style record in the

shape. LINESTYLE2 allows new types of joins and caps as well as scaling options and the

ability to fill a stroke.

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

Protected Methods

Method Description
Parse ( ) : void

Parses this object out of a stream

Method Details

DefineShape4() public method

DefineShape4 extends the capabilities of DefineShape3 by using a new line style record in the

shape. LINESTYLE2 allows new types of joins and caps as well as scaling options and the

ability to fill a stroke.

public DefineShape4 ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this tag.
return System

Parse() protected method

Parses this object out of a stream
protected Parse ( ) : void
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

public Write ( Stream output ) : void
output Stream
return void