Pen 元素
- Last UpdatedSep 24, 2024
- 1 minute read
Pen 元素用于指定对象边框的线条特征。
以下元素可用于指定 Pen 元素:
|
字段 |
描述 |
|---|---|
|
PenColor |
使用颜色元素:RGB 元素、名称元素、引用元素或值元素。 |
|
PenWidth |
笔画宽度,以像素单位。值可以为 1、2、4、6、9 或 11。 |
|
PenStyle |
值可以为 None、Solid、Dash、Dot、DashDot、DashDotDot。 |
示例:
<Pen>
<PenColor>
<R>0</R>
<G>0</G>
<B>0</B>
</PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>