diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-11 23:05:09 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-11 23:05:09 +0200 |
| commit | a876fd8c161b29418243c671260b59bc7f8742ae (patch) | |
| tree | 20bcb3e110c67da455b275d850ca1ce31357086d /src/GraphicObjects/GraphicObject.cs | |
| parent | 7797eb5e1352028ba30563bbc77cbddd22e0cf83 (diff) | |
TextRun
Diffstat (limited to 'src/GraphicObjects/GraphicObject.cs')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index b6ebeb14..7437c31a 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -48,6 +48,7 @@ namespace go string _name;
Color _background;
Color _foreground;
+ Font _font;
double _cornerRadius;
int _margin;
bool _focusable = false;
@@ -231,6 +232,11 @@ namespace go registerForGraphicUpdate ();
}
}
+ [XmlAttributeAttribute()][DefaultValue("droid,10")]
+ public virtual Font Font {
+ get { return _font; }
+ set { _font = value; }
+ }
[XmlAttributeAttribute()][DefaultValue(2.0)]
public virtual double CornerRadius {
get { return _cornerRadius; }
|