Android Paint Color Set restoreCanvasColors(Paint paint)

Here you can find the source of restoreCanvasColors(Paint paint)

Description

restore Canvas Colors

License

Open Source License

Parameter

Parameter Description
paint a parameter

Declaration

public static void restoreCanvasColors(Paint paint) 

Method Source Code

//package com.java2s;

import android.graphics.Paint;

public class Main {
    /**// w ww.  j  ava  2s . c o  m
     * 
     * @param paint
     */
    public static void restoreCanvasColors(Paint paint) {
        paint.setColorFilter(null);
    }
}

Related

  1. invertCanvasColors(Paint paint)