pub fn line_for_angle( angle: f32, size: Size2D<f32>, ) -> (Point2D<f32>, Point2D<f32>)
Returns the start / end points of a gradient within a rectangle of the given size, based on the angle (in degree).