ColorMask

eu.joaocosta.minart.graphics.BlendMode.ColorMask
final case class ColorMask(mask: Color) extends BlendMode

Copy all pixels except the ones with the same value as the mask

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait BlendMode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete 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

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product