NShape Reference
IShapeCollection Interface

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
IShapeCollection Interface

Previous pageReturn to chapter overviewNext page

Encapsulates a collection of shapes sorted by z-order.

Syntax

public interface IShapeCollection : IReadOnlyShapeCollection

Description

Encapsulates a collection of shapes sorted by z-order.

Public Methods

Name

Description

Add

Add a single shape to the collection.

AddRange

Add a range of shapes to the collection.

Clear

Removes all shapes from the collection.

Contains

Returns true if the given shape is part of the collection.

ContainsAll

Returns true if all given shapes are part of the collection.

ContainsAny

Returns true if at least one of the given shapes is part of the collection.

CopyTo

Copies all shapes of the collection to the given shape array starting at the given index.

GetBoundingRectangle

Calculates the axis aligned bounding rectangle of all shapes.

Remove

Removes the given shape from the collection.

RemoveRange

Removes all given shapes from the collection.

Replace

Replaces a given shape with an other given shape.

ReplaceRange

Replaces a range of given shapes with a range of other given shapes.

GetZOrder

Gets the z-order of the given shape.

SetZOrder

Sets the z-order of the given shape to the given value.

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape