Constructors
TeXFonts
#public TeXFonts(Font math, Color mathTint, Font body, Color bodyTint, Font code, Color codeTint)
Create a new TeX font aggregate from scratch.
Parameters:
| math (Font) | |
| mathTint (Color) | |
| body (Font) | |
| bodyTint (Color) | |
| code (Font) | |
| codeTint (Color) |
Properties
Methods
Default
#Create default TeX fonts.
Parameters:
| size (float) | Size of the body font. |
| colour (Color = null) | Optional colour, block is the default. |
WithBodyFont
#Override the body font properties.
Parameters:
| font (Font = null) | Optional new font. |
| tint (Color? = null) | Optional new colour. |