From 1e5ae7cef239b7b3840f95c3c66d1025c57f9adc Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 20 Apr 2023 10:30:58 -0700 Subject: [PATCH] Updated Rgb48Color object API (markdown) --- Rgb48Color-object-API.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Rgb48Color-object-API.md b/Rgb48Color-object-API.md index 25a3c46..4ad94e9 100644 --- a/Rgb48Color-object-API.md +++ b/Rgb48Color-object-API.md @@ -32,6 +32,14 @@ Constructs a Rgb48Color using Red, Green, and Blue color component values. Constructs a Rgb48Color using a single brightness value(0 - 65535). This works well for creating gray tone colors. > * _brightness_ - brightness value where (0) = black, (32767) = gray, (65535) = white +### _explicit_ Rgb48Color(RgbwColor color); +Construct a Rgbw48Color using RgbwColor, converting the R,G,B values and ignoring the W value. Due to the loss of information of the W value, this constructor is marked explicit so it will not automatically be used for conversion. +> * _color_ - a RgbwColor object. + +### _explicit_ Rgb48Color(Rgbw64Color color); +Construct a Rgbw48Color using Rgbw64Color, copying the R,G,B values and ignoring the W value. Due to the loss of information of the W value, this constructor is marked explicit so it will not automatically be used for conversion. +> * _color_ - a Rgbw64Color object. + ### Rgb48Color(RgbColor color); Construct a Rgbw48Color using RgbColor, converting the R,G,B values. > * _color_ - a RgbColor object.