Table of Contents

Struct ColourAlpha

Namespace
Npp.DotNet.Plugin.Scintilla
Assembly
Npp.DotNet.Plugin.dll
public readonly struct ColourAlpha
Inherited Members

Remarks

Constructors

ColourAlpha(int)

Creates a new ColourAlpha with an optional alpha channel.

public ColourAlpha(int rgb)

Parameters

rgb int

ColourAlpha(int, int, int, int)

Creates a new ColourAlpha with an optional alpha channel.

public ColourAlpha(int red, int green, int blue, int alpha = 255)

Parameters

red int

a number 0-255

green int

a number 0-255

blue int

a number 0-255

alpha int

alpha value 0-255

Fields

Alpha

public readonly int Alpha

Field Value

int

Blue

public readonly int Blue

Field Value

int

Green

public readonly int Green

Field Value

int

Red

public readonly int Red

Field Value

int

Properties

Value

public int Value { get; }

Property Value

int