SymbolStyle
[Serializable]public readonly struct SymbolStyleCombines a ChartGuru.SymbolShape with optional stroke-border styling.
Constructed via ChartGuru.SymbolShapeExtensions.StrokeBorder(ChartGuru.SymbolShape%2cSystem.Single)
or implicit conversion from ChartGuru.SymbolShape for filled symbols.
Swift Charts equivalent: BasicChartSymbolShape + .StrokeBorder(lineWidth:).
Fields
Section titled “Fields”
public readonly SymbolShape ShapeThe base glyph shape.
Returns
ChartGuru.SymbolShape — No return description is available.
Stroked
Section titled “Stroked”public readonly bool StrokedTrue when the symbol should render as an outline rather than filled.
Returns
System.Boolean — No return description is available.
StrokeWidth
Section titled “StrokeWidth”public readonly float StrokeWidthStroke width in pixels. Only consulted when ChartGuru.SymbolStyle.Stroked is true.
Returns
System.Single — No return description is available.
Stroke
Section titled “Stroke”public readonly StrokeStyle? StrokeOptional explicit stroke style (line cap / dash). When non-null, takes
priority over ChartGuru.SymbolStyle.StrokeWidth.
Returns
System.Nullable{ChartGuru.StrokeStyle} — No return description is available.
Constructors
Section titled “Constructors”
SymbolStyle(SymbolShape, bool, float, StrokeStyle?)
Section titled “SymbolStyle(SymbolShape, bool, float, StrokeStyle?)”public SymbolStyle(SymbolShape shape, bool stroked, float strokeWidth, StrokeStyle? stroke)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
shape |
ChartGuru.SymbolShape | |
stroked |
System.Boolean | |
strokeWidth |
System.Single | |
stroke |
System.Nullable{ChartGuru.StrokeStyle} |
Methods
Section titled “Methods”
Filled(SymbolShape)
Section titled “Filled(SymbolShape)”public static SymbolStyle Filled(SymbolShape shape)Filled symbol of the given shape.
Parameters
| Name | Type | Description |
|---|---|---|
shape |
ChartGuru.SymbolShape |
Returns
ChartGuru.SymbolStyle — No return description is available.
StrokeBorder(SymbolShape, float)
Section titled “StrokeBorder(SymbolShape, float)”public static SymbolStyle StrokeBorder(SymbolShape shape, float lineWidth = 1)Stroked-border symbol with the given line width.
Parameters
| Name | Type | Description |
|---|---|---|
shape |
ChartGuru.SymbolShape | |
lineWidth |
System.Single |
Returns
ChartGuru.SymbolStyle — No return description is available.
StrokeBorder(SymbolShape, StrokeStyle)
Section titled “StrokeBorder(SymbolShape, StrokeStyle)”public static SymbolStyle StrokeBorder(SymbolShape shape, StrokeStyle style)Stroked-border symbol with the given ChartGuru.StrokeStyle.
Parameters
| Name | Type | Description |
|---|---|---|
shape |
ChartGuru.SymbolShape | |
style |
ChartGuru.StrokeStyle |
Returns
ChartGuru.SymbolStyle — No return description is available.
Operators
Section titled “Operators”
implicit operator SymbolStyle(SymbolShape)
Section titled “implicit operator SymbolStyle(SymbolShape)”public static implicit operator SymbolStyle(SymbolShape shape)Implicit conversion from ChartGuru.SymbolShape to a filled ChartGuru.SymbolStyle.
Parameters
| Name | Type | Description |
|---|---|---|
shape |
ChartGuru.SymbolShape |
Returns
ChartGuru.SymbolStyle — No return description is available.