AngleUtils class

This class provides utility functions mainly used to handle the relation widgets and their angle, which are lines starting and ending at nodes.

Constructors

AngleUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

bestTextAngle(Offset from, Offset to) double
Suggest the best text angle for a string that sits on a given line, by using the start and end points of that line.
directionFromAngle(Offset from, Offset to) TextDirection
Suggest the best text direction for a string that sits on a given line, by using the start and end points of that line.