Class MapsPolygonBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsPolygonBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.AspNetMvc.Maps.dll
Syntax
public class MapsPolygonBuilder : ControlBuilder
Constructors
MapsPolygonBuilder()
Declaration
public MapsPolygonBuilder()
MapsPolygonBuilder(List<MapsPolygon>)
Declaration
public MapsPolygonBuilder(List<MapsPolygon> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<MapsPolygon> | collection |
Methods
Add()
Declaration
public void Add()
BorderColor(String)
Gets or sets the color to be used in the border of the polygon shape.
Declaration
public MapsPolygonBuilder BorderColor(string borderColor)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | borderColor |
Returns
| Type |
|---|
| MapsPolygonBuilder |
BorderOpacity(Double)
Gets or sets the opacity of the border of the polygon shape.
Declaration
public MapsPolygonBuilder BorderOpacity(double borderOpacity)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | borderOpacity |
Returns
| Type |
|---|
| MapsPolygonBuilder |
BorderWidth(Double)
Gets or sets the width of the border of the polygon shape.
Declaration
public MapsPolygonBuilder BorderWidth(double borderWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | borderWidth |
Returns
| Type |
|---|
| MapsPolygonBuilder |
Fill(String)
Gets or sets the color to be filled in the polygon shape.
Declaration
public MapsPolygonBuilder Fill(string fill)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | fill |
Returns
| Type |
|---|
| MapsPolygonBuilder |
Opacity(Double)
Gets or sets the opacity of the polygon shape.
Declaration
public MapsPolygonBuilder Opacity(double opacity)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | opacity |
Returns
| Type |
|---|
| MapsPolygonBuilder |
Points(Object)
Gets or sets the points that define the polygon shape. This property holds a collection of coordinates that define the polygon shape.
Declaration
public MapsPolygonBuilder Points(object points)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | points |
Returns
| Type |
|---|
| MapsPolygonBuilder |
TooltipTemplate(String)
Specifies any HTML content as a tooltip on the polygon shape. If it is not set, the tooltip will not be displayed.
Declaration
public MapsPolygonBuilder TooltipTemplate(string tooltipTemplate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | tooltipTemplate |
Returns
| Type |
|---|
| MapsPolygonBuilder |
TooltipText(String)
Specifies the tooltip text to be displayed for the polygon shape. If it is not set, the tooltip will not be displayed.
Declaration
public MapsPolygonBuilder TooltipText(string tooltipText)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | tooltipText |
Returns
| Type |
|---|
| MapsPolygonBuilder |