ImageAttributes.GetAdjustedPalette(ColorPalette, ColorAdjustType) 메서드

정의

지정된 범주의 조정 설정에 따라 색상표의 색을 조정합니다.

public:
 void GetAdjustedPalette(System::Drawing::Imaging::ColorPalette ^ palette, System::Drawing::Imaging::ColorAdjustType type);
public void GetAdjustedPalette(System.Drawing.Imaging.ColorPalette palette, System.Drawing.Imaging.ColorAdjustType type);
member this.GetAdjustedPalette : System.Drawing.Imaging.ColorPalette * System.Drawing.Imaging.ColorAdjustType -> unit
Public Sub GetAdjustedPalette (palette As ColorPalette, type As ColorAdjustType)

매개 변수

palette
ColorPalette

ColorPalette 입력에 있는 항목에는 조정할 색상표가 포함되고 출력에 조정된 색상표가 포함됩니다.

type
ColorAdjustType

조정 설정이 색상표에 적용되는 범주를 지정하는 요소 ColorAdjustType 입니다.

설명

개체는 ImageAttributes 기본, 비트맵, 브러시, 펜 및 텍스트의 다섯 가지 조정 범주에 대한 색 및 회색조 설정을 유지합니다. 예를 들어 기본 범주에 대한 색 다시 매핑 테이블, 비트맵 범주에 대한 다른 색 다시 매핑 테이블, 펜 범주에 대해 다른 색 다시 매핑 테이블을 지정할 수 있습니다.

메서드를 GetAdjustedPalette 호출할 때 색상표 색을 조정하는 데 사용되는 조정 범주를 지정할 수 있습니다. 예를 들어 메서드에 Bitmap 전달하는 GetAdjustedPalette 경우 비트맵 범주의 조정 설정을 사용하여 색상표 색을 조정합니다.

적용 대상