Table of Contents

Class DisplayList2

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What one space of a drawing, model space or a layout, is drawn as: its items in drawing order, the box that holds them, and the layers they sit on. It is made once from the entities and kept until one changes.

public sealed class DisplayList2
Inheritance
DisplayList2
Inherited Members

Constructors

DisplayList2()

Makes an empty list.

Properties

Bounds

Gets the box that holds every item, of a DisplayRay2 its base point alone, as AutoCAD's ZOOM Extents takes an XLINE or a RAY: a line 100 by 50 from the origin and an XLINE through (200, 300) are held from (0, 0) to (200, 300).

Count

Gets the number of items.

Items

Gets the items in the order they are drawn, the first at the back.

Methods

Add(DisplayItem2)

Adds an item at the front.