Table of Contents

Method IndicesOf

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

IndicesOf(string)

Gets the items an entity is drawn as, by their place in List, in the order they are drawn: a block of 40 lines inserted once gives 40 places. The canvas draws a hovered or selected entity again over the drawing from them, without looking at the other items.

public IReadOnlyList<int> IndicesOf(string handle)

Parameters

handle string

The handle of the entity.

Returns

IReadOnlyList<int>

The places, ascending; empty where the entity draws nothing.