public final class ParagraphStyle extends Style<ParagraphStyle> implements com.aspose.ms.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.
Constructor and Description |
---|
ParagraphStyle()
Initializes a new instance of the
ParagraphStyle class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified object is equal to the current object.
|
boolean |
equals(ParagraphStyle other)
Determines whether the specified object is equal to the current object.
|
static ParagraphStyle |
getDefault()
Gets the ParagraphStyle with default settings.
|
int |
hashCode()
Serves as a hash function for the type.
|
getFontColor, getFontName, getFontSize, getFontStyle, getHighlight, isBold, isItalic, isStrikethrough, isSubscript, isSuperscript, isUnderline, setBold, setFontColor, setFontName, setFontSize, setHighlight, setItalic, setStrikethrough, setSubscript, setSuperscript, setUnderline
public ParagraphStyle()
Initializes a new instance of the ParagraphStyle
class.
public static ParagraphStyle getDefault()
Gets the ParagraphStyle with default settings.
public boolean equals(Object obj)
Determines whether the specified object is equal to the current object.
equals
in interface com.aspose.ms.System.IEquatable<ParagraphStyle>
equals
in class Object
obj
- The object.boolean
.public final boolean equals(ParagraphStyle other)
Determines whether the specified object is equal to the current object.
other
- The object.boolean
.public int hashCode()
Serves as a hash function for the type.
hashCode
in class Style<ParagraphStyle>
int
.Copyright (c) 2002-2022 Aspose. All Rights Reserved.