Class DrawingRectangleOptions
Options to apply to any new rectangles created with this DrawingManager.
Inheritance
Inherited Members
Namespace:GoogleMaps.Drawing
Assembly:GoogleMaps.dll
Syntax
public class DrawingRectangleOptions
Properties
Clickable
Indicates whether this Rectangle handles mouse events. Defaults to
true.
Declaration
public bool Clickable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Draggable
If set to true, the user can drag this shape over the map. The geodesic property defines the mode of dragging. Defaults to false.
Declaration
public bool Draggable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Editable
If set to true, the user can edit this shape by dragging the control points shown at the vertices and on each segment. Defaults to false.
Declaration
public bool Editable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FillColor
The fill color. Default to
System.Drawing.Color.Red
Declaration
public Color FillColor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color |
FillOpacity
The fill opacity between 0.0 and 1.0. Defaults to 0.5
Declaration
public float FillOpacity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
StrokeColor
The stroke color. Default to
System.Drawing.Color.Blue
Declaration
public Color StrokeColor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color |
StrokeOpacity
The stroke opacity between 0.0 and 1.0. Defaults to 0.5
Declaration
public float StrokeOpacity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
StrokePosition
The stroke position. Defaults to Center. This property is not supported on Internet Explorer 8 and earlier.
Declaration
public StrokePosition StrokePosition { get; set; }
Property Value
| Type | Description |
|---|---|
| StrokePosition |
StrokeWeight
The stroke width in pixels. Defaults to 5.
Declaration
public int StrokeWeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Visible
Whether this circle is visible on the map. Defaults to
true.
Declaration
public bool Visible { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ZIndex
The zIndex compared to other polys.
Declaration
public int ZIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |