一个样式可以有任意个属性:背景颜色、边框颜色、边框宽度、边框样式、字体颜色、字体集和字体大小。
A style can have any number of attributes: background color, border color, border width, border style, font color, font family, and font size.
指定了插字符的宽度(逻辑单位)。如果这个参数为0,则宽度被设为系统定义的窗口边框宽度。
Specifies the width of the caret (in logical units). If this parameter is 0, the width is set to the system-defined window-border width.
如果你在屏幕上向别人展示一个带有边框的元素,问他们这个元素的宽度是多少,他们会很自然的从边框的外边缘算起(即把边框宽度也计算在内)。
If you showed people an element with a border on the screen and asked them the width of that element, they would naturally measure from the outside edges of the border.
应用推荐