Lines Matching refs:color
23 * A color filter that can be used to tint the source pixels using a single
24 * color and a specific {@link PorterDuff Porter-Duff composite mode}.
31 * Create a color filter that uses the specified color and Porter-Duff mode.
33 * @param color The ARGB source color used with the specified Porter-Duff mode
40 public PorterDuffColorFilter(@ColorInt int color, @NonNull PorterDuff.Mode mode) {
41 mColor = color;
47 * Returns the ARGB color used to tint the source pixels when this filter
60 * Specifies the color to tint the source pixels with when this color
63 * @param color An ARGB {@link Color color}
71 public void setColor(int color) {
72 mColor = color;
77 * Returns the Porter-Duff mode used to composite this color filter's
78 * color with the source pixel when this filter is applied.
90 * Specifies the Porter-Duff mode to use when compositing this color
91 * filter's color with the source pixel at draw time.