Class

RemoteBlendMode

Blend mode algorithms used to determine how source and destination pixels are combined.

Source set: JvmAndAndroid
public class RemoteBlendMode internal constructor(internal val value: Int)

Blend mode algorithms used to determine how source and destination pixels are combined.

Functions

toString

Source set: JvmAndAndroid
override fun toString(): String

Members

Companion

Source set: JvmAndAndroid
public companion object

Properties

Clear

Source set: JvmAndAndroid
public val Clear: RemoteBlendMode = RemoteBlendMode(0)

Drop both the source and destination images, leaving nothing.

Src

Source set: JvmAndAndroid
public val Src: RemoteBlendMode = RemoteBlendMode(1)

Drop the destination image, only paint the source image.

Dst

Source set: JvmAndAndroid
public val Dst: RemoteBlendMode = RemoteBlendMode(2)

Drop the source image, only paint the destination image.

SrcOver

Source set: JvmAndAndroid
public val SrcOver: RemoteBlendMode = RemoteBlendMode(3)

Composite the source image over the destination image.

DstOver

Source set: JvmAndAndroid
public val DstOver: RemoteBlendMode = RemoteBlendMode(4)

Composite the source image under the destination image.

SrcIn

Source set: JvmAndAndroid
public val SrcIn: RemoteBlendMode = RemoteBlendMode(5)

Show the source image, but only where it overlaps the destination image.

DstIn

Source set: JvmAndAndroid
public val DstIn: RemoteBlendMode = RemoteBlendMode(6)

Show the destination image, but only where it overlaps the source image.

SrcOut

Source set: JvmAndAndroid
public val SrcOut: RemoteBlendMode = RemoteBlendMode(7)

Show the source image, but only where it does not overlap the destination image.

DstOut

Source set: JvmAndAndroid
public val DstOut: RemoteBlendMode = RemoteBlendMode(8)

Show the destination image, but only where it does not overlap the source image.

SrcAtop

Source set: JvmAndAndroid
public val SrcAtop: RemoteBlendMode = RemoteBlendMode(9)

Composite the source image over the destination image, only where it overlaps the destination.

DstAtop

Source set: JvmAndAndroid
public val DstAtop: RemoteBlendMode = RemoteBlendMode(10)

Composite the destination image over the source image, only where it overlaps the source.

Xor

Source set: JvmAndAndroid
public val Xor: RemoteBlendMode = RemoteBlendMode(11)

Apply a bitwise XOR operator to the source and destination images.

Plus

Source set: JvmAndAndroid
public val Plus: RemoteBlendMode = RemoteBlendMode(12)

Sum the components of the source and destination images.

Modulate

Source set: JvmAndAndroid
public val Modulate: RemoteBlendMode = RemoteBlendMode(13)

Multiply the color components of the source and destination images.

Screen

Source set: JvmAndAndroid
public val Screen: RemoteBlendMode = RemoteBlendMode(14)

Multiply the inverse components of the source and destination images, and invert the result.

Overlay

Source set: JvmAndAndroid
public val Overlay: RemoteBlendMode = RemoteBlendMode(15)

Multiply the components of the source and destination images after adjusting them to favor the destination.

Darken

Source set: JvmAndAndroid
public val Darken: RemoteBlendMode = RemoteBlendMode(16)

Composite the source and destination image by choosing the lowest value from each color channel.

Lighten

Source set: JvmAndAndroid
public val Lighten: RemoteBlendMode = RemoteBlendMode(17)

Composite the source and destination image by choosing the highest value from each color channel.

ColorDodge

Source set: JvmAndAndroid
public val ColorDodge: RemoteBlendMode = RemoteBlendMode(18)

Divide the destination by the inverse of the source.

ColorBurn

Source set: JvmAndAndroid
public val ColorBurn: RemoteBlendMode = RemoteBlendMode(19)

Divide the inverse of the destination by the source, and invert the result.

Hardlight

Source set: JvmAndAndroid
public val Hardlight: RemoteBlendMode = RemoteBlendMode(20)

Multiply the components of the source and destination images after adjusting them to favor the source.

Softlight

Source set: JvmAndAndroid
public val Softlight: RemoteBlendMode = RemoteBlendMode(21)

Use ColorDodge for source values below 0.5 and ColorBurn for source values above 0.5.

Difference

Source set: JvmAndAndroid
public val Difference: RemoteBlendMode = RemoteBlendMode(22)

Subtract the smaller value from the bigger value for each channel.

Exclusion

Source set: JvmAndAndroid
public val Exclusion: RemoteBlendMode = RemoteBlendMode(23)

Subtract double the product of the two images from the sum of the two images.

Multiply

Source set: JvmAndAndroid
public val Multiply: RemoteBlendMode = RemoteBlendMode(24)

Multiply the components of the source and destination images, including the alpha channel.

Hue

Source set: JvmAndAndroid
public val Hue: RemoteBlendMode = RemoteBlendMode(25)

Take the hue of the source image, and the saturation and luminosity of the destination image.

Saturation

Source set: JvmAndAndroid
public val Saturation: RemoteBlendMode = RemoteBlendMode(26)

Take the saturation of the source image, and the hue and luminosity of the destination image.

Color

Source set: JvmAndAndroid
public val Color: RemoteBlendMode = RemoteBlendMode(27)

Take the hue and saturation of the source image, and the luminosity of the destination image.

Luminosity

Source set: JvmAndAndroid
public val Luminosity: RemoteBlendMode = RemoteBlendMode(28)

Take the luminosity of the source image, and the hue and saturation of the destination image.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: