443 |
if layer is not None: |
if layer is not None: |
444 |
color = self.choose_color() |
color = self.choose_color() |
445 |
if color is not None: |
if color is not None: |
446 |
layer.SetFill(color) |
layer.classification.SetDefaultFill(color) |
447 |
|
|
448 |
def LayerTransparentFill(self): |
def LayerTransparentFill(self): |
449 |
layer = self.current_layer() |
layer = self.current_layer() |
450 |
if layer is not None: |
if layer is not None: |
451 |
layer.SetFill(None) |
layer.classification.SetDefaultFill(None) |
452 |
|
|
453 |
def LayerOutlineColor(self): |
def LayerOutlineColor(self): |
454 |
layer = self.current_layer() |
layer = self.current_layer() |
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.SetStroke(color) |
layer.classification.SetDefaultStroke(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.SetStroke(None) |
layer.classification.SetDefaultStroke(None) |
464 |
|
|
465 |
def HideLayer(self): |
def HideLayer(self): |
466 |
layer = self.current_layer() |
layer = self.current_layer() |