ParagraphStyle

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

ConstructorDescription
ParagraphStyle()Initializes a new instance of the ParagraphStyle class.

Methods

MethodDescription
getDefault()Gets the ParagraphStyle with default settings.
equals(Object obj)Determines whether the specified object is equal to the current object.
equals(ParagraphStyle other)Determines whether the specified object is equal to the current object.
hashCode()Serves as a hash function for the type.

ParagraphStyle()

public ParagraphStyle()

Initializes a new instance of the ParagraphStyle class.

getDefault()

public static ParagraphStyle getDefault()

Gets the ParagraphStyle with default settings.

Returns: ParagraphStyle

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe object.

Returns: boolean - The boolean .

equals(ParagraphStyle other)

public final boolean equals(ParagraphStyle other)

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

Parameters:

ParameterTypeDescription
otherParagraphStyleThe object.

Returns: boolean - The boolean .

hashCode()

public int hashCode()

Serves as a hash function for the type.

Returns: int - The int .