PictureEffectsRaw Xojo Plugin

ReplaceColorEffectRaw.SetColors Method (console safe)

Sets the sourceColor to find and the fillColor.

SetColors(
   sourceColor as EinhugurColors.RGBColor,
   fillColor as EinhugurColors.RGBColor,
   replaceAlpha as Boolean)

Parameters

sourceColor
The color to be found in the bitmap. (Since RGBColor has automatic conversion from Xojo color then it is valid to pass in Xojo color constant here)
fillColor
The fill color. (Since RGBColor has automatic conversion from Xojo color then it is valid to pass in Xojo color constant here)
replaceAlpha
True if alpha value should be replaced with the alpha value from the color, else false.

Remarks

See Also

ReplaceColorEffectRaw Class