I need to display a simple html element on a layer on Photoshop using extendscript (JavaScript).
Does someone have any idea how to do this please?
Here is the html element:
<div class="number">1</div>
.number {
width: 50px;
height: 25px;
line-height: 25px;
text-align: center;
font-size: 13px;
background-color: yellow;
border-radius: 10px;
opacity: 0.5;
}
Didn't find how to draw an html element, but drawed a rectangle on a layer, created a text layer, then merge the both layers together:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.