diff --git a/doc/source/handycontrol/extend_controls/outlineText/index.md b/doc/source/handycontrol/extend_controls/outlineText/index.md index ca12ad62..4b352404 100644 --- a/doc/source/handycontrol/extend_controls/outlineText/index.md +++ b/doc/source/handycontrol/extend_controls/outlineText/index.md @@ -1,5 +1,43 @@ --- -title: 建设中 +title: OutlineText 轮廓文本 --- -建设中 \ No newline at end of file +`OutlineText` 可以使文本突出显示. + +```cs +public class OutlineText : FrameworkElement +``` + +# 属性 + +|属性|描述|默认值|备注| +|-|-|-|-| +|StrokePosition|轮廓位置|StrokePosition.Center|| +|Text|文本||| +|TextAlignment|文本对齐方式|TextAlignment.Left|| +|TextTrimming|文本截断方式|TextTrimming.None|| +|TextWrapping|文本换行方式|TextWrapping.NoWrap|| +|Fill|文本颜色||| +|Stroke|轮廓颜色||| +|StrokeThickness|轮廓粗细|0|| +|FontFamily|字体||| +|FontSize|字体大小||| +|FontStretch|字体变形方式||| +|FontStyle|字体风格||| +|FontWeight|字体粗细|||| + +# 案例 + +```xml + + + + + + + + + +``` + +![OutlineText](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/OutlineText.png) \ No newline at end of file