Class Color
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public sealed class Color : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Color>, IDisposable
- Inheritance
-
Color
- Implements
- Inherited Members
Constructors
Color()
public Color()
Color(ColorOwnedHandle)
public Color(ColorOwnedHandle handle)
Parameters
handle
ColorOwnedHandle
Properties
Blue
public ushort Blue { get; set; }
Property Value
Green
public ushort Green { get; set; }
Property Value
Handle
public ColorOwnedHandle Handle { get; }
Property Value
Red
public ushort Red { get; set; }
Property Value
Methods
Copy()
public Color? Copy()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Color?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Color? other)
Parameters
other
ColorAn 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.
Parse(string)
public bool Parse(string spec)
Parameters
spec
string
Returns
ParseWithAlpha(out ushort, string)
[Version("1.46")]
public bool ParseWithAlpha(out ushort alpha, string spec)
Parameters
Returns
ToString()
[Version("1.16")]
public string ToString()