Struct IccVersion
- Namespace
- SixLabors.ImageSharp.Metadata.Profiles.Icc
- Assembly
- SixLabors.ImageSharp.dll
Represents the ICC profile version number.
public readonly struct IccVersion : IEquatable<IccVersion>
- Implements
- Inherited Members
Constructors
IccVersion(int, int, int)
Initializes a new instance of the IccVersion struct.
public IccVersion(int major, int minor, int patch)
Parameters
majorintThe major version number.
minorintThe minor version number.
patchintThe patch version number.
Properties
Major
Gets the major version number.
public int Major { get; }
Property Value
Minor
Gets the minor version number.
public int Minor { get; }
Property Value
Patch
Gets the patch number.
public int Patch { get; }
Property Value
Methods
Equals(IccVersion)
public bool Equals(IccVersion other)
Parameters
otherIccVersion
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(IccVersion, IccVersion)
Returns a value indicating whether the two values are equal.
public static bool operator ==(IccVersion left, IccVersion right)
Parameters
leftIccVersionThe first value.
rightIccVersionThe second value.
Returns
operator !=(IccVersion, IccVersion)
Returns a value indicating whether the two values are not equal.
public static bool operator !=(IccVersion left, IccVersion right)
Parameters
leftIccVersionThe first value.
rightIccVersionThe second value.