View Javadoc
1   /*
2    * Copyright (c) 2002-2025 Gargoyle Software Inc.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * https://www.apache.org/licenses/LICENSE-2.0
8    *
9    * Unless required by applicable law or agreed to in writing, software
10   * distributed under the License is distributed on an "AS IS" BASIS,
11   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   * See the License for the specific language governing permissions and
13   * limitations under the License.
14   */
15  package org.htmlunit.javascript.host.svg;
16  
17  import org.htmlunit.javascript.configuration.JsxClass;
18  import org.htmlunit.javascript.configuration.JsxConstant;
19  import org.htmlunit.javascript.configuration.JsxConstructor;
20  import org.htmlunit.svg.SvgFeBlend;
21  
22  /**
23   * A JavaScript object for {@code SVGFEBlendElement}.
24   *
25   * @author Ahmed Ashour
26   * @author Ronald Brill
27   */
28  @JsxClass(domClass = SvgFeBlend.class)
29  public class SVGFEBlendElement extends SVGElement {
30  
31      /** The constant {@code SVG_FEBLEND_MODE_UNKNOWN}. */
32      @JsxConstant
33      public static final int SVG_FEBLEND_MODE_UNKNOWN = 0;
34      /** The constant {@code SVG_FEBLEND_MODE_NORMAL}. */
35      @JsxConstant
36      public static final int SVG_FEBLEND_MODE_NORMAL = 1;
37      /** The constant {@code SVG_FEBLEND_MODE_MULTIPLY}. */
38      @JsxConstant
39      public static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
40      /** The constant {@code SVG_FEBLEND_MODE_SCREEN}. */
41      @JsxConstant
42      public static final int SVG_FEBLEND_MODE_SCREEN = 3;
43      /** The constant {@code SVG_FEBLEND_MODE_DARKEN}. */
44      @JsxConstant
45      public static final int SVG_FEBLEND_MODE_DARKEN = 4;
46      /** The constant {@code SVG_FEBLEND_MODE_LIGHTEN}. */
47      @JsxConstant
48      public static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
49      /** The constant {@code SVG_FEBLEND_MODE_OVERLAY}. */
50      @JsxConstant
51      public static final int SVG_FEBLEND_MODE_OVERLAY = 6;
52      /** The constant {@code SVG_FEBLEND_MODE_COLOR_DODGE}. */
53      @JsxConstant
54      public static final int SVG_FEBLEND_MODE_COLOR_DODGE = 7;
55      /** The constant {@code SVG_FEBLEND_MODE_COLOR_BURN}. */
56      @JsxConstant
57      public static final int SVG_FEBLEND_MODE_COLOR_BURN = 8;
58      /** The constant {@code SVG_FEBLEND_MODE_HARD_LIGHT}. */
59      @JsxConstant
60      public static final int SVG_FEBLEND_MODE_HARD_LIGHT = 9;
61      /** The constant {@code SVG_FEBLEND_MODE_SOFT_LIGHT}. */
62      @JsxConstant
63      public static final int SVG_FEBLEND_MODE_SOFT_LIGHT = 10;
64      /** The constant {@code SVG_FEBLEND_MODE_DIFFERENCE}. */
65      @JsxConstant
66      public static final int SVG_FEBLEND_MODE_DIFFERENCE = 11;
67      /** The constant {@code SVG_FEBLEND_MODE_EXCLUSION}. */
68      @JsxConstant
69      public static final int SVG_FEBLEND_MODE_EXCLUSION = 12;
70      /** The constant {@code SVG_FEBLEND_MODE_HUE}. */
71      @JsxConstant
72      public static final int SVG_FEBLEND_MODE_HUE = 13;
73      /** The constant {@code SVG_FEBLEND_MODE_SATURATION}. */
74      @JsxConstant
75      public static final int SVG_FEBLEND_MODE_SATURATION = 14;
76      /** The constant {@code SVG_FEBLEND_MODE_COLOR}. */
77      @JsxConstant
78      public static final int SVG_FEBLEND_MODE_COLOR = 15;
79      /** The constant {@code SVG_FEBLEND_MODE_LUMINOSITY}. */
80      @JsxConstant
81      public static final int SVG_FEBLEND_MODE_LUMINOSITY = 16;
82  
83      /**
84       * Creates an instance.
85       */
86      @Override
87      @JsxConstructor
88      public void jsConstructor() {
89          super.jsConstructor();
90      }
91  }