Ejemplo n.º 1
0
 public Style(string fontName, UnitPx fontSize, FontWeight fontWeight, FontStyle fontStyle, TextTransform textTransform, TextDecoration textDecoration, Color color)
 {
     this.FontName       = fontName;
     this.FontSize       = fontSize;
     this.FontWeight     = fontWeight;
     this.FontStyle      = fontStyle;
     this.TextTransform  = textTransform;
     this.TextDecoration = textDecoration == TextDecoration.Inherit? TextDecoration.None: textDecoration;
     this.Color          = color;
 }
Ejemplo n.º 2
0
 public Height(UnitPx value)
 {
     this.value = value;
 }
Ejemplo n.º 3
0
 public Width(UnitPx value)
 {
     this.value = value;
 }
Ejemplo n.º 4
0
 public FontSize(UnitPx value)
 {
     this.value = value;
 }