FontSourceOptions
Hierarchy
- Omit<FontOptions, family>
- GraphicOptions
- RasterOptions
- FontSourceOptions
Index
Properties
optionalinheritedbaseAlign
optionalinheritedbold
Optionally set whether the font is bold, by default false
optionalbustCache
Whether or not to cache-bust requests
optionalinheritedcolor
Optionally specify the color of the raster's bitmap context, by default Color.Black
optionalinheriteddirection
Optionally specify the text direction, by default LeftToRight
optionalinheritedfiltering
Optionally specify what image filtering mode should be used, ImageFiltering.Pixel for pixel art, ImageFiltering.Blended for hi-res art
By default unset, rasters defer to the engine antialiasing setting
optionalinheritedflipHorizontal
Should the graphic be flipped horizontally
optionalinheritedflipVertical
Should the graphic be flipped vertically
optionalinheritedheight
The height of the graphic
optionalinheritedlineCap
Optionally specify the line end style, default is "butt".
optionalinheritedlineDash
Optionally specify the line dash of the raster's bitmap, by default [] which means none
optionalinheritedlineHeight
Optionally override the text line height in pixels, useful for multiline text. If unset will use default.
optionalinheritedlineWidth
Optionally specify the line width of the raster's bitmap, by default 1 pixel
optionalinheritedopacity
The opacity of the graphic between (0 -1)
optionalinheritedorigin
The origin of the drawing in pixels to use when applying transforms, by default it will be the center of the image in pixels
optionalinheritedpadding
Optionally specify the padding to apply to the bitmap
optionalinheritedquality
Optionally specify the quality of the text bitmap, it is a multiplier on the size size, by default 2. Higher quality text has a higher memory impact
optionalinheritedrotation
The rotation of the graphic
optionalinheritedscale
The scale of the graphic
optionalinheritedshadow
optionalinheritedsize
Optionally the size of the font in the specified FontUnit by default 10.
optionalinheritedsmoothing
Optionally specify "smoothing" if you want antialiasing to apply to the raster's bitmap context, by default false
optionalinheritedstrokeColor
Optionally specify the stroke color of the raster's bitmap context, by default undefined
optionalinheritedstyle
Optionally specify the font style, by default Normal
optionalinheritedtextAlign
Optionally specify the text align, by default Left
optionalinheritedtint
The tint of the graphic, this color will be multiplied by the original pixel colors
optionalinheritedunit
Optionally specify unit to measure fonts in, by default Pixels
optionalinheritedwidth
The width of the graphic
Optionally specify the text base align, by default Alphabetic