RadialLabelPositioner.PositionedLabel
public struct RadialLabelPositioner.PositionedLabelResult of label positioning calculation.
Fields
Section titled “Fields”
Position
Section titled “Position”public Vector2 PositionFinal position for the label.
Returns
UnityEngine.Vector2
AnchorPoint
Section titled “AnchorPoint”public Vector2 AnchorPointAnchor point on the pie edge for leader line.
Returns
UnityEngine.Vector2
ElbowPoint
Section titled “ElbowPoint”public Vector2? ElbowPointOptional elbow point for leader line.
Returns
System.Nullable{UnityEngine.Vector2}
LineEndPoint
Section titled “LineEndPoint”public Vector2 LineEndPointEnd point of the leader line (before the label, with gap).
Returns
UnityEngine.Vector2
Alignment
Section titled “Alignment”public ChartTextAlignment AlignmentText alignment for the label.
Returns
ChartGuru.ChartTextAlignment
public RadialLabelPositioner.SliceLabel LabelThe original label data.
Returns
ChartGuru.RadialLabelPositioner.SliceLabel
NeedsLeaderLine
Section titled “NeedsLeaderLine”public bool NeedsLeaderLineWhether this label needs a leader line.
Returns
System.Boolean
IsRightSide
Section titled “IsRightSide”public bool IsRightSideWhether the label is on the right side of the chart.
Returns
System.Boolean
WasClamped
Section titled “WasClamped”public bool WasClampedWhether this label was clamped to fit within bounds.
Returns
System.Boolean