def METHOD_NAME(self, shape, line=True, fill=True, font=True):
    if line:
        self.set_line_from_shape(shape)
    if fill:
        self.set_fill_from_shape(shape)
    if font:
        self.set_font_from_shape(shape)