Skip to content

Commit

Permalink
Update recipes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrawl authored Oct 29, 2023
1 parent 7e8ec17 commit 1a87747
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/guides/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,20 @@ def tick args
# X Y TEXT
args.outputs.labels << [640, 360, "I am a black label."]
end
A Colored Label link
```

## A Colored Label

```ruby
def tick args
# A colored label
# X Y TEXT, RED GREEN BLUE ALPHA
args.outputs.labels << [640, 360, "I am a redish label.", 255, 128, 128, 255]
end
Extended Label Properties link
```

## Extended Label Properties
```ruby
def tick args
# A colored label
# X Y TEXT SIZE ALIGNMENT RED GREEN BLUE ALPHA FONT FILE
Expand Down

0 comments on commit 1a87747

Please sign in to comment.