ZylGMaps Delphi & C++Builder Component

Class TRectangles

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TRectangles = class(TObject)

Description

Rectangle collection.

Hierarchy

Overview

Methods

Public constructor Create();
Public destructor Destroy; override;
Public procedure Add(const Item: TRectangle);
Public procedure Insert(index: Integer; const Item: TRectangle);
Public procedure Delete(index: Integer);
Public procedure Clear;
Public function IndexOf(const name: String): integer;

Properties

Public property Count: Integer read GetCount;
Public property Items[index:Integer]: TRectangle read GetItem write SetItem;

Description

Methods

Public constructor Create();

Constructor.

Public destructor Destroy; override;

Destructor.

Public procedure Add(const Item: TRectangle);

Add rectangle to collection.

Parameters
Item
Rectangle item.
Public procedure Insert(index: Integer; const Item: TRectangle);

Insert rectangle into collection.

Parameters
index
Index, where the rectangle is inserted.
Item
Rectangle item.
Public procedure Delete(index: Integer);

Delete rectangle from collection.

Parameters
index
Index, where the rectangle is deleted from.
Public procedure Clear;

Remove all rectangles from collection.

Public function IndexOf(const name: String): integer;

Get index of rectangle by name.

Parameters
name
Name of the rectangle.
Returns

Index of the rectangle.

Properties

Public property Count: Integer read GetCount;

Rectangle count.

Public property Items[index:Integer]: TRectangle read GetItem write SetItem;

Rectangle items.

Copyright © 2003 - 2026 by Zyl Soft. All rights reserved.
Generated by PasDoc 0.16.0.