draw.io - 在draw.io中更改矩形各个边框的样式
问题描述
我想在 draw.io 中格式化一个矩形,这样只有一个边框(左边框)是黑色的,其他边框:顶部、右侧和底部必须保持“清晰”。
我试图找出正确的编码来仅影响那些元素,但似乎您只能使用样式键影响整个边框:imageBorder=none
如Draw.io 的形状样式中所述
有没有办法只让一个边框具有特定颜色,而其他边框为空白?这种技巧的代码将非常受欢迎。
解决方案
当您在搜索栏中键入“矩形”时,您会看到“部分矩形”,这听起来像您正在寻找的那个。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;" 在“编辑样式”窗口中,然后在“格式”面板中使用扩展的属性列表。
玛丽亚
推荐阅读
- php - Socket.io 向特定用户发送消息
- vue.js - d3.js | projection.rotate() 返回值 [NaN, 0, 0]
- amazon-web-services - Amazon Lightsail 可以运行为 arm 平台构建的容器吗?
- batch-file - 在找到“-1”或任何其他数字“-[0-9]”后批量删除部分字符串
- hybris - SAP Hybris Backoffice - 高级搜索结果
- javascript - 删除具有各种属性的对象数组中的重复项
- ffmpeg - 如何将多个 360 度图像转换为视频
- java - 对于涉及数组的拆分方法(在java中),什么时候出现“”?
- javascript - Javascript,意外标记 ' ) '
- node.js - 将视频上传到 Youtube 并放弃 API 处理视频无法处理错误