public class TextDefaults extends Object
Defines text subsystem defaults
Modifier and Type | Class and Description |
---|---|
static class |
TextDefaults.DefaultFontStrategy
Specifies type of text subsystem defaults
|
Constructor and Description |
---|
TextDefaults() |
Modifier and Type | Method and Description |
---|---|
static Font |
getDefaultFont()
Default font
|
static Font |
getDefaultFontForText(String text)
Default font
|
static List<Font> |
getDefaultFonts() |
static int |
getDefaultFontStrategy()
Default font Strategy type
|
static Font |
getPredefinedFont() |
static void |
setDefaultFonts(List<Font> fonts) |
static void |
setDefaultFontStrategy(int value)
Default font Strategy type
|
static void |
setPredefinedFont(Font value) |
public static int getDefaultFontStrategy()
Default font Strategy type
TextDefaults.DefaultFontStrategy
public static void setDefaultFontStrategy(int value)
value
- DefaultFontStrategy elementTextDefaults.DefaultFontStrategy
public static Font getDefaultFont()
Default font
public static Font getPredefinedFont()
public static void setPredefinedFont(Font value)
Copyright © 2024 Aspose. All Rights Reserved.