• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Struct Quantizer.Color32

Struct that defines a 32 bpp colour.

Namespace: DotNetNuke.Services.GeneratedImage.ImageQuantization
Assembly: DotNetNuke.dll
Syntax
public struct Color32
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.

Constructors

| Improve this Doc View Source

Color32(IntPtr)

Initializes a new instance of the Quantizer.Color32 struct.

Declaration
public Color32(IntPtr pSourcePixel)
Parameters
Type Name Description
IntPtr pSourcePixel
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.

Fields

| Improve this Doc View Source

Alpha

Holds the alpha component of the colour.

Declaration
public byte Alpha
Field Value
Type Description
System.Byte
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.

| Improve this Doc View Source

ARGB

Permits the color32 to be treated as an int32.

Declaration
public int ARGB
Field Value
Type Description
System.Int32
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.

| Improve this Doc View Source

Blue

Holds the blue component of the colour.

Declaration
public byte Blue
Field Value
Type Description
System.Byte
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.

| Improve this Doc View Source

Green

Holds the green component of the colour.

Declaration
public byte Green
Field Value
Type Description
System.Byte
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.

| Improve this Doc View Source

Red

Holds the red component of the colour.

Declaration
public byte Red
Field Value
Type Description
System.Byte
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.

Properties

| Improve this Doc View Source

Color

Gets return the color for this Color32 object.

Declaration
public readonly Color Color { get; }
Property Value
Type Description
Color
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.

  • View Source
Back to top by the community, for the community... #DNNCMS