Package arc.graphics
Class Pixmaps
java.lang.Object
arc.graphics.Pixmaps
Various pixmap utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic Pixmapstatic PixmapApplies alpha bleeding to the target pixmap, but with only one iteration.static PixmapApplies alpha bleeding to the target pixmap.static Pixmapblend(PixmapRegion source, PixmapRegion over, float alpha) static Pixmapstatic booleanempty(int i) static voidstatic PixmaphuePixmap(int width, int height) static Pixmapstatic Pixmapstatic Pixmapnoise(int w, int h) static PixmapOutlines the input pixmap by 1 pixel.static Pixmapoutline(PixmapRegion region, Color color, int radius) static Pixmapstatic Pixmapstatic Pixmapstatic Pixmapstatic Pixmapstatic Pixmapstatic Pixmap
-
Constructor Details
-
Pixmaps
public Pixmaps()
-
-
Method Details
-
noise
-
flip
-
blend
-
median
-
median
-
scale
-
scale
-
scale
-
outline
-
outline
Outlines the input pixmap by 1 pixel. -
zoom
-
resize
-
resize
-
crop
-
rotate
-
empty
public static boolean empty(int i) -
huePixmap
-
blankPixmap
-
bleed
Applies alpha bleeding to the target pixmap, but with only one iteration. This is faster than standard iterative bleeding.- Returns:
- the input pixmap with its pixels modified.
-
antialias
-
bleed
Applies alpha bleeding to the target pixmap.- Returns:
- the input pixmap with its pixels modified.
-