Skip to content

FontInfo ​

原文链接

https://microsoft.github.io/monaco-editor/docs.html#classes/editor.FontInfo.html

快捷链接 ​

Cconstructor
P_bareFontInfoBrand
P_editorStylingBrand
PcanUseHalfwidthRightwardsArrow
PfontFamily
PfontFeatureSettings
PfontSize
PfontVariationSettings
PfontWeight
PisMonospace
PisTrusted
PletterSpacing
PlineHeight
PmaxDigitWidth
PmiddotWidth
PpixelRatio
PspaceWidth
PtypicalFullwidthCharacterWidth
PtypicalHalfwidthCharacterWidth
Pversion
PwsmiddotWidth

constructor ​

  • 语法:new FontInfo(): FontInfo

_bareFontInfoBrand ​

  • 类型:void

_editorStylingBrand ​

  • 类型:void

canUseHalfwidthRightwardsArrow ​

  • 类型:boolean

fontFamily ​

  • 类型:string

fontFeatureSettings ​

  • 类型:string

fontSize ​

  • 类型:number

fontVariationSettings ​

  • 类型:string

fontWeight ​

  • 类型:string

isMonospace ​

  • 类型:boolean

isTrusted ​

  • 类型:boolean

letterSpacing ​

  • 类型:number

lineHeight ​

  • 类型:number

maxDigitWidth ​

  • 类型:number

middotWidth ​

  • 类型:number

pixelRatio ​

  • 类型:number

spaceWidth ​

  • 类型:number

typicalFullwidthCharacterWidth ​

  • 类型:number

typicalHalfwidthCharacterWidth ​

  • 类型:number

version ​

  • 类型:number

wsmiddotWidth ​

  • 类型:number

Released under the MIT License.