forked from eesast/THUAI7
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,173 additions
and
460 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Client.Model | ||
{ | ||
public class DrawCircLabel : BindableObject | ||
{ | ||
private float x; | ||
public float X | ||
{ | ||
get | ||
{ | ||
return x; | ||
} | ||
set | ||
{ | ||
x = value; | ||
OnPropertyChanged(); | ||
OnPropertyChanged(nameof(Thick)); | ||
} | ||
} | ||
private float y; | ||
public float Y | ||
{ | ||
get | ||
{ | ||
return y; | ||
} | ||
set | ||
{ | ||
y = value; | ||
OnPropertyChanged(); | ||
OnPropertyChanged(nameof(Thick)); | ||
} | ||
} | ||
private Thickness thick; | ||
public Thickness Thick | ||
{ | ||
get | ||
{ | ||
thick.Left = x; | ||
thick.Top = y; | ||
return thick; | ||
} | ||
set | ||
{ | ||
thick = value; | ||
OnPropertyChanged(); | ||
} | ||
} | ||
private float radius; | ||
public float Radius | ||
{ | ||
get | ||
{ | ||
return radius; | ||
} | ||
set | ||
{ | ||
radius = value; | ||
OnPropertyChanged(); | ||
} | ||
} | ||
private Color color; | ||
public Color Color | ||
{ | ||
get | ||
{ | ||
return color; | ||
} | ||
set | ||
{ | ||
color = value; | ||
OnPropertyChanged(); | ||
} | ||
} | ||
private string text; | ||
public string Text | ||
{ | ||
get | ||
{ | ||
return text; | ||
} | ||
set | ||
{ | ||
text = value; | ||
OnPropertyChanged(); | ||
} | ||
} | ||
|
||
private float fontSize; | ||
public float FontSize | ||
{ | ||
get | ||
{ | ||
return fontSize; | ||
} | ||
set | ||
{ | ||
fontSize = value; | ||
OnPropertyChanged(); | ||
} | ||
} | ||
|
||
private Color textColor; | ||
public Color TextColor | ||
{ | ||
get | ||
{ | ||
return textColor; | ||
} | ||
set | ||
{ | ||
textColor = value; | ||
OnPropertyChanged(); | ||
} | ||
} | ||
|
||
} | ||
} |
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
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
Oops, something went wrong.