System::Drawing::Rectangle::Round 메서드

Rectangle::Round method

지정된 RectangleF 객체의 위치와 크기 값을 가장 가까운 정수값으로 반올림하여 Rectangle 객체를 생성합니다.

static Rectangle System::Drawing::Rectangle::Round(const RectangleF &rect)
매개변수형식설명
rectconst RectangleF&변환할 RectangleF 객체

ReturnValue

rect에서 생성된 Rectangle 객체

또 보기