Class ImageAttributes

ImageAttributes class

Contains information about how bitmap and metafile colors are manipulated during rendering.

public sealed class ImageAttributes : ICloneable, IDisposable

Constructors

NameDescription
ImageAttributes()The default constructor.

Methods

NameDescription
ClearBrushRemapTable()Clears the brush color-remap table of this ImageAttributes object.
ClearColorKey()Clears the color key (transparency range) for the default category.
ClearColorKey(ColorAdjustType)Clears the color key (transparency range) for a specified category.
ClearColorMatrix()Clears the color-adjustment matrix for the default category.
ClearColorMatrix(ColorAdjustType)Clears the color-adjustment matrix for a specified category.
ClearGamma()Disables gamma correction for the default category.
ClearGamma(ColorAdjustType)Disables gamma correction for a specified category.
ClearNoOp()Clears the NoOp setting for the default category.
ClearNoOp(ColorAdjustType)Clears the NoOp setting for a specified category.
ClearOutputChannel()Clears the CMYK (cyan-magenta-yellow-black) output channel setting for the default category.
ClearOutputChannel(ColorAdjustType)Clears the (cyan-magenta-yellow-black) output channel setting for a specified category.
ClearOutputChannelColorProfile()Clears the output channel color profile setting for the default category.
ClearOutputChannelColorProfile(ColorAdjustType)Clears the output channel color profile setting for a specified category.
ClearRemapTable()Clears the color-remap table for the default category.
ClearRemapTable(ColorAdjustType)Clears the color-remap table for a specified category.
ClearThreshold()Clears the threshold value for the default category.
ClearThreshold(ColorAdjustType)Clears the threshold value for a specified category.
Clone()Creates an exact copy of this ImageAttributes object.
Dispose()Releases all resources used by this ImageAttributes object.
GetAdjustedPalette(ColorPalette, ColorAdjustType)Adjusts the colors in a palette according to the adjustment settings of a specified category.
SetBrushRemapTable(ColorMap[])Sets the color-remap table for the brush category.
SetColorKey(Color, Color)Sets the color key for the default category.
SetColorKey(Color, Color, ColorAdjustType)Sets the color key (transparency range) for a specified category.
SetColorMatrices(ColorMatrix, ColorMatrix)Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category.
SetColorMatrices(ColorMatrix, ColorMatrix, ColorMatrixFlag)Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category.
SetColorMatrices(ColorMatrix, ColorMatrix, ColorMatrixFlag, ColorAdjustType)Sets the color-adjustment matrix and the grayscale-adjustment matrix for a specified category.
SetColorMatrix(ColorMatrix)Sets the color-adjustment matrix for the default category.
SetColorMatrix(ColorMatrix, ColorMatrixFlag)Sets the color-adjustment matrix for the default category.
SetColorMatrix(ColorMatrix, ColorMatrixFlag, ColorAdjustType)Sets the color-adjustment matrix for a specified category.
SetGamma(float)Sets the gamma value for the default category.
SetGamma(float, ColorAdjustType)Sets the gamma value for a specified category.
SetNoOp()Turns off color adjustment for the default category. You can call the ClearNoOp method to reinstate the color-adjustment settings that were in place before the call to the SetNoOp method.
SetNoOp(ColorAdjustType)Turns off color adjustment for a specified category. You can call the ClearNoOp method to reinstate the color-adjustment settings that were in place before the call to the SetNoOp method.
SetOutputChannel(ColorChannelFlag)Sets the CMYK (cyan-magenta-yellow-black) output channel for the default category.
SetOutputChannel(ColorChannelFlag, ColorAdjustType)Sets the CMYK (cyan-magenta-yellow-black) output channel for a specified category.
SetOutputChannelColorProfile(string)Sets the output channel color-profile file for the default category.
SetOutputChannelColorProfile(string, ColorAdjustType)Sets the output channel color-profile file for a specified category.
SetRemapTable(ColorMap[])Sets the color-remap table for the default category.
SetRemapTable(ColorMap[], ColorAdjustType)Sets the color-remap table for a specified category.
SetThreshold(float)Sets the threshold (transparency range) for the default category.
SetThreshold(float, ColorAdjustType)Sets the threshold (transparency range) for a specified category.
SetWrapMode(WrapMode)Sets the wrap mode that is used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
SetWrapMode(WrapMode, Color)Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
SetWrapMode(WrapMode, Color, bool)Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.

See Also