Class SvgPolygon
Represents a Blazor component that renders an SVG polygon element used for rendering polygon shapes in chart markers and legends.
Inherited Members
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
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 |