字體計算器結構
txt
https://mermaid.dev.org.tw/schemas/config.schema.json#/$defs/C4DiagramConfig/properties/personFont
返回 FontConfig
的 JavaScript 函數。
預設情況下,這些函數會返回適當的 *FontSize
、*FontFamily
、*FontWeight
值。
例如,名為 boundaryFont
的字體計算器可以定義為
javascript
boundaryFont: function () {
return {
fontFamily: this.boundaryFontFamily,
fontSize: this.boundaryFontSize,
fontWeight: this.boundaryFontWeight,
};
}
抽象 | 可擴展 | 狀態 | 可識別 | 自訂屬性 | 額外屬性 | 存取限制 | 定義於 |
---|---|---|---|---|---|---|---|
可否實例化 | 否 | 未知狀態 | 未知可識別性 | 禁止 | 允許 | 無 | config.schema.json* |
personFont 類型
未知 (字體計算器)