RelativeRectangle

RelativeRectangle

개요

RelativeRectangle은 Aspose.3D FOSS에서 .NET용 구조체입니다.

RelativeRectangle.RelativeRectangle은 주어진 left, top, width, height 오프셋으로 사각형을 생성합니다.

이 구조체는 .NET 프로그램에서 RelativeRectangle 객체를 다루기 위한 4개의 메서드를 제공합니다. 사용 가능한 메서드: FromScale, RelativeRectangle, ToAbsolute, ToString. 모든 public 멤버는 Aspose.3D FOSS for .NET 패키지를 설치한 후 any .NET 애플리케이션에서 접근할 수 있습니다. 속성: OffsetHeight, OffsetWidth, OffsetX, OffsetY, ScaleHeight, ScaleWidth, 및 2개 더.

속성

이름유형액세스설명
ScaleXfloat읽기/쓰기스케일 x를 가져오거나 설정합니다.
ScaleYfloat읽기/쓰기스케일 y를 가져오거나 설정합니다.
ScaleWidthfloat읽기/쓰기스케일 너비를 가져오거나 설정합니다.
ScaleHeightfloat읽기/쓰기스케일 높이를 가져오거나 설정합니다.
OffsetXint읽기/쓰기오프셋 x를 가져오거나 설정합니다.
OffsetYint읽기/쓰기오프셋 y를 가져오거나 설정합니다.
OffsetWidthint읽기/쓰기오프셋 너비를 가져오거나 설정합니다.
OffsetHeightint읽기/쓰기오프셋 높이를 가져오거나 설정합니다.

메서드

시그니처설명
RelativeRectangle(left: int, top: int, width: int, height: int)주어진 left, top, width, height 오프셋으로 사각형을 생성합니다
ToAbsolute(left: int, top: int, width: int, height: int)제공된 컨테이너 차원을 사용하여 상대 사각형을 절대 좌표로 변환합니다
FromScale(scaleX: float, scaleY: float, scaleWidth: float, scaleHeight: float)위치와 크기에 대한 스케일 팩터로부터 사각형을 생성합니다
ToString()직사각형에 대한 문자열 표현을 반환합니다

참조

 한국어