Skip to content

PolylineTopology

StructChartGuruChartGuru
public struct PolylineTopology

One 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.

public int SeriesIndex

Returns

System.Int32

public MarkKey Key

Identity of the series this polyline connects, from MarkKey.ForSeries(IChartMark).

Returns

ChartGuru.MarkKey

public List<int> MarkIndices

Indices into MarkShapeBatch.Marks in draw order.

Returns

System.Collections.Generic.List{System.Int32}

public Color StrokeColor

Returns

UnityEngine.Color

public float StrokeWidth

Returns

System.Single

public bool HasFill

Returns

System.Boolean

public Color FillColor

Returns

UnityEngine.Color

public float FillAlpha

Returns

System.Single

public float BaselineY

Returns

System.Single

public bool RadialFill

True when the fill closes on PolylineTopology.FillCenter, like a radar polygon, instead of the baseline.

Returns

System.Boolean

public Vector2 FillCenter

Returns

UnityEngine.Vector2

public Vector2 LowerPoint(Vector2 upper)

Where the fill below upper closes: the fill center or the point on the baseline.

Parameters

NameType
upperUnityEngine.Vector2

Returns

UnityEngine.Vector2