/// <summary> /// The SHAPE structure defines a shape without fill style or line style information. /// </summary> /// <param name="InitialVersion">The version of the Swf file using this object.</param> public Shape(byte InitialVersion) : base(InitialVersion) { this._shapeRecordBuffer = new byte[0]; this._shapeRecords = new List<ShapeRecord>(); this._fillStyles = new FillStyleArray(this._SwfVersion); this._lineStyles = new LineStyleArray(this._SwfVersion); }
/// <summary> /// A style represents an object conaitning fillstyles and linestyles. Its is used by STYLECHANGERECORD and is byte aligned. /// </summary> /// <param name="InitialVersion">The Swf version of the file using this object.</param> public Style( byte InitialVersion ) : base(InitialVersion) { this._fillStyles = new FillStyleArray( this._SwfVersion ); this._lineStyles = new LineStyleArray( this._SwfVersion ); }