PolylineTopology
public struct PolylineTopologyOne series-level polyline (line chart series, area chart series). Tracks
the marks the line connects (by reference into MarkShapeBatch.Marks)
plus the visual style needed to draw the connecting stroke / fill.
Fields
Section titled “Fields”
SeriesIndex
Section titled “SeriesIndex”public int SeriesIndexReturns
System.Int32
public MarkKey KeyIdentity of the series this polyline connects, from MarkKey.ForSeries(IChartMark).
Returns
ChartGuru.MarkKey
MarkIndices
Section titled “MarkIndices”public List<int> MarkIndicesIndices into MarkShapeBatch.Marks in draw order.
Returns
System.Collections.Generic.List{System.Int32}
StrokeColor
Section titled “StrokeColor”public Color StrokeColorReturns
UnityEngine.Color
StrokeWidth
Section titled “StrokeWidth”public float StrokeWidthReturns
System.Single
HasFill
Section titled “HasFill”public bool HasFillReturns
System.Boolean
FillColor
Section titled “FillColor”public Color FillColorReturns
UnityEngine.Color
FillAlpha
Section titled “FillAlpha”public float FillAlphaReturns
System.Single
BaselineY
Section titled “BaselineY”public float BaselineYReturns
System.Single
RadialFill
Section titled “RadialFill”public bool RadialFillTrue when the fill closes on PolylineTopology.FillCenter, like a radar polygon, instead of the baseline.
Returns
System.Boolean
FillCenter
Section titled “FillCenter”public Vector2 FillCenterReturns
UnityEngine.Vector2
Methods
Section titled “Methods”
LowerPoint(Vector2)
Section titled “LowerPoint(Vector2)”public Vector2 LowerPoint(Vector2 upper)Where the fill below upper closes: the fill center or the point on the baseline.
Parameters
| Name | Type |
|---|---|
upper | UnityEngine.Vector2 |
Returns
UnityEngine.Vector2