# C1.Maui.Core.C1Font.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Maui_Core_C1Font__ctor_" data-uid="C1.Maui.Core.C1Font.#ctor*">C1Font Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Maui_Core_C1Font__ctor_" data-uid="C1.Maui.Core.C1Font.#ctor*"></a>
<h4 id="C1_Maui_Core_C1Font__ctor_System_Func_System_Double__System_Func_System_String__System_Func_Microsoft_Maui_Controls_FontAttributes__" data-uid="C1.Maui.Core.C1Font.#ctor(System.Func{System.Double},System.Func{System.String},System.Func{Microsoft.Maui.Controls.FontAttributes})">C1Font(Func&lt;double&gt;, Func&lt;string&gt;, Func&lt;FontAttributes&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Font(Func&lt;double&gt; getFontSize, Func&lt;string&gt; getFontFamily, Func&lt;FontAttributes&gt; getFontAttributes)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(getFontSize As Func(Of Double), getFontFamily As Func(Of String), getFontAttributes As Func(Of FontAttributes))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>&gt;</td>
      <td><span class="parametername">getFontSize</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</td>
      <td><span class="parametername">getFontFamily</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<span class="xref">FontAttributes</span>&gt;</td>
      <td><span class="parametername">getFontAttributes</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
