Class TRectangleList

Unit

Declaration

type TRectangleList = class(specialize TStructList<TRectangle>)

Description

This item has no description. Showing description inherited from TStructList.

List of structures. This is just TList class from Generics.Collections, with some useful helpers.

Source: base/castlerectangles.pas (line 462).

Hierarchy

Overview

Methods

Public function FindRectangle(const X, Y: Integer): Integer; overload;
Public function FindRectangle(const Point: TVector2): Integer; overload;

Description

Methods

Public function FindRectangle(const X, Y: Integer): Integer; overload;

Index of the first rectangle that contains point (X, Y). Returns -1 if not found.

Source: base/castlerectangles.pas (line 466).

Public function FindRectangle(const Point: TVector2): Integer; overload;

This item has no description.

Source: base/castlerectangles.pas (line 467).


Generated by PasDoc 0.17.0.snapshot.