mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 12:25:11 +00:00
Shape tags Tag suffix
This commit is contained in:
@@ -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();
|
||||
@@ -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();
|
||||
@@ -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();
|
||||
Reference in New Issue
Block a user