TextBulletSize Class
A structure that is used to specify the text bullet size.
Declaration
public final class TextBulletSize extends Struct<TextBulletSize>
Inherited Members
Inheritance
Constructors
TextBulletSize() Constructor
Initializes a new instance of the TextBulletSize class.
Declaration
public TextBulletSize()
TextBulletSize(TextBulletSizeType type, float value) Constructor
Initializes a new instance of the TextBulletSize class with specified settings.
Declaration
public TextBulletSize(TextBulletSizeType type, float value)
Parameters
| Name | Type | Description |
|---|---|---|
| type | TextBulletSizeType | Specifies the bullet size mode. |
| value | float | Specifies the bullet size value used for percentage or point-based sizing. |
Fields
AUTOMATIC Field
Indicates that the text bullet size is determined automatically.
Declaration
public static final TextBulletSize AUTOMATIC
Field Value
| Type | Description |
|---|---|
TextBulletSize |
A |
Type Field
The bullet size mode.
Declaration
public TextBulletSizeType Type
Field Value
| Type | Description |
|---|---|
| TextBulletSizeType | The bullet size mode. |
USE_TEXT_SETTINGS Field
Returns a value that specifies that the text bullet size is the same as the text size.
Declaration
public static final TextBulletSize USE_TEXT_SETTINGS
Field Value
| Type | Description |
|---|---|
TextBulletSize |
A |
Methods
equals(Object obj) Method
Determines whether the specified object is equal to this bullet size.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with this bullet size. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getPercentage() Method
Returns the text bullet size as a percentage of the text size.
Declaration
public float getPercentage()
Returns
| Type | Description |
|---|---|
| float | The percentage of the text size to specify the text bullet size. |
getPoint() Method
Returns the text bullet size in points.
Declaration
public int getPoint()
Returns
| Type | Description |
|---|---|
| int | The text bullet size in points. |
hashCode() Method
Returns a hash code value for this bullet size.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |