private PlaceObject2Tag readPlaceObject2() throws IOException, MalformedTagException { final PlaceObject2Tag tag = new PlaceObject2Tag(); tag.setHasClipActions(bitStream.readBit()); tag.setHasClipDepth(bitStream.readBit()); tag.setHasName(bitStream.readBit()); tag.setHasRatio(bitStream.readBit()); tag.setHasColorTransform(bitStream.readBit()); tag.setHasMatrix(bitStream.readBit()); tag.setHasCharacter(bitStream.readBit()); tag.setMove(bitStream.readBit()); tag.setDepth(bitStream.readUI16()); if (tag.isHasCharacter()) tag.setCharacter(getTagById(bitStream.readUI16(), tag.getTagType())); if (tag.isHasMatrix()) tag.setMatrix(readMatrix()); if (tag.isHasColorTransform()) tag.setColorTransform(readColorTransformWithAlpha()); if (tag.isHasRatio()) tag.setRatio(bitStream.readUI16()); if (tag.isHasName()) tag.setName(bitStream.readString()); if (tag.isHasClipDepth()) tag.setClipDepth(bitStream.readUI16()); ClipActions clipActions = new ClipActions(); clipActions.data = bitStream.readToBoundary(); tag.setClipActions(clipActions); return tag; }
private PlaceObject2Tag readPlaceObject2() throws IOException, MalformedTagException { final PlaceObject2Tag tag = new PlaceObject2Tag(); tag.setHasClipActions(bitStream.readBit()); tag.setHasClipDepth(bitStream.readBit()); tag.setHasName(bitStream.readBit()); tag.setHasRatio(bitStream.readBit()); tag.setHasColorTransform(bitStream.readBit()); tag.setHasMatrix(bitStream.readBit()); tag.setHasCharacter(bitStream.readBit()); tag.setMove(bitStream.readBit()); tag.setDepth(bitStream.readUI16()); if (tag.isHasCharacter()) tag.setCharacter(getTagById(bitStream.readUI16(), tag.getTagType())); if (tag.isHasMatrix()) tag.setMatrix(readMatrix()); if (tag.isHasColorTransform()) tag.setColorTransform(readColorTransformWithAlpha()); if (tag.isHasRatio()) tag.setRatio(bitStream.readUI16()); if (tag.isHasName()) tag.setName(bitStream.readString()); if (tag.isHasClipDepth()) tag.setClipDepth(bitStream.readUI16()); ClipActions clipActions = new ClipActions(); clipActions.data = bitStream.readToBoundary(); tag.setClipActions(clipActions); return tag; }
tag.setBitmapCache(bitStream.readUI8()); ClipActions clipActions = new ClipActions(); clipActions.data = bitStream.readToBoundary(); tag.setClipActions(clipActions);
tag.setBitmapCache(bitStream.readUI8()); ClipActions clipActions = new ClipActions(); clipActions.data = bitStream.readToBoundary(); tag.setClipActions(clipActions);