455 |
if layer is not None: |
if layer is not None: |
456 |
color = self.choose_color() |
color = self.choose_color() |
457 |
if color is not None: |
if color is not None: |
458 |
layer.GetClassification().SetDefaultStroke(color) |
layer.GetClassification().SetDefaultLineColor(color) |
459 |
|
|
460 |
def LayerNoOutline(self): |
def LayerNoOutline(self): |
461 |
layer = self.current_layer() |
layer = self.current_layer() |
462 |
if layer is not None: |
if layer is not None: |
463 |
layer.GetClassification().SetDefaultStroke(Color.None) |
layer.GetClassification().SetDefaultLineColor(Color.None) |
464 |
|
|
465 |
def HideLayer(self): |
def HideLayer(self): |
466 |
layer = self.current_layer() |
layer = self.current_layer() |