4

我想在 draw.io 中格式化一个矩形,这样只有一个边框(左边框)是黑色的,其他边框:顶部、右侧和底部必须保持“清晰”。

我试图找出正确的编码来仅影响那些元素,但似乎您只能使用样式键影响整个边框:imageBorder=noneDraw.io 的形状样式中所述

有没有办法只让一个边框具有特定颜色,而其他边框为空白?这种技巧的代码将非常受欢迎。

4

1 回答 1

7

当您在搜索栏中键入“矩形”时,您会看到“部分矩形”,这听起来像您正在寻找的那个。Also, there is a possibility to change some properties in the Format panel on the right when a shape is selected.

您还可以添加以下“verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.rect;fillColor=#ffffff;fillColor2=none;strokeColor=#000000;strokeWidth=1;size=20;indent =5;" 在“编辑样式”窗口中,然后在“格式”面板中使用扩展的属性列表。

玛丽亚

于 2019-08-23T13:16:55.703 回答