跳至內容

字體計算器架構

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

返回 FontConfig 的 JavaScript 函數。

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

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

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

external_containerFont 類型

未知 (字體計算器)