This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Python: Brush size API?

Tags: None
(comma "," separated)
mankydomankysee
Registered Member
Posts
2
Karma
0

Python: Brush size API?

Sat Apr 13, 2019 12:45 am
I'm trying to make a python extension/docker for more comfortable touch/portable experience(mostly mimicking Procreate interface since it's that comfortable to use), and aside from the fact that api is not-so-well-documented there is no definite list of actions that are exposed in python api. I've managed to get a list from krita.instance.actions although I'm not so sure it's the right way to get such list. Anyway. There are different actions for brushes there like change opacity and color etc, but there are no actions for size and flow, although they are existing in the interface along with opacity. Is there a way to change a size of a current brush via python like it is possible with opacity?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
mankydomankysee
Registered Member
Posts
2
Karma
0

Re: Python: Brush size API?

Sat Apr 13, 2019 1:38 pm


Thanks! That's exactly what I need!


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell