We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally posted by Alkondr223322 August 5, 2023 Hi, I'm looking for a way to add an outline to the text in the Movie to make it more visible
` const textLayer = new etro.layer.Text({
startTime: startTime, duration: durationStep, text: sentence, // x: 0, // default: 0 // y: 0, // default: 0 // width: 400, // default: null (full width) // height: 400, // default: null (full height) opacity: 1, // default: 1 //color: etro.parseColor('pink'), // default: new etro.Color(0, 0, 0, 1) randomColor({format: "rgba", alpha: 1}); color: randomColor({format: "rgba", alpha: 1}), font: '50px sans-serif', // default: '10px sans-serif' textX: video[1]/2, // default: 0 textY: video[2] * 0.75, // default: 0 textAlign: 'center', // default: 'left' textBaseline: 'alphabetic', // default: 'alphabetic' textDirection: 'ltr', // default: 'ltr' border: { // default: null (no border) color: etro.parseColor('black'), thickness: 10, }, //background: etro.parseColor('red'), });`
I tried doing it by adding the border, but I don't see any changes. Am I setting the border wrong?
The text was updated successfully, but these errors were encountered:
@clabe45 Are you currently working on it? If not, I am happy to deal with it.
Sorry, something went wrong.
Thanks, sounds great
🐛 Border not working with Text layer
46ba78e
Fixes etro-js#236
✨ Add stroke support for Text layer
513af9f
ea183ab
✨ Add stroke support for Text layer (#239)
Text
1c7a682
Fixes #236
FlandiaYingman
Successfully merging a pull request may close this issue.
Discussed in #234
Originally posted by Alkondr223322 August 5, 2023
Hi, I'm looking for a way to add an outline to the text in the Movie to make it more visible
` const textLayer = new etro.layer.Text({
I tried doing it by adding the border, but I don't see any changes. Am I setting the border wrong?
The text was updated successfully, but these errors were encountered: