ParagraphStyle
Contents
[
Hide
]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 collection either this object doesn’t specify a needed setting.
Constructors
| Constructor | Description |
|---|---|
| ParagraphStyle() | Initializes a new instance of the ParagraphStyle class. |
Methods
| Method | Description |
|---|---|
| equals(ParagraphStyle other) | Determines whether the specified object is equal to the current object. |
| equals(Object obj) | Determines whether the specified object is equal to the current object. |
| getDefault() | Gets the ParagraphStyle with default settings. |
| hashCode() | Serves as a hash function for the type. |
ParagraphStyle()
public ParagraphStyle()
Initializes a new instance of the ParagraphStyle class.
equals(ParagraphStyle other)
public final boolean equals(ParagraphStyle other)
Determines whether the specified object is equal to the current object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | ParagraphStyle | The object. |
Returns:
boolean - The boolean.
equals(Object obj)
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()
public static ParagraphStyle getDefault()
Gets the ParagraphStyle with default settings.
Returns: ParagraphStyle
hashCode()
public int hashCode()
Serves as a hash function for the type.
Returns:
int - The int.