directionDegrees method
Translates by distance
pixels to the direction.
The direction is in degrees (0 to 360 one turn) clockwise from the positive x-axis.
Implementation
Matrix4Transform directionDegrees(
double directionDegrees,
double distance,
) =>
translateOffset(
Offset.fromDirection(
_toRadians(directionDegrees),
distance,
),
);