com.badlogic.gdx.graphics.Composite Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backend-teavm Show documentation
Show all versions of backend-teavm Show documentation
Tool to generate libgdx to javascript using teaVM
package com.badlogic.gdx.graphics;
public enum Composite {
/**
* A (B is ignored). Display the source image instead of the destination
* image.
*/
COPY("copy"),
/**
* B atop A. Same as source-atop but using the destination image instead of
* the source image and vice versa.
*/
DESTINATION_ATOP("destination-atop"),
/**
* B in A. Same as source-in but using the destination image instead of the
* source image and vice versa.
*/
DESTINATION_IN("destination-in"),
/**
* B out A. Same as source-out but using the destination image instead of the
* source image and vice versa.
*/
DESTINATION_OUT("destination-out"),
/**
* B over A. Same as source-over but using the destination image instead of
* the source image and vice versa.
*/
DESTINATION_OVER("destination-over"),
/**
* A plus B. Display the sum of the source image and destination image, with
* color values approaching 1 as a limit.
*/
LIGHTER("lighter"),
/**
* A atop B. Display the source image wherever both images are opaque. Display
* the destination image wherever the destination image is opaque but the
* source image is transparent. Display transparency elsewhere.
*/
SOURCE_ATOP("source-atop"),
/**
* A in B. Display the source image wherever both the source image and
* destination image are opaque. Display transparency elsewhere.
*/
SOURCE_IN("source-in"),
/**
* A out B. Display the source image wherever the source image is opaque and
* the destination image is transparent. Display transparency elsewhere.
*/
SOURCE_OUT("source-out"),
/**
* A over B. Display the source image wherever the source image is opaque.
* Display the destination image elsewhere.
*/
SOURCE_OVER("source-over"),
/**
* A xor B. Exclusive OR of the source image and destination image.
*/
XOR("xor");
private final String value;
private Composite(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy