Created
October 12, 2021 18:44
-
-
Save AlexeyBoiko/29e8d921b068a8b96915eaea240bcce8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<path d="M @X1 @Y1 C @c1x @c1y, @c2x @c2y, @X2 @Y2" /> | |
@code { | |
[Parameter] public Direction Dir1 { get; set; } = Direction.Right; | |
[Parameter] public double X1 { get; set; } | |
[Parameter] public double Y1 { get; set; } | |
[Parameter] public Direction Dir2 { get; set; } = Direction.Left; | |
[Parameter] public double X2 { get; set; } | |
[Parameter] public double Y2 { get; set; } | |
// reference points | |
double c1x; | |
double c1y; | |
double c2x; | |
double c2y; | |
… | |
public enum Direction { | |
Top, | |
Right, | |
Bottom, | |
Left | |
} | |
… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment