how to round corner of Video Widget

24 views
Skip to first unread message

Degenerate Tech

unread,
Jun 28, 2024, 9:53:52 AM (5 days ago) Jun 28
to Kivy users support
I have video widget how to round corner of video widget ?

ELLIOT GARBUS

unread,
Jun 28, 2024, 9:29:05 PM (4 days ago) Jun 28
to kivy-...@googlegroups.com
I would do something like this… consider you want to create a frame around the video. 
Use a line to draw a rectangle. Use line to draw a rounded rectangle inside the rectangle. Use a mesh to fill in between the rectangle and rounded rectangle. Put the resulting frame over the video.  Or more specifically draw the frame on the video’s canvas. 


Sent from my iPhone

On Jun 28, 2024, at 6:54 AM, Degenerate Tech <sksah...@gmail.com> wrote:


I have video widget how to round corner of video widget ?

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/c76780a2-dd3a-4dec-9288-53a4aa603fddn%40googlegroups.com.

ELLIOT GARBUS

unread,
Jun 29, 2024, 2:12:30 PM (3 days ago) Jun 29
to kivy-...@googlegroups.com
Another option would be to use an EffectWidget and write a shader. 

Sent from my iPhone

On Jun 28, 2024, at 6:54 AM, Degenerate Tech <sksah...@gmail.com> wrote:


I have video widget how to round corner of video widget ?

Reply all
Reply to author
Forward
0 new messages