-
-
Notifications
You must be signed in to change notification settings - Fork 5
Colorise
Taiizor edited this page Mar 1, 2023
·
13 revisions
The Colorise
class that provides color blending functionality.
Blends the given color with another color.
- RGB: The first color to blend.
- Other: The second color to blend.
The blended color.
Blends the given color with another color asynchronously.
- RGB: The first color to blend.
- Other: The second color to blend.
A task representing the asynchronous blending operation.
Blends two bytes by taking their average.
- B1: The first byte to blend.
- B2: The second byte to blend.
The blended byte.
Method | Description | Parameters | Return Value |
---|---|---|---|
ToBlend |
Returns a blended color value that is the average of two given colors. |
RGB (ColoriseStruct): The first color to blend. Other (ColoriseStruct): The second color to blend. |
ColoriseStruct: A blended color value that is the average of RGB and Other . |
ToBlendAsync |
Returns a task that asynchronously computes a blended color value that is the average of two given colors. |
RGB (ColoriseStruct): The first color to blend. Other (ColoriseStruct): The second color to blend. |
Task<ColoriseStruct>: A task that returns a blended color value that is the average of RGB and Other . |
Method (private) | Description | Parameters | Return Value |
---|---|---|---|
BlendToAvg |
Computes the average of two byte values. |
B1 (byte): The first byte value to average. B2 (byte): The second byte value to average. |
byte: The average of B1 and B2 , rounded to the nearest integer value. |
- Tax
- Url
- Web
- Ping
- Port
- Text
- Time
- Hash
- Word
- Color
- Speed
- Lottery
- Storage
- Browser
- Unicode
- Password
- JavaScript
- Cryptology
- Typography
- Temperature
- Compression
- Decompression
- Cascading Style Sheets
- JavaScript Object Notation
- Hypertext Markup Language
- Extensible Markup Language
- Extensible HyperText Markup Language