menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class MapsPolygon

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    MapsPolygon
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsPolygon : EJTagHelper

    Constructors

    MapsPolygon()

    Declaration
    public MapsPolygon()

    Properties

    BorderColor

    Gets or sets the color to be used in the border of the polygon shape.

    Declaration
    public string BorderColor { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "black"

    BorderOpacity

    Gets or sets the opacity of the border of the polygon shape.

    Declaration
    public double BorderOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    BorderWidth

    Gets or sets the width of the border of the polygon shape.

    Declaration
    public double BorderWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Fill

    Gets or sets the color to be filled in the polygon shape.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "black"

    Opacity

    Gets or sets the opacity of the polygon shape.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Points

    Gets or sets the points that define the polygon shape. This property holds a collection of coordinates that define the polygon shape.

    Declaration
    public object Points { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    TooltipTemplate

    Specifies any HTML content as a tooltip on the polygon shape. If it is not set, the tooltip will not be displayed.

    Declaration
    public string TooltipTemplate { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    TooltipText

    Specifies the tooltip text to be displayed for the polygon shape. If it is not set, the tooltip will not be displayed.

    Declaration
    public string TooltipText { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved