longestStretchWithRotateX method
rotateX后最长边延伸落在哪个象限
Implementation
List<Direction>? longestStretchWithRotateX() {
if (_rotateX < 0) {
return [Direction.left_top, Direction.right_top];
} else if (_rotateX > 0) {
return [Direction.left_bottom, Direction.right_bottom];
}
return null;
}