Class MapsPolygonBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsPolygonBuilder
Assembly: Syncfusion.EJ2.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
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
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
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
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
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
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
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
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