public BorderProperties(double? width = null, LineStyle style = null, string color = null, MarkupMetric metric = null) { Width = width; Style = style; Color = color; Metric = metric; }
public Font(double? size = null, double? weight = null, FontStyle style = null, MarkupMetric metric = null, string family = null) { if (size.HasValue) Size = size; if (weight.HasValue) Weight = weight; if (style != null) Style = style; if (metric != null) Metric = metric; if (!string.IsNullOrEmpty(family)) Family = family; }