Click or drag to resize

ShapeLayer Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The ShapeLayer type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAddShape
Adds a new shape entity to the layer.
Public methodCode exampleClear
Removes all entities from the layer.
Public methodDispose
Disposes of any state and disconnects from the rtree.
Public methodEdit
Edits a specific entity and changes the state to a edit state.
Public methodEnterSelectMode
Changes the state to selection mode without any currently selected entity.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFinishEditing
Selects the previously edited entity and changes the state to a selection state
Public methodGetDefaultState
Returns an IState used to perform default operations.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSelectState
Returns an ISelectState used to perform selection related operations.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnMouseClick
Calls mouse click on the layer's current state.
Public methodOnMouseDown
Calls mouse down on the layer's current state.
Public methodOnMouseLeave
Calls mouse leave (when the mouse leaves the current map space) on the layer's current state.
Public methodOnMouseMove
Calls mouse move on the layer's current state.
Public methodOnMouseUp
Calls mouse up on the layer's current state.
Public methodQueryShapes
Gets all of the shape entities within the layer.
Public methodQueryShapes(BoundingBox)
Gets all of the shape entities that exist within a specific bounding box.
Public methodQueryShapes(IMap)
Gets all of the shape entities within a map view.
Public methodQueryShapes(RTreeRect)
Gets all of the shape entities that exist within a specific rectangle.
Public methodCode exampleRemoveShape
Removes a specific shape from the layer if it exists.
Public methodRender
Renders all of the shape entities according to the layer's current mode.
Public methodSelect
Selects a specific entity and changes the state to a selection state.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also