mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 12:04:35 +00:00
Fixed Generic tag editor - brackets display
This commit is contained in:
@@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash.types.filters;
|
||||
import com.jpexs.decompiler.flash.exporters.commonshape.SVGExporter;
|
||||
import com.jpexs.decompiler.flash.types.BasicType;
|
||||
import com.jpexs.decompiler.flash.types.RGBA;
|
||||
import com.jpexs.decompiler.flash.types.annotations.SWFArray;
|
||||
import com.jpexs.decompiler.flash.types.annotations.SWFType;
|
||||
import com.jpexs.helpers.SerializableImage;
|
||||
import java.awt.Color;
|
||||
@@ -37,7 +38,7 @@ public class GRADIENTBEVELFILTER extends FILTER {
|
||||
/**
|
||||
* Gradient colors
|
||||
*/
|
||||
@SWFType(countField = "numColors")
|
||||
@SWFArray(value = "color", countField = "numColors")
|
||||
public RGBA[] gradientColors = new RGBA[] {
|
||||
new RGBA(Color.WHITE),
|
||||
new RGBA(255, 0, 0, 0),
|
||||
@@ -47,7 +48,8 @@ public class GRADIENTBEVELFILTER extends FILTER {
|
||||
/**
|
||||
* Gradient ratios
|
||||
*/
|
||||
@SWFType(value = BasicType.UI8, countField = "numColors")
|
||||
@SWFType(value = BasicType.UI8)
|
||||
@SWFArray(value = "ratio", countField = "numColors")
|
||||
public int[] gradientRatio = new int[] {
|
||||
0, 128, 255
|
||||
};
|
||||
|
||||
@@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash.types.filters;
|
||||
import com.jpexs.decompiler.flash.exporters.commonshape.SVGExporter;
|
||||
import com.jpexs.decompiler.flash.types.BasicType;
|
||||
import com.jpexs.decompiler.flash.types.RGBA;
|
||||
import com.jpexs.decompiler.flash.types.annotations.SWFArray;
|
||||
import com.jpexs.decompiler.flash.types.annotations.SWFType;
|
||||
import com.jpexs.helpers.SerializableImage;
|
||||
import java.awt.Color;
|
||||
@@ -37,7 +38,7 @@ public class GRADIENTGLOWFILTER extends FILTER {
|
||||
/**
|
||||
* Gradient colors
|
||||
*/
|
||||
@SWFType(countField = "numColors")
|
||||
@SWFArray(value = "color", countField = "numColors")
|
||||
public RGBA[] gradientColors = new RGBA[] {
|
||||
new RGBA(255, 255, 255, 0),
|
||||
new RGBA(Color.BLACK)
|
||||
@@ -46,7 +47,8 @@ public class GRADIENTGLOWFILTER extends FILTER {
|
||||
/**
|
||||
* Gradient ratios
|
||||
*/
|
||||
@SWFType(value = BasicType.UI8, countField = "numColors")
|
||||
@SWFType(value = BasicType.UI8)
|
||||
@SWFArray(value = "ratio", countField = "numColors")
|
||||
public int[] gradientRatio = new int[] {
|
||||
0, 255
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user