Specifies which GDI+ objects use color-adjustment information. You can adjust the colors in a rendered image by passing the address of an TRSGPImageAttributes object to the TRSGPCanvas.DrawImage method. An TRSGPImageAttributes object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. Several of the methods of the TRSGPImageAttributes class receive an element of the TRSGPColorAdjustType enumeration to specify the adjustment category.
Namespace: RSGdiPlusGraphicsTypes
Delphi
|
type
TRSGPColorAdjustType = (
catDefault = 0,
catBitmap = 1,
catBrush = 2,
catPen = 3,
catText = 4
);
|
|
Name
|
Description
|
|
catBitmap
|
Specifies that color or grayscale adjustment applies to bitmapped images.
|
|
catBrush
|
Specifies that color or grayscale adjustment applies to brush operations in metafiles.
|
|
catDefault
|
Specifies that color or grayscale adjustment applies to all categories that do not have adjustment settings of their own.
|
|
catPen
|
Specifies that color or grayscale adjustment applies to pen operations in metafiles.
|
|
catText
|
Specifies that color or grayscale adjustment applies to text drawn in metafiles.
|
Top
|