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

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

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

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

Защищенные методы

Метод Описание
Parse ( ) : void

Parses this object out of a stream

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

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.

public DefineShape4 ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this tag.
Результат System

Parse() защищенный Метод

Parses this object out of a stream
protected Parse ( ) : void
Результат 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() публичный Метод

public Write ( Stream output ) : void
output Stream
Результат void