C# Класс OpenBveApi.Textures.TextureClipRegion

Represents a region in a texture to be extracted.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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