Stay organized with collections
Save and categorize content based on your preferences.
public final class BlendFactor
Defines the factors used in blend operations.
Summary
Constants |
static final int |
The blend factor is the blend constant (Rc, Gc, Bc, Ac).
|
static final int |
The blend factor is (Rd, Gd, Bd, Ad).
|
static final int |
The blend factor is (Ad, Ad, Ad, Ad).
|
static final int |
The blend factor is (1, 1, 1, 1).
|
static final int |
The blend factor is (1-Rc, 1-Gc, 1-Bc, 1-Ac).
|
static final int |
The blend factor is (1-Rd, 1-Gd, 1-Bd, 1-Ad).
|
static final int |
The blend factor is (1-Ad, 1-Ad, 1-Ad, 1-Ad).
|
static final int |
The blend factor is (1-Rs, 1-Gs, 1-Bs, 1-As).
|
static final int |
The blend factor is (1-Rs1, 1-Gs1, 1-Bs1, 1-As1).
|
static final int |
The blend factor is (1-As1, 1-As1, 1-As1, 1-As1).
|
static final int |
The blend factor is (1-As, 1-As, 1-As, 1-As).
|
static final int |
The blend factor is (Rs, Gs, Bs, As).
|
static final int |
The blend factor is the second source color (Rs1, Gs1, Bs1, As1).
|
static final int |
The blend factor is (As1, As1, As1, As1).
|
static final int |
The blend factor is (As, As, As, As).
|
static final int |
The blend factor is (f, f, f, 1) where f = min(As, 1 - Ad).
|
static final int |
Indicates that no blend factor is specified.
|
static final int |
The blend factor is (0, 0, 0, 0).
|
Constants
public static final int Constant = 12
The blend factor is the blend constant (Rc, Gc, Bc, Ac).
public static final int Dst = 7
The blend factor is (Rd, Gd, Bd, Ad).
public static final int DstAlpha = 9
The blend factor is (Ad, Ad, Ad, Ad).
public static final int One = 2
The blend factor is (1, 1, 1, 1).
public static final int OneMinusConstant = 13
The blend factor is (1-Rc, 1-Gc, 1-Bc, 1-Ac).
public static final int OneMinusDst = 8
The blend factor is (1-Rd, 1-Gd, 1-Bd, 1-Ad).
public static final int OneMinusDstAlpha = 10
The blend factor is (1-Ad, 1-Ad, 1-Ad, 1-Ad).
public static final int OneMinusSrc = 4
The blend factor is (1-Rs, 1-Gs, 1-Bs, 1-As).
public static final int OneMinusSrcAlpha = 6
The blend factor is (1-As, 1-As, 1-As, 1-As).
public static final int Src = 3
The blend factor is (Rs, Gs, Bs, As).
public static final int Src1 = 14
The blend factor is the second source color (Rs1, Gs1, Bs1, As1). Requires
public static final int SrcAlpha = 5
The blend factor is (As, As, As, As).
public static final int SrcAlphaSaturated = 11
The blend factor is (f, f, f, 1) where f = min(As, 1 - Ad).
public static final int Undefined = 0
Indicates that no blend factor is specified.
public static final int Zero = 1
The blend factor is (0, 0, 0, 0).
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-10-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-07 UTC."],[],[]]