Click or drag to resize

QuantizerColor32 Structure

Struct that defines a 32 bpp colour

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
protected struct Color32 : IEquatable<QuantizerColor32>

The QuantizerColor32 type exposes the following members.

Constructors
  NameDescription
Public methodQuantizerColor32
Initializes a new instance of the QuantizerColor32 struct.
Top
Properties
  NameDescription
Public propertyColor
Return the color for this Color32 object
Top
Methods
  NameDescription
Public methodEquals(QuantizerColor32)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberRead
Reads a Color32 from a pointer.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Top
Fields
  NameDescription
Public fieldAlpha
Holds the alpha component of the colour
Public fieldArgb
Holds the color as an Int32.
Public fieldBlue
Holds the blue component of the colour
Public fieldGreen
Holds the green component of the colour
Public fieldRed
Holds the red component of the colour
Top
Remarks
This struct is used to read data from a 32 bits per pixel image in memory, and is ordered in this manner as this is the way that the data is layed out in memory
See Also