{\r
public static Font default_font;\r
\r
- public enum Style { normal_style, italic, oblique };\r
- public enum Weight { normal_weight=400, bold=700 };\r
+ public enum Style { normal, italic, oblique };\r
+ public enum Weight { normal=400, bold=700 };\r
public double size;\r
public int weight;\r
public Style style;\r
}\r
public Font()\r
{\r
- size = 24;\r
- weight = (int)Weight.normal_weight;\r
- style = Style.normal_style;\r
+ size = 18;\r
+ weight = (int)Weight.normal;\r
+ style = Style.normal;\r
family = new string[1];\r
}\r
public Font(double size_, int weight_, Style style_, string family_)\r
}\r
}\r
\r
- public class Letters : Shape\r
+ public partial class Letters : Shape\r
{\r
protected string str_;\r
protected Font font_;\r
\r
public void draw()\r
{\r
- Main.drawable.letters(this, Color.white);\r
- }\r
- public void draw(Color c)\r
- {\r
- Main.drawable.letters(this, c);\r
+ Main.drawable.letters(this);\r
}\r
+\r
+ public Color fill { get; set; }\r
+ public Stroke stroke { get; set; }\r
+\r
}\r
\r
}\r