예제 #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;
 }
예제 #2
0
 public Height(UnitPx value)
 {
     this.value = value;
 }
예제 #3
0
 public Width(UnitPx value)
 {
     this.value = value;
 }
예제 #4
0
 public FontSize(UnitPx value)
 {
     this.value = value;
 }