def __init__(self, size, family = 'default', style = 'normal', weight = 'normal', underlined = False, faceName = '', colour = 'black'): RendererSpecificLook.__init__(self) self.size = size self.family = family self.style = style self.weight = weight self.underlined = underlined self.faceName = faceName self.colour = colour
def __init__(self, line_colour, width = 1, style = 'solid', cap = 'round', join = 'round', dashes = None, stipple = None): # Call SetCap if you need to specify how the ends of thick lines should # look: round (the default) specifies rounded ends, # projecting specifies a square projection on either end # butt specifies that the ends should be square and should # not project. # join styles: round, bevel and miter RendererSpecificLook.__init__(self) self.line_colour = line_colour self.width = width self.style = style self.cap = cap self.join = join self.dashes = dashes self.stipple = stipple
def __init__(self, line_colour, width=1, style='solid', cap='round', join='round', dashes=None, stipple=None): # Call SetCap if you need to specify how the ends of thick lines should # look: round (the default) specifies rounded ends, # projecting specifies a square projection on either end # butt specifies that the ends should be square and should # not project. # join styles: round, bevel and miter RendererSpecificLook.__init__(self) self.line_colour = line_colour self.width = width self.style = style self.cap = cap self.join = join self.dashes = dashes self.stipple = stipple
def __init__(self, fill_kind, *args): RendererSpecificLook.__init__(self) self.fill_kind = fill_kind self.args = args
def __init__(self, fill_kind, *args): RendererSpecificLook.__init__(self) self.fill_kind = fill_kind self.args = args