Shape tags Tag suffix

This commit is contained in:
Jindra Petk
2013-01-04 06:25:18 +01:00
parent 8095ce1a66
commit 77ccbbe49a
3 changed files with 6 additions and 6 deletions

View File

@@ -22,11 +22,11 @@ import com.jpexs.asdec.types.SHAPEWITHSTYLE;
import java.io.ByteArrayInputStream;
import java.io.IOException;
public class DefineShape2 extends Tag {
public class DefineShape2Tag extends Tag {
public int shapeId;
public RECT shapeBounds;
public SHAPEWITHSTYLE shapes;
public DefineShape2(byte[] data, int version, long pos) throws IOException {
public DefineShape2Tag(byte[] data, int version, long pos) throws IOException {
super(22, data, pos);
SWFInputStream sis = new SWFInputStream(new ByteArrayInputStream(data), version);
shapeId=sis.readUI16();

View File

@@ -22,13 +22,13 @@ import com.jpexs.asdec.types.SHAPEWITHSTYLE;
import java.io.ByteArrayInputStream;
import java.io.IOException;
public class DefineShape3 extends Tag {
public class DefineShape3Tag extends Tag {
public int shapeId;
public RECT shapeBounds;
public SHAPEWITHSTYLE shapes;
public DefineShape3(byte[] data, int version, long pos) throws IOException {
public DefineShape3Tag(byte[] data, int version, long pos) throws IOException {
super(32, data, pos);
SWFInputStream sis = new SWFInputStream(new ByteArrayInputStream(data), version);
shapeId = sis.readUI16();

View File

@@ -22,7 +22,7 @@ import com.jpexs.asdec.types.SHAPEWITHSTYLE;
import java.io.ByteArrayInputStream;
import java.io.IOException;
public class DefineShape4 extends Tag {
public class DefineShape4Tag extends Tag {
public int shapeId;
public RECT shapeBounds;
@@ -32,7 +32,7 @@ public class DefineShape4 extends Tag {
public boolean usesScalingStrokes;
public SHAPEWITHSTYLE shapes;
public DefineShape4(byte[] data, int version, long pos) throws IOException {
public DefineShape4Tag(byte[] data, int version, long pos) throws IOException {
super(83, data, pos);
SWFInputStream sis = new SWFInputStream(new ByteArrayInputStream(data), version);
shapeId=sis.readUI16();