public class RemoteBlendMode internal constructor(internal val value: Int)
Blend mode algorithms used to determine how source and destination pixels are combined.
Functions
toString
override fun toString(): String
Members
Companion
public companion object
Properties
Clear
public val Clear: RemoteBlendMode = RemoteBlendMode(0)
Drop both the source and destination images, leaving nothing.
Src
public val Src: RemoteBlendMode = RemoteBlendMode(1)
Drop the destination image, only paint the source image.
Dst
public val Dst: RemoteBlendMode = RemoteBlendMode(2)
Drop the source image, only paint the destination image.
SrcOver
public val SrcOver: RemoteBlendMode = RemoteBlendMode(3)
Composite the source image over the destination image.
DstOver
public val DstOver: RemoteBlendMode = RemoteBlendMode(4)
Composite the source image under the destination image.
SrcIn
public val SrcIn: RemoteBlendMode = RemoteBlendMode(5)
Show the source image, but only where it overlaps the destination image.
DstIn
public val DstIn: RemoteBlendMode = RemoteBlendMode(6)
Show the destination image, but only where it overlaps the source image.
SrcOut
public val SrcOut: RemoteBlendMode = RemoteBlendMode(7)
Show the source image, but only where it does not overlap the destination image.
DstOut
public val DstOut: RemoteBlendMode = RemoteBlendMode(8)
Show the destination image, but only where it does not overlap the source image.
SrcAtop
public val SrcAtop: RemoteBlendMode = RemoteBlendMode(9)
Composite the source image over the destination image, only where it overlaps the destination.
DstAtop
public val DstAtop: RemoteBlendMode = RemoteBlendMode(10)
Composite the destination image over the source image, only where it overlaps the source.
Xor
public val Xor: RemoteBlendMode = RemoteBlendMode(11)
Apply a bitwise XOR operator to the source and destination images.
Plus
public val Plus: RemoteBlendMode = RemoteBlendMode(12)
Sum the components of the source and destination images.
Modulate
public val Modulate: RemoteBlendMode = RemoteBlendMode(13)
Multiply the color components of the source and destination images.
Screen
public val Screen: RemoteBlendMode = RemoteBlendMode(14)
Multiply the inverse components of the source and destination images, and invert the result.
Overlay
public val Overlay: RemoteBlendMode = RemoteBlendMode(15)
Multiply the components of the source and destination images after adjusting them to favor the destination.
Darken
public val Darken: RemoteBlendMode = RemoteBlendMode(16)
Composite the source and destination image by choosing the lowest value from each color channel.
Lighten
public val Lighten: RemoteBlendMode = RemoteBlendMode(17)
Composite the source and destination image by choosing the highest value from each color channel.
ColorDodge
public val ColorDodge: RemoteBlendMode = RemoteBlendMode(18)
Divide the destination by the inverse of the source.
ColorBurn
public val ColorBurn: RemoteBlendMode = RemoteBlendMode(19)
Divide the inverse of the destination by the source, and invert the result.
Hardlight
public val Hardlight: RemoteBlendMode = RemoteBlendMode(20)
Multiply the components of the source and destination images after adjusting them to favor the source.
Softlight
public val Softlight: RemoteBlendMode = RemoteBlendMode(21)
Use ColorDodge for source values below 0.5 and ColorBurn for source values above 0.5.
Difference
public val Difference: RemoteBlendMode = RemoteBlendMode(22)
Subtract the smaller value from the bigger value for each channel.
Exclusion
public val Exclusion: RemoteBlendMode = RemoteBlendMode(23)
Subtract double the product of the two images from the sum of the two images.
Multiply
public val Multiply: RemoteBlendMode = RemoteBlendMode(24)
Multiply the components of the source and destination images, including the alpha channel.
Hue
public val Hue: RemoteBlendMode = RemoteBlendMode(25)
Take the hue of the source image, and the saturation and luminosity of the destination image.
Saturation
public val Saturation: RemoteBlendMode = RemoteBlendMode(26)
Take the saturation of the source image, and the hue and luminosity of the destination image.
Color
public val Color: RemoteBlendMode = RemoteBlendMode(27)
Take the hue and saturation of the source image, and the luminosity of the destination image.
Luminosity
public val Luminosity: RemoteBlendMode = RemoteBlendMode(28)
Take the luminosity of the source image, and the hue and saturation of the destination image.