C# Класс Recurity.Swf.TagHandler.DefineFont2

The DefineFont2 tag extends the functionality of DefineFont.
32-bit entries in the OffsetTable, for fonts with more than 64K glyphs. Mapping to device fonts, by incorporating all the functionality of DefineFontInfo. Font metrics for improved layout of dynamic glyph text. DefineFont2 tags are the only font definitions that can be used for dynamic text.
Наследование: DefineFont, ISwfCharacter
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
_codeTable byte[]
_codeTableOffset System.UInt16
_fontAdvanceTable System.Int16[]
_fontAscent System.Int16
_fontBoundsTable Rect[]
_fontDescent System.Int16
_fontFlagsANSI bool
_fontFlagsBold bool
_fontFlagsHasLayout bool
_fontFlagsItalic bool
_fontFlagsShiftJIS bool
_fontFlagsSmallText bool
_fontFlagsWideCodes bool
_fontFlagsWideOffsets bool
_fontKerningTable KerningRecord[]
_fontLeading System.Int16
_fontName byte[]
_fontNameLen byte
_hasGlyphs bool
_kerningCount System.UInt16
_languageCode LangCode
_offsetTable System.UInt16[]
_wideCodeTable System.UInt16[]
_wideCodeTableOffset System.UInt32
_wideOffsetTable System.UInt32[]

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

Метод Описание
DefineFont2 ( byte InitialVersion ) : System

The DefineFont2 tag extends the functionality of DefineFont

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

ParseCodeTable ( Stream input ) : void

Parses the code table of this tag.

ParseFlags ( Stream input ) : void

Parses the flags of this tag.

ParseLayout ( Stream input ) : void

Parses the layout of this tag.

WriteCodeTable ( Stream output ) : void

WriteFlags ( Stream output ) : void

WriteLayout ( Stream output ) : void

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

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

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

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

Parses this object out of a stream
protected Parse ( ) : void
Результат void

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

Parses the code table of this tag.
protected ParseCodeTable ( Stream input ) : void
input Stream The input stream where to read from.
Результат void

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

Parses the flags of this tag.
protected ParseFlags ( Stream input ) : void
input Stream The input stream where to read from.
Результат void

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

Parses the layout of this tag.
protected ParseLayout ( Stream input ) : void
input Stream The input stream where to read from.
Результат 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

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

protected WriteCodeTable ( Stream output ) : void
output Stream
Результат void

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

protected WriteFlags ( Stream output ) : void
output Stream
Результат void

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

protected WriteLayout ( Stream output ) : void
output Stream
Результат void

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

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

protected byte[] _codeTable
Результат byte[]

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

protected UInt16,System _codeTableOffset
Результат System.UInt16

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

protected Int16[],System _fontAdvanceTable
Результат System.Int16[]

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

protected Int16,System _fontAscent
Результат System.Int16

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

protected Rect[] _fontBoundsTable
Результат Rect[]

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

protected Int16,System _fontDescent
Результат System.Int16

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

protected bool _fontFlagsANSI
Результат bool

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

protected bool _fontFlagsBold
Результат bool

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

protected bool _fontFlagsHasLayout
Результат bool

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

protected bool _fontFlagsItalic
Результат bool

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

protected bool _fontFlagsShiftJIS
Результат bool

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

protected bool _fontFlagsSmallText
Результат bool

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

protected bool _fontFlagsWideCodes
Результат bool

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

protected bool _fontFlagsWideOffsets
Результат bool

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

protected KerningRecord[] _fontKerningTable
Результат KerningRecord[]

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

protected Int16,System _fontLeading
Результат System.Int16

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

protected byte[] _fontName
Результат byte[]

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

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

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

protected bool _hasGlyphs
Результат bool

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

protected UInt16,System _kerningCount
Результат System.UInt16

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

protected LangCode _languageCode
Результат LangCode

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

protected UInt16[],System _offsetTable
Результат System.UInt16[]

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

protected UInt16[],System _wideCodeTable
Результат System.UInt16[]

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

protected UInt32,System _wideCodeTableOffset
Результат System.UInt32

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

protected UInt32[],System _wideOffsetTable
Результат System.UInt32[]