def set_capstyle(self, cs): """ Set the capstyle as a string in ('butt', 'round', 'projecting') """ DEBUG_MSG("set_capstyle()", 1, self) self.select() GraphicsContextBase.set_capstyle(self, cs) self._pen.SetCap(GraphicsContextWx._capd[self._capstyle]) self.gfx_ctx.SetPen(self._pen) self.unselect()
def set_capstyle(self, cs): GraphicsContextBase.set_capstyle(self, cs) self.gdkGC.cap_style = self._capd[self._capstyle]
def set_capstyle(self, cs): '''Set the cap style based on the kivy framework cap styles. ''' GraphicsContextBase.set_capstyle(self, cs) self.line['cap_style'] = self._capd[self._capstyle]
def set_capstyle(self, cs): """ Set the capstyle as a string in ('butt', 'round', 'projecting') """ GraphicsContextBase.set_capstyle(self, cs) self.gdkGC.cap_style = self._capd[self._capstyle]