Table of Contents

Method WithAlpha

Namespace
LMKit.Graphics.Primitives
Assembly
LM-Kit.NET.dll

WithAlpha(byte)

Returns a copy of this color with a different alpha.

public Color32 WithAlpha(byte a)

Parameters

a byte

New alpha (0..255).

Returns

Color32

A new Color32 with the same RGB and the specified alpha.