menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsPolygonBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsPolygonBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    MapsPolygonBuilder
    Namespace: Syncfusion.EJ2.Maps
    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
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved