Table of Contents

Class OsnapPoints

Namespace
VectorDraw.Geometry
Assembly
VectorDraw.Geometry.dll

Implements a collection of OsnapPoint objects.

public class OsnapPoints : IEnumerable
Inheritance
OsnapPoints
Implements
Inherited Members

Constructors

OsnapPoints()

Initializes the object.

OsnapPoints(gPoint)

Initializes the object.

OsnapPoints(gPoint, int, double, double, IComparer<OsnapPoint>)

Initializes the object.

Fields

DefaultMaximumOsnaps

Get/Set the default maximum number of osnaps included in the collection when this collection is used inside user actions that waiting a point from the user.

Properties

Count

Get the number of items in the collection.

IsAllOsnapsFind

Internally used property and returns if the collection contains all the OsnapPoints that can be drawn.Returns false if a windows message stopped the snap procedure.

this[int]

Get/Set the object at a specified index of the collection.

Location

Get/Set a System.Drawing.Point object representing the position of the mouse and for which the snap procedure checks for valid osnaps.

Origin

Get/Set the origin point in View CS that represents the current mouse position

RenderingObject

Get/Set the RenderSelect object used to manage the osnaps.

Methods

AddItem(OsnapPoint)

Adds an object to the collection.

Contains(OsnapPoint)

Determines whether this collection contains a specific OsnapPoint object.

GetEnumerator()

Implements the "foreach" expression for the collection.

RemoveAll()

Removes all objects from the collection.

ToString()

Gets a System.String that represents the count of the vdOsnapPoints collection Object.

Transform(Matrix)

Transforms all OsnapPoints of the collection with the given matrix.