ColorRGBA class
A class representing a color in the RGBA color space. autodesk.design:components.color.rgba-1.0.0
public class ColorRGBA
Public Members
name | description |
---|---|
ColorRGBA() | The default constructor. |
Alpha { get; set; } | The alpha value in the range [0, 255] where 0 means transparent and 255 means opaque. Default = 255 |
Blue { get; set; } | The blue value in the range [0, 255]. |
Green { get; set; } | The green value in the range [0, 255]. |
Red { get; set; } | The red value in the range [0, 255]. |
Remarks
It has four properties, R, G, B, and A, which represent the color’s red, green, blue, and alpha components, respectively. R, G and B is represent the color and A alpha is represent the opacity of color.