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
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:

ParameterTypeDescription
otherParagraphStyleThe 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:

ParameterTypeDescription
objjava.lang.ObjectThe 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.