C# Class OpenBveApi.Textures.TextureClipRegion

Represents a region in a texture to be extracted.
Afficher le fichier Open project: leezer3/OpenBVE Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Equals() public méthode

Checks whether this instance is equal to the specified object.
public Equals ( object obj ) : bool
obj object The object.
Résultat bool

TextureClipRegion() public méthode

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.
Résultat System

operator() public static méthode

Checks whether two clip regions are equal.
public static operator ( ) : bool
Résultat bool