Documentation ¶
Index ¶
- Constants
- type Color
- type Content
- type ContentSlice
- type CsmTextSettings
- type DebugId
- type DefineBinaryData
- type DefineBits
- type DefineBitsJpeg2
- type DefineBitsJpeg3
- type DefineBitsJpeg4
- type DefineBitsLossless
- type DefineBitsLossless2
- type DefineButton
- type DefineButton2
- type DefineButtonCxform
- type DefineButtonSound
- type DefineEditText
- type DefineFont
- type DefineFont2
- type DefineFont3
- type DefineFont4
- type DefineFontAlignZones
- type DefineFontInfo
- type DefineFontInfo2
- type DefineFontName
- type DefineMorphShape
- type DefineMorphShape2
- type DefineScalingGrid
- type DefineSceneAndFrameLabelData
- type DefineShape
- type DefineShape2
- type DefineShape3
- type DefineShape4
- type DefineSound
- type DefineSprite
- type DefineText
- type DefineText2
- type DefineVideoStream
- type DoAbc
- type DoAction
- type DoInitAction
- type EnableDebugger
- type EnableDebugger2
- type EnableTelemetry
- type End
- type ExportAssets
- type File
- type FileAttributes
- type FillStyle
- type FrameLabel
- type FrameRate
- type Gradient
- type GradientFlags
- type GradientRecord
- type ImportAssets
- type ImportAssets2
- type JpegTables
- type LineStyle
- type Matrix
- type Metadata
- type MorphFillStyle
- type MorphGradient
- type NameCharacter
- type PlaceObject
- type PlaceObject2
- type PlaceObject3
- type PlaceObject4
- type ProductInfo
- type Protect
- type Rectangle
- type RemoveObject
- type RemoveObject2
- type ScriptLimits
- type SetBackgroundColor
- type SetTabIndex
- type Shape
- type ShapeContext
- type ShapeRecord
- type ShapeStyles
- type ShowFrame
- type Signature
- type SoundStreamBlock
- type SoundStreamHead
- type SoundStreamHead2
- type StartSound
- type StartSound2
- type StyleChangeData
- type SymbolClass
- type TagCode
- type Uint16
- type Uint32
- type Uint8
- type Unknown
- type VideoFrame
Constants ¶
View Source
const ( SignatureUncompressed = `SWF` SignatureCompressed = `SWC` )
View Source
const ( // First byte. LineStyleFlagPixelHinting = 1 << 0 LineStyleFlagNoVerticalScale = 1 << 1 LineStyleFlagNoHorizontalScale = 1 << 2 LineStyleFlagHasFill = 1 << 3 LineStyleFlagJoinStyle = 0b11 << 4 LineStyleFlagStartCapStyle = 0b11 << 6 // Second byte. LineStyleFlagEndCapStyle = 0b11 << 8 LineStyleFlagNoClose = 1 << 10 // JoinStyle mask values. JoinStyleRound = 0b00 << 4 JoinStyleBevel = 0b01 << 4 JoinStyleMiter = 0b10 << 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type ContentSlice ¶
type ContentSlice []Content
func (ContentSlice) Bytes ¶
func (c ContentSlice) Bytes() []byte
func (ContentSlice) Serialize ¶
func (c ContentSlice) Serialize() ([]byte, error)
func (ContentSlice) String ¶
func (c ContentSlice) String() string
type CsmTextSettings ¶
type CsmTextSettings struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseCsmTextSettings ¶
func (*CsmTextSettings) Bytes ¶
func (v *CsmTextSettings) Bytes() []byte
func (*CsmTextSettings) Serialize ¶
func (v *CsmTextSettings) Serialize() ([]byte, error)
func (*CsmTextSettings) String ¶
func (v *CsmTextSettings) String() string
func (*CsmTextSettings) TagCode ¶
func (v *CsmTextSettings) TagCode() TagCode
type DebugId ¶
func ParseDebugId ¶
type DefineBinaryData ¶
type DefineBinaryData struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineBinaryData ¶
func (*DefineBinaryData) Bytes ¶
func (v *DefineBinaryData) Bytes() []byte
func (*DefineBinaryData) Serialize ¶
func (v *DefineBinaryData) Serialize() ([]byte, error)
func (*DefineBinaryData) String ¶
func (v *DefineBinaryData) String() string
func (*DefineBinaryData) TagCode ¶
func (v *DefineBinaryData) TagCode() TagCode
type DefineBits ¶
func ParseDefineBits ¶
func (*DefineBits) Bytes ¶
func (v *DefineBits) Bytes() []byte
func (*DefineBits) Serialize ¶
func (v *DefineBits) Serialize() ([]byte, error)
func (*DefineBits) String ¶
func (v *DefineBits) String() string
func (*DefineBits) TagCode ¶
func (v *DefineBits) TagCode() TagCode
type DefineBitsJpeg2 ¶
type DefineBitsJpeg2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineBitsJpeg2 ¶
func (*DefineBitsJpeg2) Bytes ¶
func (v *DefineBitsJpeg2) Bytes() []byte
func (*DefineBitsJpeg2) Serialize ¶
func (v *DefineBitsJpeg2) Serialize() ([]byte, error)
func (*DefineBitsJpeg2) String ¶
func (v *DefineBitsJpeg2) String() string
func (*DefineBitsJpeg2) TagCode ¶
func (v *DefineBitsJpeg2) TagCode() TagCode
type DefineBitsJpeg3 ¶
type DefineBitsJpeg3 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineBitsJpeg3 ¶
func (*DefineBitsJpeg3) Bytes ¶
func (v *DefineBitsJpeg3) Bytes() []byte
func (*DefineBitsJpeg3) Serialize ¶
func (v *DefineBitsJpeg3) Serialize() ([]byte, error)
func (*DefineBitsJpeg3) String ¶
func (v *DefineBitsJpeg3) String() string
func (*DefineBitsJpeg3) TagCode ¶
func (v *DefineBitsJpeg3) TagCode() TagCode
type DefineBitsJpeg4 ¶
type DefineBitsJpeg4 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineBitsJpeg4 ¶
func (*DefineBitsJpeg4) Bytes ¶
func (v *DefineBitsJpeg4) Bytes() []byte
func (*DefineBitsJpeg4) Serialize ¶
func (v *DefineBitsJpeg4) Serialize() ([]byte, error)
func (*DefineBitsJpeg4) String ¶
func (v *DefineBitsJpeg4) String() string
func (*DefineBitsJpeg4) TagCode ¶
func (v *DefineBitsJpeg4) TagCode() TagCode
type DefineBitsLossless ¶
type DefineBitsLossless struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineBitsLossless ¶
func (*DefineBitsLossless) Bytes ¶
func (v *DefineBitsLossless) Bytes() []byte
func (*DefineBitsLossless) Serialize ¶
func (v *DefineBitsLossless) Serialize() ([]byte, error)
func (*DefineBitsLossless) String ¶
func (v *DefineBitsLossless) String() string
func (*DefineBitsLossless) TagCode ¶
func (v *DefineBitsLossless) TagCode() TagCode
type DefineBitsLossless2 ¶
type DefineBitsLossless2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func (*DefineBitsLossless2) Bytes ¶
func (v *DefineBitsLossless2) Bytes() []byte
func (*DefineBitsLossless2) Serialize ¶
func (v *DefineBitsLossless2) Serialize() ([]byte, error)
func (*DefineBitsLossless2) String ¶
func (v *DefineBitsLossless2) String() string
func (*DefineBitsLossless2) TagCode ¶
func (v *DefineBitsLossless2) TagCode() TagCode
type DefineButton ¶
func ParseDefineButton ¶
func (*DefineButton) Bytes ¶
func (v *DefineButton) Bytes() []byte
func (*DefineButton) Serialize ¶
func (v *DefineButton) Serialize() ([]byte, error)
func (*DefineButton) String ¶
func (v *DefineButton) String() string
func (*DefineButton) TagCode ¶
func (v *DefineButton) TagCode() TagCode
type DefineButton2 ¶
type DefineButton2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineButton2 ¶
func (*DefineButton2) Bytes ¶
func (v *DefineButton2) Bytes() []byte
func (*DefineButton2) Serialize ¶
func (v *DefineButton2) Serialize() ([]byte, error)
func (*DefineButton2) String ¶
func (v *DefineButton2) String() string
func (*DefineButton2) TagCode ¶
func (v *DefineButton2) TagCode() TagCode
type DefineButtonCxform ¶
type DefineButtonCxform struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineButtonCxform ¶
func (*DefineButtonCxform) Bytes ¶
func (v *DefineButtonCxform) Bytes() []byte
func (*DefineButtonCxform) Serialize ¶
func (v *DefineButtonCxform) Serialize() ([]byte, error)
func (*DefineButtonCxform) String ¶
func (v *DefineButtonCxform) String() string
func (*DefineButtonCxform) TagCode ¶
func (v *DefineButtonCxform) TagCode() TagCode
type DefineButtonSound ¶
type DefineButtonSound struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineButtonSound ¶
func (*DefineButtonSound) Bytes ¶
func (v *DefineButtonSound) Bytes() []byte
func (*DefineButtonSound) Serialize ¶
func (v *DefineButtonSound) Serialize() ([]byte, error)
func (*DefineButtonSound) String ¶
func (v *DefineButtonSound) String() string
func (*DefineButtonSound) TagCode ¶
func (v *DefineButtonSound) TagCode() TagCode
type DefineEditText ¶
type DefineEditText struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineEditText ¶
func (*DefineEditText) Bytes ¶
func (v *DefineEditText) Bytes() []byte
func (*DefineEditText) Serialize ¶
func (v *DefineEditText) Serialize() ([]byte, error)
func (*DefineEditText) String ¶
func (v *DefineEditText) String() string
func (*DefineEditText) TagCode ¶
func (v *DefineEditText) TagCode() TagCode
type DefineFont ¶
func ParseDefineFont ¶
func (*DefineFont) Bytes ¶
func (v *DefineFont) Bytes() []byte
func (*DefineFont) Serialize ¶
func (v *DefineFont) Serialize() ([]byte, error)
func (*DefineFont) String ¶
func (v *DefineFont) String() string
func (*DefineFont) TagCode ¶
func (v *DefineFont) TagCode() TagCode
type DefineFont2 ¶
func ParseDefineFont2 ¶
func (*DefineFont2) Bytes ¶
func (v *DefineFont2) Bytes() []byte
func (*DefineFont2) Serialize ¶
func (v *DefineFont2) Serialize() ([]byte, error)
func (*DefineFont2) String ¶
func (v *DefineFont2) String() string
func (*DefineFont2) TagCode ¶
func (v *DefineFont2) TagCode() TagCode
type DefineFont3 ¶
func ParseDefineFont3 ¶
func (*DefineFont3) Bytes ¶
func (v *DefineFont3) Bytes() []byte
func (*DefineFont3) Serialize ¶
func (v *DefineFont3) Serialize() ([]byte, error)
func (*DefineFont3) String ¶
func (v *DefineFont3) String() string
func (*DefineFont3) TagCode ¶
func (v *DefineFont3) TagCode() TagCode
type DefineFont4 ¶
func ParseDefineFont4 ¶
func (*DefineFont4) Bytes ¶
func (v *DefineFont4) Bytes() []byte
func (*DefineFont4) Serialize ¶
func (v *DefineFont4) Serialize() ([]byte, error)
func (*DefineFont4) String ¶
func (v *DefineFont4) String() string
func (*DefineFont4) TagCode ¶
func (v *DefineFont4) TagCode() TagCode
type DefineFontAlignZones ¶
type DefineFontAlignZones struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func (*DefineFontAlignZones) Bytes ¶
func (v *DefineFontAlignZones) Bytes() []byte
func (*DefineFontAlignZones) Serialize ¶
func (v *DefineFontAlignZones) Serialize() ([]byte, error)
func (*DefineFontAlignZones) String ¶
func (v *DefineFontAlignZones) String() string
func (*DefineFontAlignZones) TagCode ¶
func (v *DefineFontAlignZones) TagCode() TagCode
type DefineFontInfo ¶
type DefineFontInfo struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineFontInfo ¶
func (*DefineFontInfo) Bytes ¶
func (v *DefineFontInfo) Bytes() []byte
func (*DefineFontInfo) Serialize ¶
func (v *DefineFontInfo) Serialize() ([]byte, error)
func (*DefineFontInfo) String ¶
func (v *DefineFontInfo) String() string
func (*DefineFontInfo) TagCode ¶
func (v *DefineFontInfo) TagCode() TagCode
type DefineFontInfo2 ¶
type DefineFontInfo2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineFontInfo2 ¶
func (*DefineFontInfo2) Bytes ¶
func (v *DefineFontInfo2) Bytes() []byte
func (*DefineFontInfo2) Serialize ¶
func (v *DefineFontInfo2) Serialize() ([]byte, error)
func (*DefineFontInfo2) String ¶
func (v *DefineFontInfo2) String() string
func (*DefineFontInfo2) TagCode ¶
func (v *DefineFontInfo2) TagCode() TagCode
type DefineFontName ¶
type DefineFontName struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineFontName ¶
func (*DefineFontName) Bytes ¶
func (v *DefineFontName) Bytes() []byte
func (*DefineFontName) Serialize ¶
func (v *DefineFontName) Serialize() ([]byte, error)
func (*DefineFontName) String ¶
func (v *DefineFontName) String() string
func (*DefineFontName) TagCode ¶
func (v *DefineFontName) TagCode() TagCode
type DefineMorphShape ¶
type DefineMorphShape struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineMorphShape ¶
func (*DefineMorphShape) Bytes ¶
func (v *DefineMorphShape) Bytes() []byte
func (*DefineMorphShape) Serialize ¶
func (v *DefineMorphShape) Serialize() ([]byte, error)
func (*DefineMorphShape) String ¶
func (v *DefineMorphShape) String() string
func (*DefineMorphShape) TagCode ¶
func (v *DefineMorphShape) TagCode() TagCode
type DefineMorphShape2 ¶
type DefineMorphShape2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineMorphShape2 ¶
func (*DefineMorphShape2) Bytes ¶
func (v *DefineMorphShape2) Bytes() []byte
func (*DefineMorphShape2) Serialize ¶
func (v *DefineMorphShape2) Serialize() ([]byte, error)
func (*DefineMorphShape2) String ¶
func (v *DefineMorphShape2) String() string
func (*DefineMorphShape2) TagCode ¶
func (v *DefineMorphShape2) TagCode() TagCode
type DefineScalingGrid ¶
type DefineScalingGrid struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineScalingGrid ¶
func (*DefineScalingGrid) Bytes ¶
func (v *DefineScalingGrid) Bytes() []byte
func (*DefineScalingGrid) Serialize ¶
func (v *DefineScalingGrid) Serialize() ([]byte, error)
func (*DefineScalingGrid) String ¶
func (v *DefineScalingGrid) String() string
func (*DefineScalingGrid) TagCode ¶
func (v *DefineScalingGrid) TagCode() TagCode
type DefineSceneAndFrameLabelData ¶
type DefineSceneAndFrameLabelData struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func (*DefineSceneAndFrameLabelData) Bytes ¶
func (v *DefineSceneAndFrameLabelData) Bytes() []byte
func (*DefineSceneAndFrameLabelData) Serialize ¶
func (v *DefineSceneAndFrameLabelData) Serialize() ([]byte, error)
func (*DefineSceneAndFrameLabelData) String ¶
func (v *DefineSceneAndFrameLabelData) String() string
func (*DefineSceneAndFrameLabelData) TagCode ¶
func (v *DefineSceneAndFrameLabelData) TagCode() TagCode
type DefineShape ¶
func ParseDefineShape ¶
func (*DefineShape) Bytes ¶
func (v *DefineShape) Bytes() []byte
func (*DefineShape) Serialize ¶
func (v *DefineShape) Serialize() ([]byte, error)
func (*DefineShape) String ¶
func (v *DefineShape) String() string
func (*DefineShape) TagCode ¶
func (v *DefineShape) TagCode() TagCode
type DefineShape2 ¶
func ParseDefineShape2 ¶
func (*DefineShape2) Bytes ¶
func (v *DefineShape2) Bytes() []byte
func (*DefineShape2) Serialize ¶
func (v *DefineShape2) Serialize() ([]byte, error)
func (*DefineShape2) String ¶
func (v *DefineShape2) String() string
func (*DefineShape2) TagCode ¶
func (v *DefineShape2) TagCode() TagCode
type DefineShape3 ¶
func ParseDefineShape3 ¶
func (*DefineShape3) Bytes ¶
func (v *DefineShape3) Bytes() []byte
func (*DefineShape3) Serialize ¶
func (v *DefineShape3) Serialize() ([]byte, error)
func (*DefineShape3) String ¶
func (v *DefineShape3) String() string
func (*DefineShape3) TagCode ¶
func (v *DefineShape3) TagCode() TagCode
type DefineShape4 ¶
func ParseDefineShape4 ¶
func (*DefineShape4) Bytes ¶
func (v *DefineShape4) Bytes() []byte
func (*DefineShape4) Serialize ¶
func (v *DefineShape4) Serialize() ([]byte, error)
func (*DefineShape4) String ¶
func (v *DefineShape4) String() string
func (*DefineShape4) TagCode ¶
func (v *DefineShape4) TagCode() TagCode
type DefineSound ¶
func ParseDefineSound ¶
func (*DefineSound) Bytes ¶
func (v *DefineSound) Bytes() []byte
func (*DefineSound) Serialize ¶
func (v *DefineSound) Serialize() ([]byte, error)
func (*DefineSound) String ¶
func (v *DefineSound) String() string
func (*DefineSound) TagCode ¶
func (v *DefineSound) TagCode() TagCode
type DefineSprite ¶
func ParseDefineSprite ¶
func (*DefineSprite) Bytes ¶
func (v *DefineSprite) Bytes() []byte
func (*DefineSprite) Serialize ¶
func (v *DefineSprite) Serialize() ([]byte, error)
func (*DefineSprite) String ¶
func (v *DefineSprite) String() string
func (*DefineSprite) TagCode ¶
func (v *DefineSprite) TagCode() TagCode
type DefineText ¶
func ParseDefineText ¶
func (*DefineText) Bytes ¶
func (v *DefineText) Bytes() []byte
func (*DefineText) Serialize ¶
func (v *DefineText) Serialize() ([]byte, error)
func (*DefineText) String ¶
func (v *DefineText) String() string
func (*DefineText) TagCode ¶
func (v *DefineText) TagCode() TagCode
type DefineText2 ¶
func ParseDefineText2 ¶
func (*DefineText2) Bytes ¶
func (v *DefineText2) Bytes() []byte
func (*DefineText2) Serialize ¶
func (v *DefineText2) Serialize() ([]byte, error)
func (*DefineText2) String ¶
func (v *DefineText2) String() string
func (*DefineText2) TagCode ¶
func (v *DefineText2) TagCode() TagCode
type DefineVideoStream ¶
type DefineVideoStream struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseDefineVideoStream ¶
func (*DefineVideoStream) Bytes ¶
func (v *DefineVideoStream) Bytes() []byte
func (*DefineVideoStream) Serialize ¶
func (v *DefineVideoStream) Serialize() ([]byte, error)
func (*DefineVideoStream) String ¶
func (v *DefineVideoStream) String() string
func (*DefineVideoStream) TagCode ¶
func (v *DefineVideoStream) TagCode() TagCode
type DoAction ¶
func ParseDoAction ¶
type DoInitAction ¶
func ParseDoInitAction ¶
func (*DoInitAction) Bytes ¶
func (v *DoInitAction) Bytes() []byte
func (*DoInitAction) Serialize ¶
func (v *DoInitAction) Serialize() ([]byte, error)
func (*DoInitAction) String ¶
func (v *DoInitAction) String() string
func (*DoInitAction) TagCode ¶
func (v *DoInitAction) TagCode() TagCode
type EnableDebugger ¶
type EnableDebugger struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseEnableDebugger ¶
func (*EnableDebugger) Bytes ¶
func (v *EnableDebugger) Bytes() []byte
func (*EnableDebugger) Serialize ¶
func (v *EnableDebugger) Serialize() ([]byte, error)
func (*EnableDebugger) String ¶
func (v *EnableDebugger) String() string
func (*EnableDebugger) TagCode ¶
func (v *EnableDebugger) TagCode() TagCode
type EnableDebugger2 ¶
type EnableDebugger2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseEnableDebugger2 ¶
func (*EnableDebugger2) Bytes ¶
func (v *EnableDebugger2) Bytes() []byte
func (*EnableDebugger2) Serialize ¶
func (v *EnableDebugger2) Serialize() ([]byte, error)
func (*EnableDebugger2) String ¶
func (v *EnableDebugger2) String() string
func (*EnableDebugger2) TagCode ¶
func (v *EnableDebugger2) TagCode() TagCode
type EnableTelemetry ¶
type EnableTelemetry struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseEnableTelemetry ¶
func (*EnableTelemetry) Bytes ¶
func (v *EnableTelemetry) Bytes() []byte
func (*EnableTelemetry) Serialize ¶
func (v *EnableTelemetry) Serialize() ([]byte, error)
func (*EnableTelemetry) String ¶
func (v *EnableTelemetry) String() string
func (*EnableTelemetry) TagCode ¶
func (v *EnableTelemetry) TagCode() TagCode
type ExportAssets ¶
func ParseExportAssets ¶
func (*ExportAssets) Bytes ¶
func (v *ExportAssets) Bytes() []byte
func (*ExportAssets) Serialize ¶
func (v *ExportAssets) Serialize() ([]byte, error)
func (*ExportAssets) String ¶
func (v *ExportAssets) String() string
func (*ExportAssets) TagCode ¶
func (v *ExportAssets) TagCode() TagCode
type File ¶
type FileAttributes ¶
func ParseFileAttributes ¶
func ParseFileAttributes(src io.Reader, tag *Uint16) (*FileAttributes, error)
func (*FileAttributes) Bytes ¶
func (v *FileAttributes) Bytes() []byte
func (*FileAttributes) Serialize ¶
func (v *FileAttributes) Serialize() ([]byte, error)
func (*FileAttributes) String ¶
func (v *FileAttributes) String() string
func (*FileAttributes) TagCode ¶
func (v *FileAttributes) TagCode() TagCode
type FillStyle ¶
type FrameLabel ¶
func ParseFrameLabel ¶
func (*FrameLabel) Bytes ¶
func (v *FrameLabel) Bytes() []byte
func (*FrameLabel) Serialize ¶
func (v *FrameLabel) Serialize() ([]byte, error)
func (*FrameLabel) String ¶
func (v *FrameLabel) String() string
func (*FrameLabel) TagCode ¶
func (v *FrameLabel) TagCode() TagCode
type Gradient ¶
type Gradient struct { Matrix *Matrix Flags *GradientFlags Records []*GradientRecord }
type GradientFlags ¶
func ReadGradientFlags ¶
func ReadGradientFlags(src io.Reader) (*GradientFlags, error)
type GradientRecord ¶
func ReadGradientRecord ¶
func ReadGradientRecord(src io.Reader, shapeVersion int) (*GradientRecord, error)
type ImportAssets ¶
func ParseImportAssets ¶
func (*ImportAssets) Bytes ¶
func (v *ImportAssets) Bytes() []byte
func (*ImportAssets) Serialize ¶
func (v *ImportAssets) Serialize() ([]byte, error)
func (*ImportAssets) String ¶
func (v *ImportAssets) String() string
func (*ImportAssets) TagCode ¶
func (v *ImportAssets) TagCode() TagCode
type ImportAssets2 ¶
type ImportAssets2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseImportAssets2 ¶
func (*ImportAssets2) Bytes ¶
func (v *ImportAssets2) Bytes() []byte
func (*ImportAssets2) Serialize ¶
func (v *ImportAssets2) Serialize() ([]byte, error)
func (*ImportAssets2) String ¶
func (v *ImportAssets2) String() string
func (*ImportAssets2) TagCode ¶
func (v *ImportAssets2) TagCode() TagCode
type JpegTables ¶
func ParseJpegTables ¶
func (*JpegTables) Bytes ¶
func (v *JpegTables) Bytes() []byte
func (*JpegTables) Serialize ¶
func (v *JpegTables) Serialize() ([]byte, error)
func (*JpegTables) String ¶
func (v *JpegTables) String() string
func (*JpegTables) TagCode ¶
func (v *JpegTables) TagCode() TagCode
type LineStyle ¶
type Matrix ¶
type Metadata ¶
func ParseMetadata ¶
type MorphFillStyle ¶
type MorphFillStyle struct { Type *Uint8 Start *FillStyle End *FillStyle MorphGradient *MorphGradient StartFocalPoint *Uint16 EndFocalPoint *Uint16 ID *Uint16 }
func ReadMorphFillStyle ¶
func ReadMorphFillStyle(src io.Reader, shapeVersion int) (*MorphFillStyle, error)
type MorphGradient ¶
type MorphGradient struct { Flags *GradientFlags Start *Gradient End *Gradient }
func ReadMorphGradient ¶
func ReadMorphGradient(src io.Reader, shapeVersion int) (*MorphGradient, error)
type NameCharacter ¶
type NameCharacter struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseNameCharacter ¶
func (*NameCharacter) Bytes ¶
func (v *NameCharacter) Bytes() []byte
func (*NameCharacter) Serialize ¶
func (v *NameCharacter) Serialize() ([]byte, error)
func (*NameCharacter) String ¶
func (v *NameCharacter) String() string
func (*NameCharacter) TagCode ¶
func (v *NameCharacter) TagCode() TagCode
type PlaceObject ¶
func ParsePlaceObject ¶
func (*PlaceObject) Bytes ¶
func (v *PlaceObject) Bytes() []byte
func (*PlaceObject) Serialize ¶
func (v *PlaceObject) Serialize() ([]byte, error)
func (*PlaceObject) String ¶
func (v *PlaceObject) String() string
func (*PlaceObject) TagCode ¶
func (v *PlaceObject) TagCode() TagCode
type PlaceObject2 ¶
func ParsePlaceObject2 ¶
func (*PlaceObject2) Bytes ¶
func (v *PlaceObject2) Bytes() []byte
func (*PlaceObject2) Serialize ¶
func (v *PlaceObject2) Serialize() ([]byte, error)
func (*PlaceObject2) String ¶
func (v *PlaceObject2) String() string
func (*PlaceObject2) TagCode ¶
func (v *PlaceObject2) TagCode() TagCode
type PlaceObject3 ¶
func ParsePlaceObject3 ¶
func (*PlaceObject3) Bytes ¶
func (v *PlaceObject3) Bytes() []byte
func (*PlaceObject3) Serialize ¶
func (v *PlaceObject3) Serialize() ([]byte, error)
func (*PlaceObject3) String ¶
func (v *PlaceObject3) String() string
func (*PlaceObject3) TagCode ¶
func (v *PlaceObject3) TagCode() TagCode
type PlaceObject4 ¶
func ParsePlaceObject4 ¶
func (*PlaceObject4) Bytes ¶
func (v *PlaceObject4) Bytes() []byte
func (*PlaceObject4) Serialize ¶
func (v *PlaceObject4) Serialize() ([]byte, error)
func (*PlaceObject4) String ¶
func (v *PlaceObject4) String() string
func (*PlaceObject4) TagCode ¶
func (v *PlaceObject4) TagCode() TagCode
type ProductInfo ¶
func ParseProductInfo ¶
func (*ProductInfo) Bytes ¶
func (v *ProductInfo) Bytes() []byte
func (*ProductInfo) Serialize ¶
func (v *ProductInfo) Serialize() ([]byte, error)
func (*ProductInfo) String ¶
func (v *ProductInfo) String() string
func (*ProductInfo) TagCode ¶
func (v *ProductInfo) TagCode() TagCode
type Protect ¶
func ParseProtect ¶
type Rectangle ¶
type RemoveObject ¶
func ParseRemoveObject ¶
func (*RemoveObject) Bytes ¶
func (v *RemoveObject) Bytes() []byte
func (*RemoveObject) Serialize ¶
func (v *RemoveObject) Serialize() ([]byte, error)
func (*RemoveObject) String ¶
func (v *RemoveObject) String() string
func (*RemoveObject) TagCode ¶
func (v *RemoveObject) TagCode() TagCode
type RemoveObject2 ¶
type RemoveObject2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseRemoveObject2 ¶
func (*RemoveObject2) Bytes ¶
func (v *RemoveObject2) Bytes() []byte
func (*RemoveObject2) Serialize ¶
func (v *RemoveObject2) Serialize() ([]byte, error)
func (*RemoveObject2) String ¶
func (v *RemoveObject2) String() string
func (*RemoveObject2) TagCode ¶
func (v *RemoveObject2) TagCode() TagCode
type ScriptLimits ¶
func ParseScriptLimits ¶
func (*ScriptLimits) Bytes ¶
func (v *ScriptLimits) Bytes() []byte
func (*ScriptLimits) Serialize ¶
func (v *ScriptLimits) Serialize() ([]byte, error)
func (*ScriptLimits) String ¶
func (v *ScriptLimits) String() string
func (*ScriptLimits) TagCode ¶
func (v *ScriptLimits) TagCode() TagCode
type SetBackgroundColor ¶
func ParseSetBackgroundColor ¶
func ParseSetBackgroundColor(src io.Reader, tag *Uint16) (*SetBackgroundColor, error)
func (*SetBackgroundColor) Bytes ¶
func (v *SetBackgroundColor) Bytes() []byte
func (*SetBackgroundColor) Serialize ¶
func (v *SetBackgroundColor) Serialize() ([]byte, error)
func (*SetBackgroundColor) String ¶
func (v *SetBackgroundColor) String() string
func (*SetBackgroundColor) TagCode ¶
func (v *SetBackgroundColor) TagCode() TagCode
type SetTabIndex ¶
func ParseSetTabIndex ¶
func (*SetTabIndex) Bytes ¶
func (v *SetTabIndex) Bytes() []byte
func (*SetTabIndex) Serialize ¶
func (v *SetTabIndex) Serialize() ([]byte, error)
func (*SetTabIndex) String ¶
func (v *SetTabIndex) String() string
func (*SetTabIndex) TagCode ¶
func (v *SetTabIndex) TagCode() TagCode
type Shape ¶
type Shape struct { ID *Uint16 ShapeBounds *Rectangle EdgeBounds *Rectangle Flags *Uint8 ShapeStyles *ShapeStyles ShapeRecords []*ShapeRecord }
type ShapeContext ¶
type ShapeRecord ¶
type ShapeRecord struct { IsEdgeRecordValue *uint64 IsStraightEdgeValue *uint64 NumBitsValue *uint64 IsAxisAlignedValue *uint64 IsVerticalValue *uint64 DeltaXValue *uint64 DeltaYValue *uint64 ControlDeltaXValue *uint64 ControlDeltaYValue *uint64 AnchorDeltaXValue *uint64 AnchorDeltaYValue *uint64 FlagsValue *uint64 StyleChangeData *StyleChangeData }
func ReadShapeRecord ¶
func ReadShapeRecord(src io.Reader, shapeContext *ShapeContext) (*ShapeRecord, error)
type ShapeStyles ¶
type ShapeStyles struct { NumFillStyles *Uint8 NumFillStyles2 *Uint16 FillStyles []*FillStyle NumLineStyles *Uint8 NumLineStyles2 *Uint16 LineStyles []*LineStyle NumBits *Uint8 }
func ReadShapeStyles ¶
func ReadShapeStyles(src io.Reader, shapeVersion int) (*ShapeStyles, error)
type SoundStreamBlock ¶
type SoundStreamBlock struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseSoundStreamBlock ¶
func (*SoundStreamBlock) Bytes ¶
func (v *SoundStreamBlock) Bytes() []byte
func (*SoundStreamBlock) Serialize ¶
func (v *SoundStreamBlock) Serialize() ([]byte, error)
func (*SoundStreamBlock) String ¶
func (v *SoundStreamBlock) String() string
func (*SoundStreamBlock) TagCode ¶
func (v *SoundStreamBlock) TagCode() TagCode
type SoundStreamHead ¶
type SoundStreamHead struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseSoundStreamHead ¶
func (*SoundStreamHead) Bytes ¶
func (v *SoundStreamHead) Bytes() []byte
func (*SoundStreamHead) Serialize ¶
func (v *SoundStreamHead) Serialize() ([]byte, error)
func (*SoundStreamHead) String ¶
func (v *SoundStreamHead) String() string
func (*SoundStreamHead) TagCode ¶
func (v *SoundStreamHead) TagCode() TagCode
type SoundStreamHead2 ¶
type SoundStreamHead2 struct { Tag *Uint16 Extended *Uint32 // contains filtered or unexported fields }
func ParseSoundStreamHead2 ¶
func (*SoundStreamHead2) Bytes ¶
func (v *SoundStreamHead2) Bytes() []byte
func (*SoundStreamHead2) Serialize ¶
func (v *SoundStreamHead2) Serialize() ([]byte, error)
func (*SoundStreamHead2) String ¶
func (v *SoundStreamHead2) String() string
func (*SoundStreamHead2) TagCode ¶
func (v *SoundStreamHead2) TagCode() TagCode
type StartSound ¶
func ParseStartSound ¶
func (*StartSound) Bytes ¶
func (v *StartSound) Bytes() []byte
func (*StartSound) Serialize ¶
func (v *StartSound) Serialize() ([]byte, error)
func (*StartSound) String ¶
func (v *StartSound) String() string
func (*StartSound) TagCode ¶
func (v *StartSound) TagCode() TagCode
type StartSound2 ¶
func ParseStartSound2 ¶
func (*StartSound2) Bytes ¶
func (v *StartSound2) Bytes() []byte
func (*StartSound2) Serialize ¶
func (v *StartSound2) Serialize() ([]byte, error)
func (*StartSound2) String ¶
func (v *StartSound2) String() string
func (*StartSound2) TagCode ¶
func (v *StartSound2) TagCode() TagCode
type StyleChangeData ¶
type SymbolClass ¶
func ParseSymbolClass ¶
func (*SymbolClass) Bytes ¶
func (v *SymbolClass) Bytes() []byte
func (*SymbolClass) Serialize ¶
func (v *SymbolClass) Serialize() ([]byte, error)
func (*SymbolClass) String ¶
func (v *SymbolClass) String() string
func (*SymbolClass) TagCode ¶
func (v *SymbolClass) TagCode() TagCode
type TagCode ¶
type TagCode uint16
const ( EndTagCode TagCode = 0 ShowFrameTagCode TagCode = 1 DefineShapeTagCode TagCode = 2 PlaceObjectTagCode TagCode = 4 RemoveObjectTagCode TagCode = 5 DefineBitsTagCode TagCode = 6 DefineButtonTagCode TagCode = 7 JpegTablesTagCode TagCode = 8 SetBackgroundColorTagCode TagCode = 9 DefineFontTagCode TagCode = 10 DefineTextTagCode TagCode = 11 DoActionTagCode TagCode = 12 DefineFontInfoTagCode TagCode = 13 DefineSoundTagCode TagCode = 14 StartSoundTagCode TagCode = 15 DefineButtonSoundTagCode TagCode = 17 SoundStreamHeadTagCode TagCode = 18 SoundStreamBlockTagCode TagCode = 19 DefineBitsLosslessTagCode TagCode = 20 DefineBitsJpeg2TagCode TagCode = 21 DefineShape2TagCode TagCode = 22 DefineButtonCxformTagCode TagCode = 23 ProtectTagCode TagCode = 24 PlaceObject2TagCode TagCode = 26 RemoveObject2TagCode TagCode = 28 DefineShape3TagCode TagCode = 32 DefineText2TagCode TagCode = 33 DefineButton2TagCode TagCode = 34 DefineBitsJpeg3TagCode TagCode = 35 DefineBitsLossless2TagCode TagCode = 36 DefineEditTextTagCode TagCode = 37 DefineSpriteTagCode TagCode = 39 NameCharacterTagCode TagCode = 40 ProductInfoTagCode TagCode = 41 FrameLabelTagCode TagCode = 43 SoundStreamHead2TagCode TagCode = 45 DefineMorphShapeTagCode TagCode = 46 DefineFont2TagCode TagCode = 48 ExportAssetsTagCode TagCode = 56 ImportAssetsTagCode TagCode = 57 EnableDebuggerTagCode TagCode = 58 DoInitActionTagCode TagCode = 59 DefineVideoStreamTagCode TagCode = 60 VideoFrameTagCode TagCode = 61 DefineFontInfo2TagCode TagCode = 62 DebugIdTagCode TagCode = 63 EnableDebugger2TagCode TagCode = 64 ScriptLimitsTagCode TagCode = 65 SetTabIndexTagCode TagCode = 66 FileAttributesTagCode TagCode = 69 PlaceObject3TagCode TagCode = 70 ImportAssets2TagCode TagCode = 71 DefineFontAlignZonesTagCode TagCode = 73 CsmTextSettingsTagCode TagCode = 74 DefineFont3TagCode TagCode = 75 SymbolClassTagCode TagCode = 76 MetadataTagCode TagCode = 77 DefineScalingGridTagCode TagCode = 78 DoAbcTagCode TagCode = 82 DefineShape4TagCode TagCode = 83 DefineMorphShape2TagCode TagCode = 84 DefineSceneAndFrameLabelDataTagCode TagCode = 86 DefineBinaryDataTagCode TagCode = 87 DefineFontNameTagCode TagCode = 88 StartSound2TagCode TagCode = 89 DefineBitsJpeg4TagCode TagCode = 90 DefineFont4TagCode TagCode = 91 EnableTelemetryTagCode TagCode = 93 PlaceObject4TagCode TagCode = 94 UnknownTagCode TagCode = 0xffff )
type Unknown ¶
func ParseUnknown ¶
type VideoFrame ¶
func ParseVideoFrame ¶
func (*VideoFrame) Bytes ¶
func (v *VideoFrame) Bytes() []byte
func (*VideoFrame) Serialize ¶
func (v *VideoFrame) Serialize() ([]byte, error)
func (*VideoFrame) String ¶
func (v *VideoFrame) String() string
func (*VideoFrame) TagCode ¶
func (v *VideoFrame) TagCode() TagCode
Source Files ¶
- CsmTextSettings.go
- DebugId.go
- DefineBinaryData.go
- DefineBits.go
- DefineBitsJpeg2.go
- DefineBitsJpeg3.go
- DefineBitsJpeg4.go
- DefineBitsLossless.go
- DefineBitsLossless2.go
- DefineButton.go
- DefineButton2.go
- DefineButtonCxform.go
- DefineButtonSound.go
- DefineEditText.go
- DefineFont.go
- DefineFont2.go
- DefineFont3.go
- DefineFont4.go
- DefineFontAlignZones.go
- DefineFontInfo.go
- DefineFontInfo2.go
- DefineFontName.go
- DefineMorphShape.go
- DefineMorphShape2.go
- DefineScalingGrid.go
- DefineSceneAndFrameLabelData.go
- DefineShape.go
- DefineShape2.go
- DefineShape3.go
- DefineShape4.go
- DefineSound.go
- DefineSprite.go
- DefineText.go
- DefineText2.go
- DefineVideoStream.go
- DoAbc.go
- DoAction.go
- DoInitAction.go
- EnableDebugger.go
- EnableDebugger2.go
- EnableTelemetry.go
- End.go
- ExportAssets.go
- FileAttributes.go
- FrameLabel.go
- ImportAssets.go
- ImportAssets2.go
- JpegTables.go
- Metadata.go
- NameCharacter.go
- PlaceObject.go
- PlaceObject2.go
- PlaceObject3.go
- PlaceObject4.go
- ProductInfo.go
- Protect.go
- RemoveObject.go
- RemoveObject2.go
- ScriptLimits.go
- SetBackgroundColor.go
- SetTabIndex.go
- ShowFrame.go
- SoundStreamBlock.go
- SoundStreamHead.go
- SoundStreamHead2.go
- StartSound.go
- StartSound2.go
- SymbolClass.go
- Unknown.go
- VideoFrame.go
- core.go
- read.go
- tagcode.go
- tagcode_string.go
Click to show internal directories.
Click to hide internal directories.