@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FontConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configures the display properties of the given text.
| Constructor and Description |
|---|
FontConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
FontConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getFontColor()
Determines the color of the text.
|
String |
getFontDecoration()
Determines the appearance of decorative lines on the text.
|
FontSize |
getFontSize()
The option that determines the text display size.
|
String |
getFontStyle()
Determines the text display face that is inherited by the given font family.
|
FontWeight |
getFontWeight()
The option that determines the text display weight, or boldness.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFontColor(String fontColor)
Determines the color of the text.
|
void |
setFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
|
void |
setFontSize(FontSize fontSize)
The option that determines the text display size.
|
void |
setFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
|
void |
setFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
|
String |
toString()
Returns a string representation of this object.
|
FontConfiguration |
withFontColor(String fontColor)
Determines the color of the text.
|
FontConfiguration |
withFontDecoration(FontDecoration fontDecoration)
Determines the appearance of decorative lines on the text.
|
FontConfiguration |
withFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
|
FontConfiguration |
withFontSize(FontSize fontSize)
The option that determines the text display size.
|
FontConfiguration |
withFontStyle(FontStyle fontStyle)
Determines the text display face that is inherited by the given font family.
|
FontConfiguration |
withFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
|
FontConfiguration |
withFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
|
public void setFontSize(FontSize fontSize)
The option that determines the text display size.
fontSize - The option that determines the text display size.public FontSize getFontSize()
The option that determines the text display size.
public FontConfiguration withFontSize(FontSize fontSize)
The option that determines the text display size.
fontSize - The option that determines the text display size.public void setFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration - Determines the appearance of decorative lines on the text.FontDecorationpublic String getFontDecoration()
Determines the appearance of decorative lines on the text.
FontDecorationpublic FontConfiguration withFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration - Determines the appearance of decorative lines on the text.FontDecorationpublic FontConfiguration withFontDecoration(FontDecoration fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration - Determines the appearance of decorative lines on the text.FontDecorationpublic void setFontColor(String fontColor)
Determines the color of the text.
fontColor - Determines the color of the text.public String getFontColor()
Determines the color of the text.
public FontConfiguration withFontColor(String fontColor)
Determines the color of the text.
fontColor - Determines the color of the text.public void setFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
fontWeight - The option that determines the text display weight, or boldness.public FontWeight getFontWeight()
The option that determines the text display weight, or boldness.
public FontConfiguration withFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
fontWeight - The option that determines the text display weight, or boldness.public void setFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
fontStyle - Determines the text display face that is inherited by the given font family.FontStylepublic String getFontStyle()
Determines the text display face that is inherited by the given font family.
FontStylepublic FontConfiguration withFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
fontStyle - Determines the text display face that is inherited by the given font family.FontStylepublic FontConfiguration withFontStyle(FontStyle fontStyle)
Determines the text display face that is inherited by the given font family.
fontStyle - Determines the text display face that is inherited by the given font family.FontStylepublic String toString()
toString in class ObjectObject.toString()public FontConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.