Table of Contents

Method WithAlpha

Namespace
OpenEphys.EphysVisualization.Design
Assembly
OpenEphys.EphysVisualization.Design.dll

WithAlpha(uint, byte)

Returns color with its alpha byte replaced.

public static uint WithAlpha(uint color, byte alpha)

Parameters

color uint

A color in packed 0xAABBGGRR format.

alpha byte

The new alpha, from transparent at 0 to opaque at 255.

Returns

uint