Class Stamp
java.lang.Object
org.openpatch.scratch.internal.Stamp
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionA map tile, possibly flipped the way Tiled stores it.Stamp(Image image, double degrees, double x, double y, RotationStyle style) Stamp(Image image, double degrees, double x, double y, RotationStyle style, double centerX, double centerY) -
Method Summary
-
Field Details
-
image
-
-
Constructor Details
-
Stamp
-
Stamp
public Stamp(Image image, double x, double y, boolean horizontal, boolean vertical, boolean diagonal) A map tile, possibly flipped the way Tiled stores it.- Parameters:
image- the tilex- the x positiony- the y positionhorizontal- mirrored left/rightvertical- mirrored up/downdiagonal- mirrored across the diagonal (with the others: turned)
-
Stamp
-
Stamp
public Stamp(Image image, double degrees, double x, double y, RotationStyle style, double centerX, double centerY)
-
-
Method Details
-
draw
public void draw(processing.core.PGraphics g)
-