File ../../LibScriptablePlugins-1.0/LibScriptablePluginBlend-1.0/LibScriptablePluginBlend-1.0.lua

Functions

BLEND (a, b) Blend two colors
BLEND_ADJ (a, b, v) Blend two colors
BLEND_AVG (a, b) Blend two colors
BLEND_LINE (line_blend_mode, fb, n, color) Blend a cell within a buffer with a color
BLEND_MAX (a, b) Blend two colors
BLEND_MIN (a, b) Blend two colors
BLEND_MUL (a, b) Blend two colors
BLEND_SUB (a, b) Blend two colors


Functions

BLEND (a, b)
Blend two colors

Parameters

  • a: First color to blend
  • b: Second color to blend

Usage:

BLEND(a, b)

Return value:

The new color
BLEND_ADJ (a, b, v)
Blend two colors

Parameters

  • a: First color to blend
  • b: Second color to blend
  • v:

Usage:

BLEND_ADJ(a, b)

Return value:

The new color
BLEND_AVG (a, b)
Blend two colors

Parameters

  • a: First color to blend
  • b: Second color to blend

Usage:

BLEND(a, b)

Return value:

The new color
BLEND_LINE (line_blend_mode, fb, n, color)
Blend a cell within a buffer with a color

Parameters

  • line_blend_mode: Which mode to blend by
  • fb: A table of color values
  • n: The position within the table that'll be blended
  • color: The color to blend

Usage:

BLEND_LINE(line_blend_mod, fb, n, color)

Return value:

Nothing
BLEND_MAX (a, b)
Blend two colors

Parameters

  • a: First color to blend
  • b: Second color to blend

Usage:

BLEND_MAX(a, b)

Return value:

The new color
BLEND_MIN (a, b)
Blend two colors

Parameters

  • a: First color to blend
  • b: Second color to blend

Usage:

BLEND_MIN(a, b)

Return value:

The new color
BLEND_MUL (a, b)
Blend two colors

Parameters

  • a: First color to blend
  • b: Second color to blend

Usage:

BLEND_MUL(a, b)

Return value:

The new color
BLEND_SUB (a, b)
Blend two colors

Parameters

  • a: First color to blend
  • b: Second color to blend

Usage:

BLEND_SUB(a, b)

Return value:

The new color

Valid XHTML 1.0!