Change convolution filter default values

This commit is contained in:
Jindra Petřík
2023-10-14 22:07:44 +02:00
parent 4711f09b2d
commit ea06ec9ceb

View File

@@ -72,7 +72,7 @@ public class CONVOLUTIONFILTER extends FILTER {
/**
* Default color for pixels outside the image
*/
public RGBA defaultColor = new RGBA(Color.BLACK);
public RGBA defaultColor = new RGBA(0, 0, 0, 0);
@Reserved
@SWFType(value = BasicType.UB, count = 6)
@@ -81,12 +81,12 @@ public class CONVOLUTIONFILTER extends FILTER {
/**
* Clamp mode
*/
public boolean clamp;
public boolean clamp = true;
/**
* Preserve the alpha
*/
public boolean preserveAlpha;
public boolean preserveAlpha = false;
/**
* Constructor