absoluteAngle property

double absoluteAngle

The resulting angle after all the ancestors and the components own angle has been applied.

Implementation

double get absoluteAngle {
  // TODO(spydon): take scale into consideration
  return ancestors(includeSelf: true)
      .whereType<ReadOnlyAngleProvider>()
      .map((c) => c.angle)
      .sum;
}