Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32.Blend.Modes🞂TGraphics32SeparableBlender🞂BlendComponentMethod

TGraphics32SeparableBlender.BlendComponent

Blends a single foreground channel F and background channel B.

Declaration ​

pascal
class function BlendComponent(F, B: Cardinal): Cardinal; virtual; abstract;

Parameters ​

ParameterTypeDescription
FCardinalForeground single channel value (0..255).
BCardinalBackground single channel value (0..255).

Returns ​

TypeDescription
CardinalThe blended channel result (0..255).

Description ​

BlendComponent is the abstract single-channel blend function implemented by subclasses to define specific separable blend mode math (such as Multiply, Screen, Overlay, Dodge, Burn, etc.).