Class ShadowBitmap

    • Constructor Detail

      • ShadowBitmap

        public ShadowBitmap()
    • Method Detail

      • visualize

        public static String visualize​(Bitmap bitmap)
        Returns a textual representation of the appearance of the object.
        Parameters:
        bitmap - the bitmap to visualize
        Returns:
        Textual representation of the appearance of the object.
      • getCreatedFromBitmap

        public abstract Bitmap getCreatedFromBitmap()
        Reference to original Bitmap from which this Bitmap was created. null if this Bitmap was not copied from another instance.
        Returns:
        Original Bitmap from which this Bitmap was created.
      • getCreatedFromResId

        public abstract int getCreatedFromResId()
        Resource ID from which this Bitmap was created. 0 if this Bitmap was not created from a resource.
        Returns:
        Resource ID from which this Bitmap was created.
      • getCreatedFromPath

        public abstract String getCreatedFromPath()
        Path from which this Bitmap was created. null if this Bitmap was not create from a path.
        Returns:
        Path from which this Bitmap was created.
      • getCreatedFromStream

        public abstract InputStream getCreatedFromStream()
        InputStream from which this Bitmap was created. null if this Bitmap was not created from a stream.
        Returns:
        InputStream from which this Bitmap was created.
      • getCreatedFromBytes

        public abstract byte[] getCreatedFromBytes()
        Bytes from which this Bitmap was created. null if this Bitmap was not created from bytes.
        Returns:
        Bytes from which this Bitmap was created.
      • getCreatedFromY

        public abstract int getCreatedFromY()
        Vertical offset within getCreatedFromBitmap() of this Bitmap's content, or -1.
        Returns:
        Vertical offset within getCreatedFromBitmap() of this Bitmap's content, or -1.
      • getCreatedFromColors

        public abstract int[] getCreatedFromColors()
        Color array from which this Bitmap was created. null if this Bitmap was not created from a color array.
        Returns:
        Color array from which this Bitmap was created.
      • getCreatedFromMatrix

        public abstract Matrix getCreatedFromMatrix()
        Matrix from which this Bitmap's content was transformed, or null.
        Returns:
        Matrix from which this Bitmap's content was transformed, or null.
      • getCreatedFromFilter

        public abstract boolean getCreatedFromFilter()
        true if this Bitmap was created with filtering.
        Returns:
        true if this Bitmap was created with filtering.
      • setMutable

        public abstract void setMutable​(boolean mutable)
      • appendDescription

        public abstract void appendDescription​(String s)
      • getDescription

        public abstract String getDescription()
      • setDescription

        public abstract void setDescription​(String s)