Constructor Color32
- Namespace
- LMKit.Graphics.Primitives
- Assembly
- LM-Kit.NET.dll
Color32(byte, byte, byte, byte)
Initializes a new Color32 from red, green, blue, and alpha components.
public Color32(byte r, byte g, byte b, byte a)
Parameters
Color32(byte, byte, byte)
Initializes a new opaque Color32 from red, green, and blue components (alpha=255).
public Color32(byte r, byte g, byte b)
Parameters
Color32(byte)
Initializes a new opaque Color32 from a single grayscale value.
public Color32(byte g)
Parameters
g
byteGrayscale intensity (0..255). Used for red, green, and blue channels.