VML EndCap 屬性

本主題描述 VML,這是從 Windows Internet Explorer 9 淘汰的功能。 依賴 VML 的網頁和應用程式應移轉至 SVG 或其他廣泛支援的標準。

注意

自 2011 年 12 月起,本主題已封存。 因此,它不再主動維護。 如需詳細資訊,請參閱 封存內容。 如需有關目前 Windows Internet Explorer 版本的資訊、建議和指引,請參閱 Internet Explorer 開發人員中心

 

定義筆劃結尾的上限樣式。 讀取/寫入 VgLineEndCapStyle

適用於

中風

標記語法

<v: element endcap=「 expression 」>

指令碼語法

element .endcap=「expression

表達=element.endcap

備註

數值包括:

  • 一般 (預設)
  • Square
  • Round

VML 標準屬性

範例

線條是以筆劃結尾的平面大寫繪製。

   <v:line strokecolor="red"
   strokeweight="2pt" to="100pt,20pt" from="20pt,20pt">
   <v:stroke endcap="flat"/>
   </v:line>