Class DrawingOverlayType
The types of overlay that may be created by the DrawingManager.
Inherited Members
Namespace:GoogleMaps.Drawing
Assembly:GoogleMaps.dll
Syntax
[TypeConverter(typeof (DrawingOverlayTypeConverter))]
public sealed class DrawingOverlayType : EnumClass
Fields
Circle
Specifies that the DrawingManager creates circles, and that the overlay given in the overlaycomplete event is a circle.
Declaration
public static readonly DrawingOverlayType Circle
Field Value
Type | Description |
---|---|
DrawingOverlayType |
Marker
Specifies that the DrawingManager creates markers, and that the overlay given in the overlaycomplete event is a marker.
Declaration
public static readonly DrawingOverlayType Marker
Field Value
Type | Description |
---|---|
DrawingOverlayType |
Polygon
Specifies that the DrawingManager creates polygons, and that the overlay given in the overlaycomplete event is a polygon.
Declaration
public static readonly DrawingOverlayType Polygon
Field Value
Type | Description |
---|---|
DrawingOverlayType |
Polyline
Specifies that the DrawingManager creates polylines, and that the overlay given in the overlaycomplete event is a polyline.
Declaration
public static readonly DrawingOverlayType Polyline
Field Value
Type | Description |
---|---|
DrawingOverlayType |
Rectangle
Specifies that the DrawingManager creates rectangles, and that the overlay given in the overlaycomplete event is a rectangle.
Declaration
public static readonly DrawingOverlayType Rectangle
Field Value
Type | Description |
---|---|
DrawingOverlayType |
Properties
Values
Returns enumerator over all DrawingOverlayType available values.
Declaration
public static IEnumerable<DrawingOverlayType> Values { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DrawingOverlayType> |
Operators
Equality(DrawingOverlayType, DrawingOverlayType)
Implements the operator == for DrawingOverlayType.
Declaration
public static bool operator ==(DrawingOverlayType left, DrawingOverlayType right)
Parameters
Type | Name | Description |
---|---|---|
DrawingOverlayType | left | The left operand of the operator. |
DrawingOverlayType | right | The right operand of the operator. |
Returns
Type | Description |
---|---|
System.Boolean | The result of the operator. |
Implicit(DrawingOverlayType to String)
Casts implicitly DrawingOverlayType to a string representation.
Declaration
public static implicit operator string (DrawingOverlayType value)
Parameters
Type | Name | Description |
---|---|---|
DrawingOverlayType | value | The DrawingOverlayType to cast |
Returns
Type | Description |
---|---|
System.String |
Implicit(String to DrawingOverlayType)
Casts implicitly a string to its DrawingOverlayType representation; if it has, otherwise System.InvalidCastException is thrown.
Declaration
public static implicit operator DrawingOverlayType(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string to cast to DrawingOverlayType |
Returns
Type | Description |
---|---|
DrawingOverlayType |
Inequality(DrawingOverlayType, DrawingOverlayType)
Implements the operator != for DrawingOverlayType.
Declaration
public static bool operator !=(DrawingOverlayType left, DrawingOverlayType right)
Parameters
Type | Name | Description |
---|---|---|
DrawingOverlayType | left | The left operant of the operator. |
DrawingOverlayType | right | The right operand of the operator. |
Returns
Type | Description |
---|---|
System.Boolean | The result of the operator. |