Draw repeated patterns

20 views
Skip to first unread message

L2000

unread,
Feb 6, 2024, 2:34:06 AMFeb 6
to skia-discuss
Hi
    I need to draw a repeated pattern within a rect. What do you think is the best way to achieve this. I have come across SkShader which has SkTileMode KRepeat.

Regards,
Priya

Sherlock Doyle

unread,
Feb 6, 2024, 10:59:14 AMFeb 6
to skia-discuss
Depending on your use case, there's Sk2DPathEffect too.
Reply all
Reply to author
Forward
0 new messages