当前位置:网站首页>Aijs add dotted line
Aijs add dotted line
2022-07-21 18:10:00 【jialan75】
function createLine() {
var doc = app.activeDocument;
var line = doc.pathItems.add();
line.stroked = true;
line.width = 4;
line.setEntirePath(Array(Array(100, 100), Array(375, 100)));
return line;
}
function main() {
var pt = 72/25.4;
var secondLine = createLine();
var color = new CMYKColor();
color.cyan = 0;
color.magenta = 95;
color.yellow = 20;
color.black = 0;
secondLine.strokeColor = color;
secondLine.strokeDashes = new Array(pt,pt);
secondLine.strokeWidth = 0.1*pt; // Specify marking width
}
main();
边栏推荐
- leetcode:1125. The smallest necessary team [shape pressing DP board + set covering board]
- redis 实践(一)实现登录
- Have you stepped on the eight most common SQL grammars at work?
- Memories of the final examination of information security of the Department of software
- Yolox ---- human doubts!
- Zdog floating rotation animation JS special effect code
- 史上最全的mysql数据类型汇总-(上)
- Esp8266 learning navigation post
- More and more scenes and industries begin to be related to the metauniverse
- [QT notes] use the timer qtimer in the run() function of qthread
猜你喜欢
Be diligent in sharing foreign lead tasks
selenium网页自动化获取动态数据
Understand RTK Positioning, this one is enough!
看懂RTK定位,这一篇就够啦!
Using zdog to realize JS special effect of outlook lighthouse animation
iNFTnews | 元宇宙浪潮下,企业正通过AR和VR技术改善客户体验
Architect growth: when it comes to architecture, what is it
How to use sketch to design web pages and create grid guides tutorial
Summary of the most complete MySQL data types in history (Part 2)
“为了买台手机,研究大半个月后仍然无从选择”
随机推荐
[test development] software testing - Test Case Design & detailed explanation of test classification
PKI证书体系
C language Parallel Programming (1)
Incomplete printing of fluent | print and Dio
Vi Practice -- import and export of Excel tables
Dynamic memory management
Recursive implementation of combinatorial enumeration
js图表蒸发量降水量平均温度关系图展示
Summer battle! Wotu network takes you to see the marketing creativity of Haida people!
Haproxy+kept load balancing and high availability
Using zdog to realize JS special effect of outlook lighthouse animation
树莓派3B搭建Flink集群
企业和个人选择云桌面的云终端还是云服务器?看完本文就知道
Talk about 10 delayed tasks
gdb使用详细介绍
视频4413.8 区域卷积神经网络(R-CNN)系列 13.5多尺度目标检测&13.6目标检测数据集
VIII Practice -- SQL and dynamic SQL
登录和注册页面扁平化设计
复盘:智能座舱系列文二:它背后的5种交互技术之视觉
WEB3.0+DAO大势所趋,SAFE开创新世界