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

如果在 RichText.getStyles 集合中没有匹配的 TextStyle 对象,或者此对象未指定所需设置,则使用的文本样式设置。

构造函数

构造函数描述
ParagraphStyle()初始化 ParagraphStyle 类的新实例。

方法

方法描述
equals(ParagraphStyle other)确定指定的对象是否等于当前对象。
equals(Object obj)确定指定的对象是否等于当前对象。
getDefault()获取具有默认设置的 ParagraphStyle。
hashCode()作为该类型的哈希函数。

ParagraphStyle()

public ParagraphStyle()

初始化 ParagraphStyle 类的新实例。

equals(ParagraphStyle other)

public final boolean equals(ParagraphStyle other)

确定指定的对象是否等于当前对象。

Parameters:

参数类型描述
otherParagraphStyle对象。

Returns: boolean - 该 boolean

equals(Object obj)

public boolean equals(Object obj)

确定指定的对象是否等于当前对象。

Parameters:

参数类型描述
对象java.lang.Object对象。

Returns: boolean - 该 boolean

getDefault()

public static ParagraphStyle getDefault()

获取具有默认设置的 ParagraphStyle。

Returns: ParagraphStyle

hashCode()

public int hashCode()

作为该类型的哈希函数。

Returns: int - 该 int