文字僅保留紅色虛線邊框,內部透明,極具設計感,適合標題、Logo、UI 強調。







| 變體 | 操作差異 | 視覺效果 |
|---|---|---|
| 雙色虛線 | 墨水瓶設定「虛線」→ 顏色漸層/雙色 | 邊框呈現漸變/雙色跳動 |
| 發光邊框 | 套用濾鏤 GlowFilter 於形狀 | 霓虹燈質感 |
| 動畫線框 | 形狀補間改變虛線點距/相位 | 邊框「流動」如載入動畫 |
| 3D 擠壓 | 複製形狀疊加位移 + 漸層描邊 | 立體字效果 |
CanvasRenderingContext2D.setLineDash(),瀏覽器原生渲染。text-stroke: 2px red; -webkit-text-stroke: 2px red; background-clip: text; color: transparent; (僅實線),虛線需 SVG textPath + stroke-dasharray 實現。