Show / Hide Table of Contents

Struct REXPaintImage.Color

A RexPaint color.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadConsole.Readers
Assembly: SadConsole.dll
Syntax
public struct REXPaintImage.Color

Constructors

Color(byte, byte, byte)

Creates a new RexPaint color with the specified RGB channels.

Declaration
public Color(byte r, byte g, byte b)
Parameters
Type Name Description
byte r

The red channel of the color.

byte g

The green channel of the color.

byte b

The blue channel of the color.

Fields

B

The blue channel of the color.

Declaration
public byte B
Field Value
Type Description
byte

G

The green channel of the color.

Declaration
public byte G
Field Value
Type Description
byte

R

The red channel of the color.

Declaration
public byte R
Field Value
Type Description
byte

Properties

Transparent

Returns the transparent color used by RexPaint: rgb(255, 0, 255).

Declaration
public static REXPaintImage.Color Transparent { get; }
Property Value
Type Description
REXPaintImage.Color

Operators

operator ==(Color, Color)

Declaration
public static bool operator ==(REXPaintImage.Color left, REXPaintImage.Color right)
Parameters
Type Name Description
REXPaintImage.Color left
REXPaintImage.Color right
Returns
Type Description
bool

operator !=(Color, Color)

Declaration
public static bool operator !=(REXPaintImage.Color left, REXPaintImage.Color right)
Parameters
Type Name Description
REXPaintImage.Color left
REXPaintImage.Color right
Returns
Type Description
bool
In this article

Back to top

Back to top Generated by DocFX