Class ImageAttributes
Contents
[
Hide
]ImageAttributes class
An ImageAttributes
object contains information about how bitmap and metafile colors are manipulated during rendering. An ImageAttributes
object maintains several color-adjustment settings, including color-adjustment matrices, grayscale-adjustment matrices, gamma-correction values, color-map tables, and color-threshold values. During rendering, colors can be corrected, darkened, lightened, and removed. To apply such manipulations, initialize an ImageAttributes
object and pass the path of that ImageAttributes
object (along with the path of an Image
) to the DrawImage method.
public sealed class ImageAttributes
Constructors
Name | Description |
---|---|
ImageAttributes() | The default constructor. |
Methods
Name | Description |
---|---|
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. |
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. |
SetNoOp(ColorAdjustType) | Turns off color adjustment for a specified category. |
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
- namespace Aspose.Imaging
- assembly Aspose.Imaging