Skip to main content

Solid Color Brush Blend Effects

SolidColorBrushBlend

A Solid Color Node is used to display a colored rectangle. When creating a SolidColorNode by clicking the "magnifyingglass"-icon, this is a Node2D with a SolidColorBrushBlend effect on it.

Color

drawing-4-1677553543.png

The color can be chosen in the “Color Palette” dialog where you can also define and save the custom colors you need for your project. The default blending color after applying this effect is white.

drawing-5-1760705174.png

Size

This property defines the horizontal and vertical size of the SolidColorNode in pixels.

SolidColorBrushColorBlend

A SolidColorBrushColorBlend effect adds a color effect to the existing SolidColorBrushBlend effect. It multiplies the FillColor with the Color. This effect can be useful when it comes to reusing ColorEffects out of an effect, to multiply a color with the actual color to blit; especially in cases where the original color should be preserved, but should be changed for certain effects.

drawing-4-1677553594.png

Filter

For more details please see chapter Filter of the "Basic Effect Properties" page.

FillColor

The FillColor is the solid color for this effect.

Size

This property defines the horizontal and vertical size of the Node in pixels.

Color

The SolidColorBrushColorBlend's Color property defines the constant color for modulating all input color channels (RGBA).

Blending

There are several parameters that can be edited to adjust the color blending:

  • ColorBlendFactorSrc
  • ColorBlendFactorDst
  • ColorBlendOperation
  • AlphaBlendFactorSrc
  • AlphaBlendFactorDst
  • AlphaBlendOperation

BlendFactor
The BlendFactor properties may be configured to have one of the following values:

  • Zero
  • One
  • SourceColor
  • InverseSourceColor
  • SourceAlpha
  • InverseSourceAlpha
  • DestColor
  • InverseDestColor
  • DestAlpha
  • InverseDestAlpha

BlendOperation
The BlendOperation properties may be configured to have one of the following values:

  • Add
  • Subtract
  • ReverseSubtract
  • BitwiseAnd

For more details about blending please refer to chapter Blending.

SolidColorBrushHslBlend

This effect is similar to the SolidColorBrushBlend, but it has additional properties to be defined. Using the properties hue, saturation and lightness, a color correction can be applied. Additional information about hue, saturation and lightness properties can be found in chapter BitmapBrushHslBlend .