public class TextAlignmentProp extends TextProp
Modifier and Type | Field and Description |
---|---|
static int |
CENTER
For horizontal text, centered.
(对于水平文本,居中。)
|
static int |
DISTRIBUTED
Distribute space between characters.
(在字符之间分配空间。)
|
static int |
JUSTIFY
For horizontal text, flush left and right.
(对于水平文本,左右对齐。)
|
static int |
JUSTIFYLOW
Kashida justify low.
(桧田辩解低。)
|
static int |
LEFT
For horizontal text, left aligned.
(对于水平文本,左对齐。)
|
static int |
RIGHT
For horizontal text, right aligned.
(对于水平文本,右对齐。)
|
static int |
THAIDISTRIBUTED
Thai distribution justification.
(泰国经销理由。)
|
Constructor and Description |
---|
TextAlignmentProp() |
TextAlignmentProp(TextAlignmentProp other) |
Modifier and Type | Method and Description |
---|---|
TextAlignmentProp |
copy()
Clone, eg when you want to actually make use of one of these.
(克隆,例如当您想实际使用其中之一时。)
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
TextParagraph.TextAlign |
getTextAlign() |
equals, getMask, getName, getSize, getValue, getWriteMask, hashCode, setValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int JUSTIFY
public static final int DISTRIBUTED
public static final int THAIDISTRIBUTED
public static final int JUSTIFYLOW
public TextAlignmentProp()
public TextAlignmentProp(TextAlignmentProp other)
public TextParagraph.TextAlign getTextAlign()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
TextProp
public TextAlignmentProp copy()
TextProp
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
TextProp
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.