Lines Matching refs:color
20 * A color filter that can be used to tint the source pixels using a single
21 * color and a specific {@link PorterDuff Porter-Duff composite mode}.
28 * Create a color filter that uses the specified color and Porter-Duff mode.
30 * @param color The ARGB source color used with the specified Porter-Duff mode
37 public PorterDuffColorFilter(int color, PorterDuff.Mode mode) {
38 mColor = color;
44 * Returns the ARGB color used to tint the source pixels when this filter
57 * Specifies the color to tint the source pixels with when this color
60 * @param color An ARGB {@link Color color}
68 public void setColor(int color) {
69 mColor = color;
74 * Returns the Porter-Duff mode used to composite this color filter's
75 * color with the source pixel when this filter is applied.
87 * Specifies the Porter-Duff mode to use when compositing this color
88 * filter's color with the source pixel at draw time.