Skip to content
New issue

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

Aligning to "North west" #2140

Closed
AryaAnish121 opened this issue Mar 20, 2024 · 2 comments
Closed

Aligning to "North west" #2140

AryaAnish121 opened this issue Mar 20, 2024 · 2 comments
Labels
question Questions regarding functionality, usage

Comments

@AryaAnish121
Copy link

Hi moviepy users. I am new to moviepy and have a question. I want to know whether it is possible to align TextClip both to north and west

title_clip = TextClip(title, font="Inter-SemiBold", size=(1002, 88), method="caption", align="west", fontsize=36,
color='rgba(0,0,0,0.75)')
title_clip = title_clip.set_position((226, 803)).set_duration(duration)


detail_clip = TextClip(news, font="Rubik-Regular", size=(1469, 474), method="caption", align=("north", "west"), fontsize=34,
color='rgb(103,103,103)')
detail_clip = detail_clip.set_position((226, 226)).set_duration(duration)
@AryaAnish121 AryaAnish121 added the question Questions regarding functionality, usage label Mar 20, 2024
@AryaAnish121 AryaAnish121 changed the title Aligning to "North west" in moviepy Aligning to "North west" Mar 20, 2024
@Cyberghost999
Copy link

align takes only a single argument, not 2 as .set_pos does. You can try align="NorthWest"

@AryaAnish121
Copy link
Author

it worked thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions regarding functionality, usage
Projects
None yet
Development

No branches or pull requests

2 participants