Class RGBA
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public sealed class RGBA : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<RGBA>, IDisposable
- Inheritance
-
RGBA
- Implements
- Inherited Members
Constructors
RGBA()
public RGBA()
RGBA(RGBAOwnedHandle)
public RGBA(RGBAOwnedHandle handle)
Parameters
handle
RGBAOwnedHandle
Properties
Alpha
public float Alpha { get; set; }
Property Value
Blue
public float Blue { get; set; }
Property Value
Green
public float Green { get; set; }
Property Value
Handle
public RGBAOwnedHandle Handle { get; }
Property Value
Red
public float Red { get; set; }
Property Value
Methods
Copy()
public RGBA Copy()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equal(RGBA)
public bool Equal(RGBA p2)
Parameters
p2
RGBA
Returns
Equals(RGBA?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RGBA? other)
Parameters
other
RGBAAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
public void Free()
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Hash()
public uint Hash()
Returns
IsClear()
public bool IsClear()
Returns
IsOpaque()
public bool IsOpaque()
Returns
Parse(string)
public bool Parse(string spec)
Parameters
spec
string
Returns
ToString()
public string ToString()