ColorManipulation¶
namespace GameSense.Animation
public static class ColorManipulation
Helper class for combining and manipulating colors.
Summary¶
Methods¶
public static
¶
Returns | Method |
---|---|
int[] |
Combine (int[] bottom, int[] top, int transparency) |
Methods¶
Combine
¶
public static int[] Combine(int[] bottom, int[] top, int transparency)
Combines one bottom color with a translucent top color.
Returns¶
The combined color.
Parameters¶
Type | Name | Description | Default |
---|---|---|---|
int[] |
bottom |
The bottom color (RGB format) | |
int[] |
top |
The top color (RGB format) | |
int |
transparency |
The transparency of the top color (0-100 ) |