public class AlignmentRichStyle extends RichStyle
RichText object.
This API applies only to horizontal text alignment. It does not work for vertical text alignment.
RichStyle.Capability, RichStyle.TypeId| 构造器 | 说明 |
|---|---|
AlignmentRichStyle(int alignment) |
Creates a
AlignmentRichStyle object using a specified alignment. |
public AlignmentRichStyle(int alignment)
AlignmentRichStyle object using a specified alignment.alignment - Indicates the alignment mode.IllegalArgumentException - Throws this exception if the specified alignment is less than or
equal to 0.TextAlignment