C# 클래스 OpenBveApi.Textures.TextureClipRegion

Represents a region in a texture to be extracted.
파일 보기 프로젝트 열기: leezer3/OpenBVE 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Checks whether this instance is equal to the specified object.

TextureClipRegion ( int left, int top, int width, int height ) : System

Creates a new clip region.

operator ( ) : bool

Checks whether two clip regions are equal.

메소드 상세

Equals() 공개 메소드

Checks whether this instance is equal to the specified object.
public Equals ( object obj ) : bool
obj object The object.
리턴 bool

TextureClipRegion() 공개 메소드

Creates a new clip region.
Raised when the left or top are negative. Raised when the width or height are non-positive.
public TextureClipRegion ( int left, int top, int width, int height ) : System
left int The left coordinate.
top int The top coordinate.
width int The width.
height int The height.
리턴 System

operator() 공개 정적인 메소드

Checks whether two clip regions are equal.
public static operator ( ) : bool
리턴 bool