示例#1
0
 def color_at_normalized_polar_pos(self, r, theta):
     col = HSVColor(color=self.get_managed_color())
     col.h = theta
     col.s = r
     return col
示例#2
0
 def get_color_for_bar_amount(self, amt):
     col = HSVColor(color=self.get_managed_color())
     col.h = amt
     return col
示例#3
0
 def color_at_normalized_polar_pos(self, r, theta):
     col = HSVColor(color=self.get_managed_color())
     col.h = theta
     return col
示例#4
0
文件: sliders.py 项目: briend/mypaint
 def get_color_for_bar_amount(self, amt):
     col = HSVColor(color=self.get_managed_color())
     col.h = amt
     return col