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 — No return description is available.

public Vector2 AnchorPoint

Anchor point on the pie edge for leader line.

Returns

UnityEngine.Vector2 — No return description is available.

public Vector2? ElbowPoint

Optional elbow point for leader line.

Returns

System.Nullable{UnityEngine.Vector2} — No return description is available.

public Vector2 LineEndPoint

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

Returns

UnityEngine.Vector2 — No return description is available.

public ChartTextAlignment Alignment

Text alignment for the label.

Returns

ChartGuru.ChartTextAlignment — No return description is available.

public RadialLabelPositioner.SliceLabel Label

The original label data.

Returns

ChartGuru.RadialLabelPositioner.SliceLabel — No return description is available.

public bool NeedsLeaderLine

Whether this label needs a leader line.

Returns

System.Boolean — No return description is available.

public bool IsRightSide

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

Returns

System.Boolean — No return description is available.

public bool WasClamped

Whether this label was clamped to fit within bounds.

Returns

System.Boolean — No return description is available.