mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 01:30:43 +00:00
toSvg is abstract in FILTER
This commit is contained in:
@@ -57,9 +57,7 @@ public abstract class FILTER implements Serializable {
|
||||
|
||||
public abstract double getDeltaY();
|
||||
|
||||
public String toSvg(Document document, Element filtersElement, SVGExporter exporter, String in) {
|
||||
return null;
|
||||
}
|
||||
public abstract String toSvg(Document document, Element filtersElement, SVGExporter exporter, String in);
|
||||
|
||||
protected String dropShadowSvg(
|
||||
double distance,
|
||||
|
||||
@@ -16,6 +16,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.SWFType;
|
||||
@@ -23,6 +24,8 @@ import com.jpexs.helpers.SerializableImage;
|
||||
import java.awt.Color;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
* Bevel filter with gradient instead of single color
|
||||
@@ -139,4 +142,9 @@ public class GRADIENTBEVELFILTER extends FILTER {
|
||||
public double getDeltaY() {
|
||||
return blurY + Math.abs(distance * Math.sin(angle));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toSvg(Document document, Element filtersElement, SVGExporter exporter, String in) {
|
||||
return null; //NOT SUPPORTED
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,6 +16,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.SWFType;
|
||||
@@ -23,6 +24,8 @@ import com.jpexs.helpers.SerializableImage;
|
||||
import java.awt.Color;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
* Glow filter with gradient instead of single color
|
||||
@@ -140,4 +143,9 @@ public class GRADIENTGLOWFILTER extends FILTER {
|
||||
public double getDeltaY() {
|
||||
return blurY + Math.abs(distance * Math.sin(angle));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toSvg(Document document, Element filtersElement, SVGExporter exporter, String in) {
|
||||
return null; //NOT SUPPORTED
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user