Back to Devexpress

MapRectangle Members

windowsforms-devexpress-dot-xtramap-dot-maprectangle-dot-underscore-members.md

latest9.1 KB
Original Source

MapRectangle Members

The class used to draw a rectangle on a map.

Constructors

NameDescription
MapRectangle()Initializes a new instance of the MapRectangle class with default settings.

Properties

NameDescription
AttributesGets the attributes for this map item. Inherited from MapItem.
CanMoveGets or sets the value specifying whether the map item can moved while editing the map using the Map Editor. Inherited from MapItem.
CanResizeGets or sets the value specifying whether the map rectangle can be resized when editing the map using the Map Editor.
ClusteredItemsReturns the collection of MapItem objects that are in a cluster presented by this cluster representative. Inherited from MapItem.
EnableHighlightingIndicates whether a map item can be highlighted. Inherited from MapItem.
EnableSelectionIndicates whether a map item can be selected. Inherited from MapItem.
FillGets or sets the color that is used to fill a map item. Inherited from MapItem.
HeightGets or sets the height of the rectangle.
HighlightedFillGets or sets the color that specifies how the highlighted map item is painted. Inherited from MapItem.
HighlightedStrokeGets or sets the color that specifies how the highlighted outline is painted on a map item. Inherited from MapItem.
HighlightedStrokeWidthGets or sets a value that specifies the width of the highlighted stroke on the map item. Inherited from MapItem.
IsHitTestVisibleGets or sets a value that defines whether or not a map item can be returned as a hit-testing result. Inherited from MapItem.
IsUpdateLockedGets whether a map item has been locked for updating. Inherited from MapItem.
LayerProvides access to the map items layer object. Inherited from MapItem.
LocationGets or sets the location of a MapRectangle object.
SelectedFillGets or sets the color that specifies how the selected map item is painted. Inherited from MapItem.
SelectedStrokeGets or sets the color that specifies how the selected outline is painted on a map item. Inherited from MapItem.
SelectedStrokeWidthGets or sets a value that specifies the width of the selected stroke on the map item. Inherited from MapItem.
StrokeGets or sets the color that specifies how the map item outline is painted. Inherited from MapItem.
StrokeWidthGets or sets the map item’s outline width. Inherited from MapItem.
TagGets or sets the object that contains data related to a map item. Inherited from MapItem.
TitleOptionsProvides access to the options that define the visibility, text and appearance of a shape title. Inherited from MapShape.
ToolTipPatternGets or sets a string which represents the pattern specifying the text to be displayed within a tooltip that appears for a map item. Inherited from MapItem.
VisibleGets or sets a value indicating whether or not a map item should be displayed. Inherited from MapItem.
WidthGets or sets the width of the rectangle.

Methods

NameDescription
CreateByCenter(MapCoordinateSystem, CoordPoint, Double, Double) staticCreates a map rectangle using its center point, width and height.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ExportToWkt()Exports the map rectangle to the Well-Known Text (WKT) format.
FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) staticCreates a map rectangle using its top-left and bottom-right points.
GetBounds()Returns information about the map shape bounds. Inherited from MapShape.
GetCenter()Returns a center point of a MapShape class descendant object. Inherited from MapShape.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the textual representation of MapRectangle.

See Also

MapRectangle Class

DevExpress.XtraMap Namespace