equal
deleted
inserted
replaced
24 */ |
24 */ |
25 |
25 |
26 package java.awt; |
26 package java.awt; |
27 |
27 |
28 import java.awt.image.ColorModel; |
28 import java.awt.image.ColorModel; |
|
29 import javax.tools.annotation.GenerateNativeHeader; |
29 import sun.java2d.SunCompositeContext; |
30 import sun.java2d.SunCompositeContext; |
30 |
31 |
31 /** |
32 /** |
32 * The <code>AlphaComposite</code> class implements basic alpha |
33 * The <code>AlphaComposite</code> class implements basic alpha |
33 * compositing rules for combining source and destination colors |
34 * compositing rules for combining source and destination colors |
347 * </ul> |
348 * </ul> |
348 * @see Composite |
349 * @see Composite |
349 * @see CompositeContext |
350 * @see CompositeContext |
350 */ |
351 */ |
351 |
352 |
|
353 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
354 @GenerateNativeHeader |
352 public final class AlphaComposite implements Composite { |
355 public final class AlphaComposite implements Composite { |
353 /** |
356 /** |
354 * Both the color and the alpha of the destination are cleared |
357 * Both the color and the alpha of the destination are cleared |
355 * (Porter-Duff Clear rule). |
358 * (Porter-Duff Clear rule). |
356 * Neither the source nor the destination is used as input. |
359 * Neither the source nor the destination is used as input. |