Skip to content

SectorGeometry

StructChartGuruChartGuru
public struct SectorGeometry

Screen-space geometry for a single pie/donut sector.

public Vector2 Center

Center of the sector.

Returns

UnityEngine.Vector2

public float InnerRadius

Inner radius of this sector.

Returns

System.Single

public float OuterRadius

Outer radius of this sector.

Returns

System.Single

public float StartAngle

Start angle in radians.

Returns

System.Single

public float EndAngle

End angle in radians.

Returns

System.Single

public Color Color

Color of the sector.

Returns

UnityEngine.Color

public int MarkIndex

Mark index this sector represents.

Returns

System.Int32

public int SeriesIndex

Series index this sector belongs to.

Returns

System.Int32

public float Value

Data value this sector represents.

Returns

System.Single

public Vector2 LabelPosition

Position for the data label (center of arc).

Returns

UnityEngine.Vector2