[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.PaletteEntry

PaletteEntry Struct

Represents a palette color for an indexed bitmap.

Namespace: GrapeCity.Documents.Imaging
Assembly: DS.Documents.Imaging.dll
Syntax
public struct PaletteEntry : IEquatable<PaletteEntry>, IFormattable
Public Structure PaletteEntry
    Implements IEquatable(Of PaletteEntry), IFormattable

Constructors

Name Description
PaletteEntry(int, int, int)

Creates a PaletteEntry with given values for the color channels.

PaletteEntry(int, int, int, int)

Creates a PaletteEntry with given (premultiplied by alpha) values for the color channels.

Properties

Name Description
A

Gets or sets a value of the Alpha channel (if applicable).

B

Gets or sets a value of the Blue channel.

If applicable, the value must be premultiplied by the associated alpha component.

G

Gets or sets a value of the Green channel.

If applicable, the value must be premultiplied by the associated alpha component.

R

Gets or sets a value of the Red channel.

If applicable, the value must be premultiplied by the associated alpha component.

Methods

Name Description
Equals(PaletteEntry)

Determines whether the specified PaletteEntry is equal to this instance.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

ToString()

Returns a string that represents the current object.

ToString(IFormatProvider)

Returns a string that represents this instance.

ToString(string)

Returns a string that represents this instance.

ToString(string, IFormatProvider)

Returns a string that represents this instance.

Operators

Name Description
operator ==(PaletteEntry, PaletteEntry)

Determines if the specified values are equal.

operator !=(PaletteEntry, PaletteEntry)

Determines if the specified values are not equal.