Table of Contents

Method FromRgb

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

FromRgb(int)

Creates an opaque Color32 from a packed 24-bit RGB integer (0xRRGGBB).

public static Color32 FromRgb(int rgb)

Parameters

rgb int

Returns

Color32

FromRgb(int, byte)

Creates a Color32 from a packed 24-bit RGB integer (0xRRGGBB) and an alpha.

public static Color32 FromRgb(int rgb, byte a)

Parameters

rgb int
a byte

Returns

Color32