
**Inheritance:**
java.lang.Object, com.aspose.note.Style

**All Implemented Interfaces:**
com.aspose.ms.System.IEquatable, java.lang.Cloneable
```
public final class ParagraphStyle extends Style<ParagraphStyle> implements System.IEquatable<ParagraphStyle>, Cloneable
```

Text style settings to be used if there is no matching TextStyle object in [RichText.getStyles](../../com.aspose.note/richtext\#getStyles) collection either this object doesn't specify a needed setting.
## Constructors

| Constructor | Description |
| --- | --- |
| [ParagraphStyle()](#ParagraphStyle--) | Initializes a new instance of the [ParagraphStyle](../../com.aspose.note/paragraphstyle) class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(ParagraphStyle other)](#equals-com.aspose.note.ParagraphStyle-) | Determines whether the specified object is equal to the current object. |
| [equals(Object obj)](#equals-java.lang.Object-) | Determines whether the specified object is equal to the current object. |
| [getDefault()](#getDefault--) | Gets the ParagraphStyle with default settings. |
| [hashCode()](#hashCode--) | Serves as a hash function for the type. |
### ParagraphStyle() {#ParagraphStyle--}
```
public ParagraphStyle()
```


Initializes a new instance of the [ParagraphStyle](../../com.aspose.note/paragraphstyle) class.

### equals(ParagraphStyle other) {#equals-com.aspose.note.ParagraphStyle-}
```
public final boolean equals(ParagraphStyle other)
```


Determines whether the specified object is equal to the current object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | [ParagraphStyle](../../com.aspose.note/paragraphstyle) | The object. |

**Returns:**
boolean - The `boolean`.
### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```


Determines whether the specified object is equal to the current object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | java.lang.Object | The object. |

**Returns:**
boolean - The `boolean`.
### getDefault() {#getDefault--}
```
public static ParagraphStyle getDefault()
```


Gets the ParagraphStyle with default settings.

**Returns:**
[ParagraphStyle](../../com.aspose.note/paragraphstyle)
### hashCode() {#hashCode--}
```
public int hashCode()
```


Serves as a hash function for the type.

**Returns:**
int - The `int`.
