Skip to content

SymbolShapeExtensions

ClassChartGuruChartGuru
public static class SymbolShapeExtensions

Fluent extensions on ChartGuru.SymbolShape mirroring Swift Charts’ BasicChartSymbolShape.StrokeBorder(lineWidth:).

public static SymbolStyle StrokeBorder(this SymbolShape shape, float lineWidth = 1)

Returns a ChartGuru.SymbolStyle that draws the symbol as an outline. Swift Charts: .Symbol(.circle.StrokeBorder(lineWidth: 2)).

Parameters

Name Type Description
shape ChartGuru.SymbolShape
lineWidth System.Single

Returns

ChartGuru.SymbolStyle — No return description is available.

public static SymbolStyle StrokeBorder(this SymbolShape shape, StrokeStyle style)

Returns a ChartGuru.SymbolStyle that draws the symbol as an outline using the supplied ChartGuru.StrokeStyle.

Parameters

Name Type Description
shape ChartGuru.SymbolShape
style ChartGuru.StrokeStyle

Returns

ChartGuru.SymbolStyle — No return description is available.