• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2021 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 package org.skia.androidkit;
9 
10 public enum BlendMode {
11     CLEAR(0),
12     SRC(1),
13     DST(2),
14     SRC_OVER(3),
15     DST_OVER(4),
16     SRC_IN(5),
17     DST_IN(6),
18     SRC_OUT(7),
19     DST_OUT(8),
20     SRC_ATOP(9),
21     DST_ATOP(10),
22     XOR(11),
23     PLUS(12),
24     MODULATE(13),
25     SCREEN(14),
26     OVERLAY(15),
27     DARKEN(16),
28     LIGHTEN(17),
29     COLOR_DODGE(18),
30     COLOR_BURN(19),
31     HARD_LIGHT(20),
32     SOFT_LIGHT(21),
33     DIFFERENCE(22),
34     EXCLUSION(23),
35     MULTIPLY(24),
36     HUE(25),
37     SATURATION(26),
38     COLOR(27),
39     LUMINOSITY(28);
40 
BlendMode(int nativeInt)41     BlendMode(int nativeInt) {
42         this.nativeInt = nativeInt;
43     }
44     final int nativeInt;
45 }
46