public RectangeRecord(FlashReader input) { int maxBitCount = input.ReadUB(5); X = input.ReadSB(maxBitCount); Width = (input.ReadSB(maxBitCount) / 20); Y = input.ReadSB(maxBitCount); Height = (input.ReadSB(maxBitCount) / 20); }
public RectangleRecord(FlashReader reader) { int bits = reader.ReadUB(5); X = reader.ReadSB(bits); TwipsWidth = reader.ReadSB(bits); Width = (TwipsWidth / 20); Y = reader.ReadSB(bits); TwipsHeight = reader.ReadSB(bits); Height = (TwipsHeight / 20); }