
**Summary:** 

**Module:** [aspose.gis.painting](/psd/python-net/aspose.gis.painting/)

**Full Name:** aspose.gis.painting.PaintLayerOptions

**Aspose.PSD Version:** 25.9.0

## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| by_default [static] | [PaintLayerOptions](/psd/python-net/aspose.gis.painting/paintlayeroptions) | r |    |
| crisp_edges | bool | r |    |
| opacity | double | r |    |
| scale_x | double | r |    |
| scale_y | double | r |    |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [allow_crisp_edges()](#allow_crisp_edges__1) |    |
| [clone()](#clone__2) | Creates a new object that is a copy of the current instance. |
| [nearly_equal(other)](#nearly_equal_other_3) |    |
| [with_opacity(new_opacity)](#with_opacity_new_opacity_4) |    |
| [with_scale(new_scale_x, new_scale_y)](#with_scale_new_scale_x_new_scale_y_5) |    |


### Method: allow_crisp_edges() {#allow_crisp_edges__1}


```
 allow_crisp_edges() 
```

  

**Returns**

| Type | Description |
| :- | :- |
| [PaintLayerOptions](/psd/python-net/aspose.gis.painting/paintlayeroptions) |  |


### Method: clone() {#clone__2}


```
 clone() 
```

Creates a new object that is a copy of the current instance.

**Returns**

| Type | Description |
| :- | :- |
| [PaintLayerOptions](/psd/python-net/aspose.gis.painting/paintlayeroptions) |  |


### Method: nearly_equal(other) {#nearly_equal_other_3}


```
 nearly_equal(other) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [PaintLayerOptions](/psd/python-net/aspose.gis.painting/paintlayeroptions) |  |

**Returns**

| Type | Description |
| :- | :- |
| bool |  |


### Method: with_opacity(new_opacity) {#with_opacity_new_opacity_4}


```
 with_opacity(new_opacity) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| new_opacity | double |  |

**Returns**

| Type | Description |
| :- | :- |
| [PaintLayerOptions](/psd/python-net/aspose.gis.painting/paintlayeroptions) |  |


### Method: with_scale(new_scale_x, new_scale_y) {#with_scale_new_scale_x_new_scale_y_5}


```
 with_scale(new_scale_x, new_scale_y) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| new_scale_x | double |  |
| new_scale_y | double |  |

**Returns**

| Type | Description |
| :- | :- |
| [PaintLayerOptions](/psd/python-net/aspose.gis.painting/paintlayeroptions) |  |


