alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SvgPolygon

    Represents a Blazor component that renders an SVG polygon element used for rendering polygon shapes in chart markers and legends.

    Inheritance
    object
    ComponentBase
    SvgClass
    SvgPolygon
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    SvgClass.Class
    Namespace: Syncfusion.Blazor.DataVizCommon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SvgPolygon : SvgClass, IComponent, IHandleEvent, IHandleAfterRender

    Constructors

    SvgPolygon()

    Declaration
    public SvgPolygon()

    Properties

    Fill

    Gets or sets the fill color of the polygon.

    Declaration
    [Parameter]
    public string Fill { get; set; }
    Property Value
    Type
    string

    Id

    Gets or sets the unique identifier for the SVG polygon element.

    Declaration
    [Parameter]
    public override string Id { get; set; }
    Property Value
    Type
    string
    Overrides
    SvgClass.Id

    points

    Gets or sets the points attribute defining the vertices of the polygon as a space-separated list of x,y coordinates.

    Declaration
    [Parameter]
    public string points { get; set; }
    Property Value
    Type
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved