Click or drag to resize

ShapeEntity Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
An abstract class which can be implemented to represent any kind of shape that can be rendered. The methods within this class are the base methods that every entity should require, but further methods will most likely be required to make any shape functional.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.ShapeUI
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public abstract class ShapeEntity

The ShapeEntity type exposes the following members.

Constructors
  NameDescription
Public methodShapeEntity
Creates a shape entity that will belong to the supplied layer.
Top
Properties
  NameDescription
Public propertyBoundingBox
The bounding box of this shape.
Public propertyFill
Determines the color / style of the inside of the shape.
Public propertyIsHighlighted
Whether the entire shape is highlighted
Public propertyIsSelected
Whether this shape is selected.
Public propertyOutline
Determines the color / style of the outline of the shape.
Public propertyPriority
The rendering priority of this shape.
Public propertyTag
A tag for the entity, can be used to model any relevant data for the entity.
Top
Methods
  NameDescription
Public methodBeginEditing
Each shape will be edited differently, when this method is implemented it will return the edit object relevant to this shape.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetArea
Gets the area that the shape occupies.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHitTest
A method to test whether a specific location is within this shape.
Public methodRender
Renders the current shape.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateShape
Determines whether the shape is valid (e.g. a polygon with two vertices is not valid).
Top
Events
  NameDescription
Public eventBoundingBoxChanged
Event that is fired when the shape's bounding box changes.
Public eventFillChanged
Event that is fired when the shape's fill brush changes.
Public eventGeometryChanged
Event that is fired when the shape's geometry changes.
Public eventIsHighlightedChanged
Event that is fired when the shape is highlighted or un-highlighted.
Public eventIsSelectedChanged
Event that is fired when the shape is selected or unselected.
Public eventOutlineChanged
Event that is fired when the shape's outline pen changes.
Public eventTagChanged
Event that is fired when the shape's tag changes.
Top
See Also