-
Notifications
You must be signed in to change notification settings - Fork 982
Closed
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributors
Description
needs methods to expand to include a point or rectangle, something like
CoordinateRect rect1 = new(-10, 10, -10, 10);
Coordinates coord = new(13. 42);
CoordinateRect rect2 = rect1.Expanded(coord);notably the values are mutable, so perhaps this could run in place
ScottPlot/src/ScottPlot5/ScottPlot5/Primitives/CoordinateRect.cs
Lines 8 to 13 in 42987b6
| public struct CoordinateRect : IEquatable<CoordinateRect> | |
| { | |
| public double Left { get; set; } | |
| public double Right { get; set; } | |
| public double Bottom { get; set; } | |
| public double Top { get; set; } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributors