Struct Rgba
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: AltV.Net.CApi.dll
Syntax
public struct Rgba : IEquatable<Rgba>
Constructors
|
Improve this Doc
View Source
Rgba(Byte, Byte, Byte, Byte)
Declaration
public Rgba(byte r, byte g, byte b, byte a)
Parameters
Type |
Name |
Description |
System.Byte |
r |
|
System.Byte |
g |
|
System.Byte |
b |
|
System.Byte |
a |
|
Fields
|
Improve this Doc
View Source
A
Declaration
Field Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
B
Declaration
Field Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
G
Declaration
Field Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
R
Declaration
Field Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Zero
Declaration
Field Value
Methods
|
Improve this Doc
View Source
Equals(Rgba)
Declaration
public bool Equals(Rgba other)
Parameters
Type |
Name |
Description |
Rgba |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
|
Improve this Doc
View Source
Equality(Rgba, Rgba)
Declaration
public static bool operator ==(Rgba rgba1, Rgba rgba2)
Parameters
Type |
Name |
Description |
Rgba |
rgba1 |
|
Rgba |
rgba2 |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Implicit(Rgba to Color)
Declaration
public static implicit operator Color(Rgba rgba)
Parameters
Type |
Name |
Description |
Rgba |
rgba |
|
Returns
Type |
Description |
System.Drawing.Color |
|
|
Improve this Doc
View Source
Implicit(Color to Rgba)
Declaration
public static implicit operator Rgba(Color color)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
color |
|
Returns
|
Improve this Doc
View Source
Inequality(Rgba, Rgba)
Declaration
public static bool operator !=(Rgba rgba1, Rgba rgba2)
Parameters
Type |
Name |
Description |
Rgba |
rgba1 |
|
Rgba |
rgba2 |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>