跳至內容

字型計算器架構

txt
https://mermaid.dev.org.tw/schemas/config.schema.json#/$defs/C4DiagramConfig/properties/external_systemFont

返回 FontConfig 的 JavaScript 函數。

預設情況下,這些會返回適當的 *FontSize*FontFamily*FontWeight 值。

例如,名為 boundaryFont 的字型計算器可以定義為

javascript
boundaryFont: function () {
  return {
    fontFamily: this.boundaryFontFamily,
    fontSize: this.boundaryFontSize,
    fontWeight: this.boundaryFontWeight,
  };
}
抽象可擴展狀態可識別自訂屬性額外屬性存取限制定義於
可以實例化未知狀態未知可識別性禁止允許config.schema.json*

外部系統字型類型

未知 (字型計算器)