Skip to content

RadialLabelPositioner.PositionedLabel

StructChartGuruChartGuru
public struct RadialLabelPositioner.PositionedLabel

Result of label positioning calculation.

public Vector2 Position

Final position for the label.

Returns

UnityEngine.Vector2

public Vector2 AnchorPoint

Anchor point on the pie edge for leader line.

Returns

UnityEngine.Vector2

public Vector2? ElbowPoint

Optional elbow point for leader line.

Returns

System.Nullable{UnityEngine.Vector2}

public Vector2 LineEndPoint

End point of the leader line (before the label, with gap).

Returns

UnityEngine.Vector2

public ChartTextAlignment Alignment

Text alignment for the label.

Returns

ChartGuru.ChartTextAlignment

public RadialLabelPositioner.SliceLabel Label

The original label data.

Returns

ChartGuru.RadialLabelPositioner.SliceLabel

public bool NeedsLeaderLine

Whether this label needs a leader line.

Returns

System.Boolean

public bool IsRightSide

Whether the label is on the right side of the chart.

Returns

System.Boolean

public bool WasClamped

Whether this label was clamped to fit within bounds.

Returns

System.Boolean