shape.Outline.LineJoin
拐角样式。1 = 尖角(miter),圆角 / 斜切是别的值。代码里统一用 1。
签名
shape.Outline.LineJoin
说明
拐角样式。1 = 尖角(miter),圆角 / 斜切是别的值。代码里统一用 1。
Python 示例(可直接运行)
Python
shape = app.ActiveSelectionRange(1)
shape.Outline.LineJoin = 1 # 拐角:1 = 尖角(miter)
print("拐角样式:", shape.Outline.LineJoin)
关于本类:描边
宽度单位跟 doc.Unit(英寸),颜色与端点样式单独设。
- 本类共 10 条,这是其中之一。
- 完整分类见:描边
同类其他接口
- shape.Outline.Width线宽,单位跟 doc.Unit。设 0 就等于去掉描边,比改 Type 省事。代码里满页背景矩形就是这么「无描边」的。
- shape.Outline.Type描边类型。0 = 无描边。
- shape.Outline.Color.RGBAssign(r, g, b)描边颜色 RGB。
- shape.Outline.Color.HexValue描边颜色十六进制,读写。
- shape.Outline.LineCaps端点样式。1 = 圆头,0 平头,2 方头。
- shape.Outline.Justification描边相对轮廓的位置。代码里给文字设 2,得到「描边在外侧」的效果 —— 文字加黑边不糊字形就靠它。
- shape.Outline.Style虚线样式(实线 / 各种虚线)。
- shape.Outline.StartArrow / .EndArrow起止箭头。