Exemplo n.º 1
0
def SetDefaultLineStyle(layer):
    ''' Line Symbol '''
    style = S.getDrawingLine()
    symbol = layer.renderer().symbol()
    symbol.setColor(style['COLOR'])
    symbol.setWidth(style['WIDTH'])
    return
Exemplo n.º 2
0
def SetDefaultLineStyle(layer):
    """ Line Symbol """
    style = S.getDrawingLine()
    symbol = layer.renderer().symbol()
    symbol.setColor(style["COLOR"])
    symbol.setWidth(style["WIDTH"])