다음을 통해 공유


PathGradientBrush::SetCenterPoint(constPoint&) 메서드(gdipluspath.h)

PathGradientBrush::SetCenterPoint 메서드는 이 경로 그라데이션 브러시의 중심점을 설정합니다. 기본적으로 중심점은 브러시 경계 경로의 중심이지만 가운데 지점을 경로 내부 또는 외부의 모든 위치로 설정할 수 있습니다.

구문

Status SetCenterPoint(
  [in, ref] const Point & point
);

매개 변수

[in, ref] point

형식: const Point

중심점을 지정하는 Point 개체에 대한 참조입니다.

반환 값

형식: 상태

메서드가 성공하면 Status 열거형의 요소인 확인을 반환합니다.

메서드가 실패하면 Status 열거형의 다른 요소 중 하나를 반환합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows XP, Windows 2000 Professional [데스크톱 앱만 해당]
지원되는 최소 서버 Windows 2000 Server[데스크톱 앱만]
대상 플랫폼 Windows
헤더 gdipluspath.h(Gdiplus.h 포함)
라이브러리 Gdiplus.lib
DLL Gdiplus.dll

추가 정보

브러시 및 채워진 도형

경로 그라데이션 만들기

색 그라데이션으로 도형 채우기

Graphicspath

PathGradientBrush

PathGradientBrush::GetCenterColor

PathGradientBrush::GetCenterPoint 메서드

PathGradientBrush::SetCenterColor