Contains information about text spacing.
More...
Contains information about text spacing.
Definition at line 74 of file Enums.cs.
◆ TextSpacing() [1/2]
| VectSharp.TextSpacing.TextSpacing |
( |
double |
nonWhitespaceScale, |
|
|
double |
nonWhitespaceAdd, |
|
|
double |
whitespaceScale, |
|
|
double |
whitespaceAdd |
|
) |
| |
Create a new TextSpacing with the specified spacing parameters.
- Parameters
-
| nonWhitespaceScale | Scaling factor for non-whitespace characters. |
| nonWhitespaceAdd | Increment for non-whitespace characters. |
| whitespaceScale | Scaling factor for whitespace characters. |
| whitespaceAdd | Increment for whitespace characters. |
Definition at line 104 of file Enums.cs.
◆ TextSpacing() [2/2]
| VectSharp.TextSpacing.TextSpacing |
( |
double |
scale, |
|
|
double |
add |
|
) |
| |
Create a new TextSpacing with the specified spacing parameters.
- Parameters
-
| scale | Scaling factor. |
| add | Increment. |
Definition at line 117 of file Enums.cs.
◆ Equals() [1/2]
| override bool VectSharp.TextSpacing.Equals |
( |
object |
obj | ) |
|
◆ Equals() [2/2]
◆ GetHashCode()
| override int VectSharp.TextSpacing.GetHashCode |
( |
| ) |
|
◆ operator!=()
Compares two TextSpacing objects.
- Parameters
-
- Returns
false if the two TextSpacing objects specify the same spacing parameters, true otherwise.
Definition at line 180 of file Enums.cs.
◆ operator==()
Compares two TextSpacing objects.
- Parameters
-
- Returns
true if the two TextSpacing objects specify the same spacing parameters, false otherwise.
Definition at line 169 of file Enums.cs.
◆ Default
Default text spacing.
Definition at line 128 of file Enums.cs.
◆ NonWhitespaceAdd
| double VectSharp.TextSpacing.NonWhitespaceAdd |
|
get |
Increment for non-whitespace characters.
Definition at line 95 of file Enums.cs.
◆ NonWhitespaceScale
| double VectSharp.TextSpacing.NonWhitespaceScale |
|
get |
Scaling factor for non-whitespace characters.
Definition at line 90 of file Enums.cs.
◆ WhitespaceAdd
| double VectSharp.TextSpacing.WhitespaceAdd |
|
get |
Increment for whitespace characters.
Definition at line 84 of file Enums.cs.
◆ WhitespaceScale
| double VectSharp.TextSpacing.WhitespaceScale |
|
get |
Scaling factor for whitespace characters.
Definition at line 79 of file Enums.cs.
The documentation for this struct was generated from the following file: