From 8298ca609f29aff8eb2fc0a9720ad4ab655c921a Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 20 Mar 2016 13:44:05 -0700 Subject: [PATCH] Updated HtmlColor object API (markdown) --- HtmlColor-object-API.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/HtmlColor-object-API.md b/HtmlColor-object-API.md index 661c3e3..954a044 100644 --- a/HtmlColor-object-API.md +++ b/HtmlColor-object-API.md @@ -24,5 +24,12 @@ Construct a HtmlColor that will have its values set in latter operations. CAUTION: The Color member is not initialized and may not be consistent until set. ## Methods -(none) +### static HtmlColor BilinearBlend(HtmlColor c00, HtmlColor c01, HtmlColor c10, HtmlColor c11, float x, float y); +This will blend between four colors by the amount defined by 2d weighting values. +c00 - upper left quadrant color +c01 - upper right quadrant color +c10 - lower left quadrant color +c11 - lower right quadrant color +x - unit value (0.0 - 1.0) that defines the blend progress in horizontal space +y - unit value (0.0 - 1.0) that defines the blend progress in vertical space