APIdia Launch Partner
Top Inners Fields Constructors Methods
com.badlogic.gdx.tools.texturepacker

public Class ColorBleedEffect

extends Object
Class Inheritance
Imports
java.util.NoSuchElementException, java.awt.image.BufferedImage

Authors
Ruben Garat, Ariel Coppes, Nathan Sweet

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final int[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static int
argb(int a, int r, int g, int b)

private static int
blue(int argb)

private void
executeIteration(int[] rgb, ColorBleedEffect.Mask mask, int width, int height)

private static int
getPixelIndex(int width, int x, int y)

private static int
green(int argb)

public BufferedImage
processImage(BufferedImage image, int maxIterations)

private static int
red(int argb)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

offsetsback to summary
private static final int[] offsets

Constructor Detail

ColorBleedEffectback to summary
public ColorBleedEffect()

Method Detail

argbback to summary
private static int argb(int a, int r, int g, int b)
blueback to summary
private static int blue(int argb)
executeIterationback to summary
private void executeIteration(int[] rgb, ColorBleedEffect.Mask mask, int width, int height)
getPixelIndexback to summary
private static int getPixelIndex(int width, int x, int y)
greenback to summary
private static int green(int argb)
processImageback to summary
public BufferedImage processImage(BufferedImage image, int maxIterations)
redback to summary
private static int red(int argb)
com.badlogic.gdx.tools.texturepacker back to summary

private Class ColorBleedEffect.Mask

extends Object
Class Inheritance

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class

Field Summary

Modifier and TypeField and Description
pack-priv final boolean[]
pack-priv final int[]
pack-priv int
pack-priv final int[]
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv
Mask(int[] rgb)

Method Summary

Modifier and TypeMethod and Description
private static int
alpha(int argb)

pack-priv boolean
isBlank(int index)

pack-priv int
removeIndex(int index)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

blankback to summary
pack-priv final boolean[] blank
changingback to summary
pack-priv final int[] changing
changingSizeback to summary
pack-priv int changingSize
pendingback to summary
pack-priv final int[] pending
pendingSizeback to summary
pack-priv int pendingSize

Constructor Detail

Maskback to summary
pack-priv Mask(int[] rgb)

Method Detail

alphaback to summary
private static int alpha(int argb)
isBlankback to summary
pack-priv boolean isBlank(int index)
removeIndexback to summary
pack-priv int removeIndex(int index)
com.badlogic.gdx.tools.texturepacker back to summary

pack-priv Class ColorBleedEffect.Mask.MaskIterator

extends Object
Class Inheritance
  • java.lang.Object
  • com.badlogic.gdx.tools.texturepacker.ColorBleedEffect.Mask.MaskIterator

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
pack-priv void
pack-priv int
next()

pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private int index

Constructor Detail

MaskIteratorback to summary
pack-priv MaskIterator()

Method Detail

hasNextback to summary
pack-priv boolean hasNext()
markAsInProgressback to summary
pack-priv void markAsInProgress()
nextback to summary
pack-priv int next()
resetback to summary
pack-priv void reset()