Class ChartizateImageManagerImpl


  • public class ChartizateImageManagerImpl
    extends org.jesperancinha.chartizate.ChartizateImageManager<java.lang.Integer,​android.graphics.Typeface,​android.graphics.Bitmap>
    • Method Summary

      Modifier and Type Method Description
      java.lang.Integer createColor​(int alpha, int red, int green, int blue)  
      int getAlpha​(int color)  
      int getBlue​(int color)  
      int getGreen​(int color)  
      int getImageHeight()  
      int getImagePixelRGB​(int x, int y)  
      int getImageWidth()  
      int getRed​(int color)  
      android.graphics.Bitmap saveImage​(org.jesperancinha.chartizate.objects.ChartizateCharacterImg<?>[][] chartizateCharacterImgs, org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface> chartizateFontManager, java.lang.String outputFile, int outputWidth, int outputHeight)  
      • Methods inherited from class org.jesperancinha.chartizate.ChartizateImageManager

        getImageAverageColor, getPartAverageColor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChartizateImageManagerImpl

        public ChartizateImageManagerImpl​(java.io.InputStream inputStream)
    • Method Detail

      • getImageWidth

        public int getImageWidth()
      • getImageHeight

        public int getImageHeight()
      • getImagePixelRGB

        public int getImagePixelRGB​(int x,
                                    int y)
      • createColor

        public java.lang.Integer createColor​(int alpha,
                                             int red,
                                             int green,
                                             int blue)
      • saveImage

        public android.graphics.Bitmap saveImage​(org.jesperancinha.chartizate.objects.ChartizateCharacterImg<?>[][] chartizateCharacterImgs,
                                                 org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface> chartizateFontManager,
                                                 java.lang.String outputFile,
                                                 int outputWidth,
                                                 int outputHeight)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getBlue

        public int getBlue​(int color)
      • getGreen

        public int getGreen​(int color)
      • getRed

        public int getRed​(int color)
      • getAlpha

        public int getAlpha​(int color)