mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 18:46:12 +00:00
cleanup
This commit is contained in:
@@ -54,17 +54,12 @@ import com.jpexs.decompiler.flash.abc.usages.MethodParamsMultinameUsage;
|
||||
import com.jpexs.decompiler.flash.abc.usages.MethodReturnTypeMultinameUsage;
|
||||
import com.jpexs.decompiler.flash.abc.usages.MultinameUsage;
|
||||
import com.jpexs.decompiler.flash.abc.usages.TypeNameMultinameUsage;
|
||||
import com.jpexs.decompiler.flash.configuration.Configuration;
|
||||
import com.jpexs.decompiler.flash.exporters.modes.ScriptExportMode;
|
||||
import com.jpexs.decompiler.flash.helpers.GraphTextWriter;
|
||||
import com.jpexs.decompiler.flash.helpers.HilightedTextWriter;
|
||||
import com.jpexs.decompiler.flash.helpers.SWFDecompilerPlugin;
|
||||
import com.jpexs.decompiler.flash.helpers.collections.MyEntry;
|
||||
import com.jpexs.decompiler.flash.tags.ABCContainerTag;
|
||||
import com.jpexs.decompiler.flash.tags.SymbolClassTag;
|
||||
import com.jpexs.decompiler.flash.tags.Tag;
|
||||
import com.jpexs.decompiler.graph.CompilationException;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import com.jpexs.helpers.utf8.Utf8PrintWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
||||
@@ -37,6 +37,7 @@ import java.awt.LinearGradientPaint;
|
||||
import java.awt.MultipleGradientPaint;
|
||||
import java.awt.Paint;
|
||||
import java.awt.RadialGradientPaint;
|
||||
import java.awt.Shape;
|
||||
import java.awt.Stroke;
|
||||
import java.awt.TexturePaint;
|
||||
import java.awt.geom.AffineTransform;
|
||||
@@ -44,7 +45,6 @@ import java.awt.geom.GeneralPath;
|
||||
import java.awt.geom.NoninvertibleTransformException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.awt.Shape;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -77,17 +77,17 @@ public class BitmapExporter extends ShapeExporterBase {
|
||||
/**
|
||||
* the AffineTransform used to transform the shape before stroking.
|
||||
*/
|
||||
private AffineTransform transform;
|
||||
private final AffineTransform transform;
|
||||
/**
|
||||
* The inverse of {@link #transform}, used to transform back after
|
||||
* stroking.
|
||||
*/
|
||||
private AffineTransform inverse;
|
||||
private final AffineTransform inverse;
|
||||
|
||||
/**
|
||||
* Our base stroke.
|
||||
*/
|
||||
private Stroke stroke;
|
||||
private final Stroke stroke;
|
||||
|
||||
/**
|
||||
* Creates a TransformedStroke based on another Stroke and an
|
||||
@@ -106,7 +106,8 @@ public class BitmapExporter extends ShapeExporterBase {
|
||||
* This outline is distorted by our AffineTransform relative to the
|
||||
* outline which would be given by the base stroke, but only in terms of
|
||||
* scaling (i.e. thickness of the lines), as translation and rotation
|
||||
* are undone after the stroking.
|
||||
* are undone after the stro @Override
|
||||
king.
|
||||
*/
|
||||
public Shape createStrokedShape(Shape s) {
|
||||
Shape sTrans = transform.createTransformedShape(s);
|
||||
|
||||
@@ -18,8 +18,6 @@ package com.jpexs.decompiler.flash.types;
|
||||
|
||||
import com.jpexs.decompiler.flash.types.annotations.Internal;
|
||||
import com.jpexs.decompiler.flash.types.annotations.SWFType;
|
||||
import java.awt.Color;
|
||||
import java.awt.color.ColorSpace;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user