Struct IccProfileId
- Namespace
- SixLabors.ImageSharp.Metadata.Profiles.Icc
- Assembly
- SixLabors.ImageSharp.dll
ICC Profile ID
public readonly struct IccProfileId : IEquatable<IccProfileId>
- Implements
- Inherited Members
Constructors
IccProfileId(uint, uint, uint, uint)
Initializes a new instance of the IccProfileId struct.
public IccProfileId(uint p1, uint p2, uint p3, uint p4)
Parameters
Fields
Zero
A profile ID with all values set to zero
public static readonly IccProfileId Zero
Field Value
Properties
IsSet
Gets a value indicating whether the ID is set or just consists of zeros.
public bool IsSet { get; }
Property Value
Part1
Gets the first part of the ID.
public uint Part1 { get; }
Property Value
Part2
Gets the second part of the ID.
public uint Part2 { get; }
Property Value
Part3
Gets the third part of the ID.
public uint Part3 { get; }
Property Value
Part4
Gets the fourth part of the ID.
public uint Part4 { get; }
Property Value
Methods
Equals(IccProfileId)
public bool Equals(IccProfileId other)
Parameters
other
IccProfileId
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(IccProfileId, IccProfileId)
Compares two IccProfileId objects for equality.
public static bool operator ==(IccProfileId left, IccProfileId right)
Parameters
left
IccProfileIdThe IccProfileId on the left side of the operand.
right
IccProfileIdThe IccProfileId on the right side of the operand.
Returns
- bool
True if the
left
parameter is equal to theright
parameter; otherwise, false.
operator !=(IccProfileId, IccProfileId)
Compares two IccProfileId objects for equality.
public static bool operator !=(IccProfileId left, IccProfileId right)
Parameters
left
IccProfileIdThe IccProfileId on the left side of the operand.
right
IccProfileIdThe IccProfileId on the right side of the operand.
Returns
- bool
True if the
left
parameter is not equal to theright
parameter; otherwise, false.