BlendMode

eu.joaocosta.minart.graphics.BlendMode
See theBlendMode companion object
trait BlendMode

Blend strategy to be used to combine two colors

Note that while this trait is unsealed, backends can provide opimized implementations for the default blend modes. As such, those should always be prefered to custom ones.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AlphaAdd.type
class AlphaTest
class ColorMask
object Copy.type

Members list

Value members

Abstract methods

def blend(src: => Color, dst: => Color): Color

Blends two colors

Blends two colors

Value parameters

dst

the color to blend into

src

the color to overlay

Attributes