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; }
public Height(UnitPx value) { this.value = value; }
public Width(UnitPx value) { this.value = value; }
public FontSize(UnitPx value) { this.value = value; }