Click or drag to resize

QuantizerColor32 Structure

Struct that defines a 32 bpp colour

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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 methodStatic memberRead
Reads a Color32 from a pointer.
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