public static Font Tile(MetroTileTextSize labelSize, MetroTileTextWeight labelWeight) { if (labelSize == MetroTileTextSize.Small) { if (labelWeight == MetroTileTextWeight.Light) { return(MetroFonts.DefaultLight(12f)); } if (labelWeight == MetroTileTextWeight.Regular) { return(MetroFonts.Default(12f)); } if (labelWeight == MetroTileTextWeight.Bold) { return(MetroFonts.DefaultBold(12f)); } } else if (labelSize == MetroTileTextSize.Medium) { if (labelWeight == MetroTileTextWeight.Light) { return(MetroFonts.DefaultLight(14f)); } if (labelWeight == MetroTileTextWeight.Regular) { return(MetroFonts.Default(14f)); } if (labelWeight == MetroTileTextWeight.Bold) { return(MetroFonts.DefaultBold(14f)); } } else if (labelSize == MetroTileTextSize.Tall) { if (labelWeight == MetroTileTextWeight.Light) { return(MetroFonts.DefaultLight(18f)); } if (labelWeight == MetroTileTextWeight.Regular) { return(MetroFonts.Default(18f)); } if (labelWeight == MetroTileTextWeight.Bold) { return(MetroFonts.DefaultBold(18f)); } } return(MetroFonts.DefaultLight(14f)); }
public static Font Button(MetroButtonSize linkSize, MetroButtonWeight linkWeight) { if (linkSize == MetroButtonSize.Small) { if (linkWeight == MetroButtonWeight.Light) { return(MetroFonts.DefaultLight(11f)); } if (linkWeight == MetroButtonWeight.Regular) { return(MetroFonts.Default(11f)); } if (linkWeight == MetroButtonWeight.Bold) { return(MetroFonts.DefaultBold(11f)); } } else if (linkSize == MetroButtonSize.Medium) { if (linkWeight == MetroButtonWeight.Light) { return(MetroFonts.DefaultLight(13f)); } if (linkWeight == MetroButtonWeight.Regular) { return(MetroFonts.Default(13f)); } if (linkWeight == MetroButtonWeight.Bold) { return(MetroFonts.DefaultBold(13f)); } } else if (linkSize == MetroButtonSize.Tall) { if (linkWeight == MetroButtonWeight.Light) { return(MetroFonts.DefaultLight(16f)); } if (linkWeight == MetroButtonWeight.Regular) { return(MetroFonts.Default(16f)); } if (linkWeight == MetroButtonWeight.Bold) { return(MetroFonts.DefaultBold(16f)); } } return(MetroFonts.Default(11f)); }
public static Font TextBox(MetroTextBoxSize linkSize, MetroTextBoxWeight linkWeight) { if (linkSize == MetroTextBoxSize.Small) { if (linkWeight == MetroTextBoxWeight.Light) { return(MetroFonts.DefaultLight(12f)); } if (linkWeight == MetroTextBoxWeight.Regular) { return(MetroFonts.Default(12f)); } if (linkWeight == MetroTextBoxWeight.Bold) { return(MetroFonts.DefaultBold(12f)); } } else if (linkSize == MetroTextBoxSize.Medium) { if (linkWeight == MetroTextBoxWeight.Light) { return(MetroFonts.DefaultLight(14f)); } if (linkWeight == MetroTextBoxWeight.Regular) { return(MetroFonts.Default(14f)); } if (linkWeight == MetroTextBoxWeight.Bold) { return(MetroFonts.DefaultBold(14f)); } } else if (linkSize == MetroTextBoxSize.Tall) { if (linkWeight == MetroTextBoxWeight.Light) { return(MetroFonts.DefaultLight(18f)); } if (linkWeight == MetroTextBoxWeight.Regular) { return(MetroFonts.Default(18f)); } if (linkWeight == MetroTextBoxWeight.Bold) { return(MetroFonts.DefaultBold(18f)); } } return(MetroFonts.Default(12f)); }
public static Font WaterMark(MetroLabelSize labelSize, MetroWaterMarkWeight labelWeight) { if (labelSize == MetroLabelSize.Small) { if (labelWeight == MetroWaterMarkWeight.Light) { return(MetroFonts.DefaultLight(12f)); } if (labelWeight == MetroWaterMarkWeight.Regular) { return(MetroFonts.Default(12f)); } if (labelWeight == MetroWaterMarkWeight.Bold) { return(MetroFonts.DefaultBold(12f)); } if (labelWeight == MetroWaterMarkWeight.Italic) { return(MetroFonts.DefaultItalic(12f)); } } else if (labelSize == MetroLabelSize.Medium) { if (labelWeight == MetroWaterMarkWeight.Light) { return(MetroFonts.DefaultLight(14f)); } if (labelWeight == MetroWaterMarkWeight.Regular) { return(MetroFonts.Default(14f)); } if (labelWeight == MetroWaterMarkWeight.Bold) { return(MetroFonts.DefaultBold(14f)); } if (labelWeight == MetroWaterMarkWeight.Italic) { return(MetroFonts.DefaultItalic(14f)); } } else if (labelSize == MetroLabelSize.Tall) { if (labelWeight == MetroWaterMarkWeight.Light) { return(MetroFonts.DefaultLight(18f)); } if (labelWeight == MetroWaterMarkWeight.Regular) { return(MetroFonts.Default(18f)); } if (labelWeight == MetroWaterMarkWeight.Bold) { return(MetroFonts.DefaultBold(18f)); } if (labelWeight == MetroWaterMarkWeight.Italic) { return(MetroFonts.DefaultItalic(18f)); } } return(MetroFonts.DefaultLight(14f)); }