MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / tint

Method tint

src/com/cloudream/ishow/algorithm/Effect.java:172–175  ·  view source on GitHub ↗

A tint is produced by "lightening" a hue or "adding white", to tint: R' = R + (255 - R) tint_factor G' = G + (255 - G) tint_factor B' = B + (255 - B) tint_factor @param bitmap @param color @param amount

(Bitmap bitmap, int color, float amount)

Source from the content-addressed store, hash-verified

170 * @param amount
171 */
172 public static Bitmap tint(Bitmap bitmap, int color, float amount)
173 {
174 return tone(bitmap, Color.WHITE, amount);
175 }
176
177/*
178 int width = 640, height = 640;

Callers 1

blendLipMethod · 0.95

Calls 1

toneMethod · 0.95

Tested by

no test coverage detected