根据指定的颜色为控件创建一个新的深颜色对象并按照指定的百分比使其颜色变深。
Creates a new dark color object for the control from the specified color and darkens it by the specified percentage.
例如,对于显示图表或其他图形的控件,可能希望使用每英寸点数(DPI)缩放,以便该控件始终占据一定百分比的屏幕。
For example, you may want to use dots per inch (DPI) scaling on a control displaying a chart or other graphic so that it always occupies a certain percentage of the screen.
应用推荐