Skip to content

feat: Add CoordinateLine getter and setter for LinePlot#4277

Merged
swharden merged 5 commits intoScottPlot:mainfrom
aespitia:feature/aespitia/sp5-plotline
Oct 9, 2024
Merged

feat: Add CoordinateLine getter and setter for LinePlot#4277
swharden merged 5 commits intoScottPlot:mainfrom
aespitia:feature/aespitia/sp5-plotline

Conversation

@aespitia
Copy link
Contributor

Add CoordinateLine getter and setter for LinePlot

#4274

included unit tests

        Coordinates start = new Coordinates(0, 0);
        Coordinates end = new Coordinates(5, 6);

        LinePlot lp = new();

        lp.Line = new CoordinateLine(start, end);

        var newStart = lp.Line.Start;
        var newEnd = lp.Line.End;

Is this what you had in mind @swharden?

@swharden swharden enabled auto-merge (squash) October 9, 2024 19:19
@swharden swharden merged commit 0161fca into ScottPlot:main Oct 9, 2024
@aespitia aespitia deleted the feature/aespitia/sp5-plotline branch October 11, 2024 14:14
@swharden swharden linked an issue Oct 12, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LinePlot: Add CoordinateLine property

2 participants