TextBulletFont Class
Specifies the text bullet font.
Declaration
public final class TextBulletFont extends Struct<TextBulletFont>
Inherited Members
Inheritance
Constructors
TextBulletFont() Constructor
Initializes a new instance of the TextBulletFont class.
Declaration
public TextBulletFont()
TextBulletFont(String fontName, String panose, byte charset, byte pitchFamily) Constructor
Initializes a new instance of the TextBulletFont class with specified settings.
Declaration
public TextBulletFont(String fontName, String panose, byte charset, byte pitchFamily)
Parameters
| Name | Type | Description |
|---|---|---|
| fontName | String | The custom font name used for bullets. |
| panose | String | The PANOSE font classification string. |
| charset | byte | The character set identifier. |
| pitchFamily | byte | The pitch and family information. |
TextBulletFont(String fontName) Constructor
Initializes a new instance of the TextBulletFont class with specified settings.
Declaration
public TextBulletFont(String fontName)
Parameters
| Name | Type | Description |
|---|---|---|
| fontName | String | The custom font name used for bullets. |
TextBulletFont(TextFont typeface) Constructor
Initializes a new instance of the TextBulletFont class with specified settings.
Declaration
public TextBulletFont(TextFont typeface)
Parameters
| Name | Type | Description |
|---|---|---|
| typeface | TextFont | Specifies the custom typeface used for bullets. |
Fields
AUTOMATIC Field
Indicates that the text bullet font is determined automatically.
Declaration
public static final TextBulletFont AUTOMATIC
Field Value
| Type | Description |
|---|---|
TextBulletFont |
A |
Type Field
Gets the bullet typeface mode.
Declaration
public TextBulletTypefaceType Type
Field Value
| Type | Description |
|---|---|
| TextBulletTypefaceType | The bullet typeface mode. |
USE_TEXT_SETTINGS Field
Returns a TextBulletFont object with settings based on the text settings.
Declaration
public static final TextBulletFont USE_TEXT_SETTINGS
Field Value
| Type | Description |
|---|---|
TextBulletFont |
A |
Methods
equals(Object obj) Method
Determines whether the specified object is equal to this bullet font.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with this bullet font. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getCharset() Method
Gets the font’s character set.
Declaration
public byte getCharset()
Returns
| Type | Description |
|---|---|
| byte | The font’s character set. |
getFontName() Method
Returns the text bullet font name.
Declaration
public String getFontName()
Returns
| Type | Description |
|---|---|
| String | The text bullet font name. |
getPanose() Method
Returns the PANOSE classification of the font.
Declaration
public String getPanose()
Returns
| Type | Description |
|---|---|
| String | The PANOSE classification of the font. |
getPitchFamily() Method
Returns the pitch and family of the font.
Declaration
public byte getPitchFamily()
Returns
| Type | Description |
|---|---|
| byte | The pitch and family of the font. |
hashCode() Method
Returns a hash code value for this bullet font.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |