ctor
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ctor.type
Members list
Value members
Concrete methods
Default constructor.
Default constructor.
Constructs a blending mode that does alpha blending.
Attributes
Construct the blend mode given the factors and equation.
Construct the blend mode given the factors and equation.
This constructor uses the same factors and equation for both color and alpha components. It also defaults to the Add equation.
Value parameters
- blendEquation
-
Specifies how to combine the source and destination colors and alpha.
- destinationFactor
-
Specifies how to compute the destination factor for the color and alpha channels.
- sourceFactor
-
Specifies how to compute the source factor for the color and alpha channels.
Attributes
Construct the blend mode given the factors and equation.
Construct the blend mode given the factors and equation.
Value parameters
- alphaBlendEquation
-
Specifies how to combine the source and destination alphas.
- alphaDestinationFactor
-
Specifies how to compute the destination factor.
- alphaSourceFactor
-
Specifies how to compute the source factor.
- colorBlendEquation
-
Specifies how to combine the source and destination colors.
- colorDestinationFactor
-
Specifies how to compute the destination factor for the color channels.
- colorSourceFactor
-
Specifies how to compute the source factor for the color channels.