Skip to content

Commit 4284f96

Browse files
committed
chore(readme): update example
1 parent b4d3b75 commit 4284f96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ app = ps.Application()
6767
doc = app.documents.add()
6868
new_doc = doc.artLayers.add()
6969
text_color = ps.SolidColor()
70+
text_color.rgb.red = 0
7071
text_color.rgb.green = 255
72+
text_color.rgb.blue = 0
7173
new_text_layer = new_doc
7274
new_text_layer.kind = ps.LayerKind.TextLayer
7375
new_text_layer.textItem.contents = 'Hello, World!'

0 commit comments

Comments
 (0)