FontSchemeStyle Class
Lists font scheme styles that link a font to a theme font.
Declaration
public final class FontSchemeStyle extends IntEnum<FontSchemeStyle>
Remarks
Call the ShapeStyle.getFontStyle() method to get the theme font for shape text. Call the ShapeStyle.setFontStyle(value) method to specify the theme font.
Refer to the following help topic for additional information: Customize Presentation Themes.
Inherited Members
Inheritance
Fields
_MAJOR Field
Applies the major font from the theme font scheme.
Declaration
public static final int _MAJOR
Field Value
| Type | Description |
|---|---|
| int | Applies the major font from the theme font scheme. |
_MINOR Field
Applies the minor font from the theme font scheme.
Declaration
public static final int _MINOR
Field Value
| Type | Description |
|---|---|
| int | Applies the minor font from the theme font scheme. |
_NONE Field
Does not apply a font from the theme font scheme.
Declaration
public static final int _NONE
Field Value
| Type | Description |
|---|---|
| int | Does not apply a font from the theme font scheme. |
MAJOR Field
Applies the major font from the theme font scheme.
Declaration
public static final FontSchemeStyle MAJOR
Field Value
| Type | Description |
|---|---|
FontSchemeStyle |
Applies the major font from the theme font scheme. |
MINOR Field
Applies the minor font from the theme font scheme.
Declaration
public static final FontSchemeStyle MINOR
Field Value
| Type | Description |
|---|---|
FontSchemeStyle |
Applies the minor font from the theme font scheme. |
NONE Field
Does not apply a font from the theme font scheme.
Declaration
public static final FontSchemeStyle NONE
Field Value
| Type | Description |
|---|---|
FontSchemeStyle |
Does not apply a font from the theme font scheme. |
Methods
fromValue(int value) Method
Returns the FontSchemeStyle enumeration constant with the specified integer value.
Declaration
public static FontSchemeStyle fromValue(int value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | int | The integer value of the enumeration constant. |
Returns
| Type | Description |
|---|---|
FontSchemeStyle |
The |
values() Method
Returns an array of all FontSchemeStyle enumeration constants.
Declaration
public static FontSchemeStyle[] values()
Returns
| Type | Description |
|---|---|
| FontSchemeStyle[] | An array of all |