Skip to content

Commit

Permalink
deploy: ac8f8c4
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoBaSs84 committed Jul 27, 2024
1 parent 164117c commit 93be226
Show file tree
Hide file tree
Showing 4 changed files with 470 additions and 8 deletions.
166 changes: 166 additions & 0 deletions api/BB84.Extensions.ColorExtensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,50 @@ <h4 class="section">Returns</h4>



<a id="BB84_Extensions_ColorExtensions_FromArgbByteArray_" data-uid="BB84.Extensions.ColorExtensions.FromArgbByteArray*"></a>

<h3 id="BB84_Extensions_ColorExtensions_FromArgbByteArray_System_Byte___" data-uid="BB84.Extensions.ColorExtensions.FromArgbByteArray(System.Byte[])">
FromArgbByteArray(byte[])
<a class="header-action link-secondary" title="View source" href="https://github.com/BoBoBaSs84/BB84.Extensions/blob/main/src/BB84.Extensions/ColorExtensions.FromArgbByteArray.cs/#L13"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Converts to provided four byte <code class="paramref">value</code> into 32-bit color.</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Color FromArgbByteArray(this byte[] value)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</dt>
<dd><p>The four byte array to convert.</p>
</dd>
</dl>

<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></dt>
<dd><p>The 32-bit color.</p>
</dd>
</dl>








<h4 class="section">Exceptions</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></dt>
<dd></dd>
</dl>



<a id="BB84_Extensions_ColorExtensions_FromRGBHexString_" data-uid="BB84.Extensions.ColorExtensions.FromRGBHexString*"></a>

<h3 id="BB84_Extensions_ColorExtensions_FromRGBHexString_System_String_" data-uid="BB84.Extensions.ColorExtensions.FromRGBHexString(System.String)">
Expand Down Expand Up @@ -227,6 +271,50 @@ <h4 class="section">Returns</h4>



<a id="BB84_Extensions_ColorExtensions_FromRgbByteArray_" data-uid="BB84.Extensions.ColorExtensions.FromRgbByteArray*"></a>

<h3 id="BB84_Extensions_ColorExtensions_FromRgbByteArray_System_Byte___" data-uid="BB84.Extensions.ColorExtensions.FromRgbByteArray(System.Byte[])">
FromRgbByteArray(byte[])
<a class="header-action link-secondary" title="View source" href="https://github.com/BoBoBaSs84/BB84.Extensions/blob/main/src/BB84.Extensions/ColorExtensions.FromRgbByteArray.cs/#L13"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Converts to provided three byte <code class="paramref">value</code> into 24-bit color.</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Color FromRgbByteArray(this byte[] value)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</dt>
<dd><p>The three byte array to convert.</p>
</dd>
</dl>

<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></dt>
<dd><p>The 24-bit color.</p>
</dd>
</dl>








<h4 class="section">Exceptions</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></dt>
<dd></dd>
</dl>



<a id="BB84_Extensions_ColorExtensions_ToARGBHexString_" data-uid="BB84.Extensions.ColorExtensions.ToARGBHexString*"></a>

<h3 id="BB84_Extensions_ColorExtensions_ToARGBHexString_System_Drawing_Color_" data-uid="BB84.Extensions.ColorExtensions.ToARGBHexString(System.Drawing.Color)">
Expand Down Expand Up @@ -266,6 +354,45 @@ <h4 class="section">Returns</h4>



<a id="BB84_Extensions_ColorExtensions_ToArgbByteArray_" data-uid="BB84.Extensions.ColorExtensions.ToArgbByteArray*"></a>

<h3 id="BB84_Extensions_ColorExtensions_ToArgbByteArray_System_Drawing_Color_" data-uid="BB84.Extensions.ColorExtensions.ToArgbByteArray(System.Drawing.Color)">
ToArgbByteArray(Color)
<a class="header-action link-secondary" title="View source" href="https://github.com/BoBoBaSs84/BB84.Extensions/blob/main/src/BB84.Extensions/ColorExtensions.ToArgbByteArray.cs/#L12"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Converts to provided <code class="paramref">color</code> into a four byte array.</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static byte[] ToArgbByteArray(this Color color)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>color</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></dt>
<dd><p>The color to convert.</p>
</dd>
</dl>

<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</dt>
<dd><p>The four byte array.</p>
</dd>
</dl>











<a id="BB84_Extensions_ColorExtensions_ToRGBHexString_" data-uid="BB84.Extensions.ColorExtensions.ToRGBHexString*"></a>

<h3 id="BB84_Extensions_ColorExtensions_ToRGBHexString_System_Drawing_Color_" data-uid="BB84.Extensions.ColorExtensions.ToRGBHexString(System.Drawing.Color)">
Expand Down Expand Up @@ -305,6 +432,45 @@ <h4 class="section">Returns</h4>



<a id="BB84_Extensions_ColorExtensions_ToRgbByteArray_" data-uid="BB84.Extensions.ColorExtensions.ToRgbByteArray*"></a>

<h3 id="BB84_Extensions_ColorExtensions_ToRgbByteArray_System_Drawing_Color_" data-uid="BB84.Extensions.ColorExtensions.ToRgbByteArray(System.Drawing.Color)">
ToRgbByteArray(Color)
<a class="header-action link-secondary" title="View source" href="https://github.com/BoBoBaSs84/BB84.Extensions/blob/main/src/BB84.Extensions/ColorExtensions.ToRgbByteArray.cs/#L12"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Converts to provided <code class="paramref">color</code> into a three byte array.</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static byte[] ToRgbByteArray(this Color color)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>color</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></dt>
<dd><p>The color to convert.</p>
</dd>
</dl>

<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</dt>
<dd><p>The three byte array.</p>
</dd>
</dl>












</article>

Expand Down
Loading

0 comments on commit 93be226

Please sign in to comment.