Struct IccVersion
Represents the ICC profile version number.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Metadata.Profiles.Icc
Assembly: SixLabors.ImageSharp.dll
Syntax
public readonly struct IccVersion : IEquatable<IccVersion>
Constructors
| Improve this Doc View SourceIccVersion(Int32, Int32, Int32)
Initializes a new instance of the IccVersion struct.
Declaration
public IccVersion(int major, int minor, int patch)
Parameters
Type | Name | Description |
---|---|---|
Int32 | major | The major version number. |
Int32 | minor | The minor version number. |
Int32 | patch | The patch version number. |
Properties
| Improve this Doc View SourceMajor
Gets the major version number.
Declaration
public readonly int Major { get; }
Property Value
Type | Description |
---|---|
Int32 |
Minor
Gets the minor version number.
Declaration
public readonly int Minor { get; }
Property Value
Type | Description |
---|---|
Int32 |
Patch
Gets the patch number.
Declaration
public readonly int Patch { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceEquals(IccVersion)
Declaration
public readonly bool Equals(IccVersion other)
Parameters
Type | Name | Description |
---|---|---|
IccVersion | other |
Returns
Type | Description |
---|---|
Boolean |
ToString()
Declaration
public override readonly string ToString()
Returns
Type | Description |
---|---|
String |