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

적용 대상