<Type Name="CTFontCollection" FullName="MonoMac.CoreText.CTFontCollection">
  <TypeSignature Language="C#" Value="public class CTFontCollection : IDisposable, MonoMac.ObjCRuntime.INativeObject" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CTFontCollection extends System.Object implements class MonoMac.ObjCRuntime.INativeObject, class System.IDisposable" />
  <AssemblyInfo>
    <AssemblyName>MonoMac</AssemblyName>
    <AssemblyVersion>0.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces>
    <Interface>
      <InterfaceName>MonoMac.ObjCRuntime.INativeObject</InterfaceName>
    </Interface>
    <Interface>
      <InterfaceName>System.IDisposable</InterfaceName>
    </Interface>
  </Interfaces>
  <Attributes>
    <Attribute>
      <AttributeName>MonoMac.ObjCRuntime.Since(3, 2)</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <summary>Font collections are the standard mechanism used to enumerate fonts descriptors.</summary>
    <remarks>To be added.</remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public CTFontCollection (MonoMac.CoreText.CTFontCollectionOptions options);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class MonoMac.CoreText.CTFontCollectionOptions options) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Parameters>
        <Parameter Name="options" Type="MonoMac.CoreText.CTFontCollectionOptions" />
      </Parameters>
      <Docs>
        <param name="options">Configuration options for creating the font collection, can be null.</param>
        <summary>Creates a CTFontCollection that contains all of the available font descriptors.</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public CTFontCollection (MonoMac.CoreText.CTFontDescriptor[] queryDescriptors, MonoMac.CoreText.CTFontCollectionOptions options);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class MonoMac.CoreText.CTFontDescriptor[] queryDescriptors, class MonoMac.CoreText.CTFontCollectionOptions options) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Parameters>
        <Parameter Name="queryDescriptors" Type="MonoMac.CoreText.CTFontDescriptor[]" />
        <Parameter Name="options" Type="MonoMac.CoreText.CTFontCollectionOptions" />
      </Parameters>
      <Docs>
        <param name="queryDescriptors">An array of font descriptors, can be null.</param>
        <param name="options">To be added.</param>
        <summary>Creates a CTFontCollection from the specified set of queryDescriptors.</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="Dispose">
      <MemberSignature Language="C#" Value="public void Dispose ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Releases the resources used by the CTFontCollection object.</summary>
        <remarks>
          <para>The Dispose method releases the resources used by the CTFontCollection class.</para>
          <para>Calling the Dispose method when you are finished using the CTFontCollection ensures that all external resources used by this managed object are released as soon as possible.  Once you have invoked the Dispose method, the object is no longer useful and you should no longer make any calls to it.  For more information on releasing resources see ``Cleaning up Unmananaged Resources'' at http://msdn.microsoft.com/en-us/library/498928w2.aspx</para>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="Dispose">
      <MemberSignature Language="C#" Value="protected virtual void Dispose (bool disposing);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void Dispose(bool disposing) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="disposing" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <param name="disposing">
          <para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources;   If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
        </param>
        <summary>Releases the resources used by the CTFontCollection object.</summary>
        <remarks>
          <para>This Dispose method releases the resources used by the CTFontCollection class.</para>
          <para>This method is called by both the Dispose() method and the object finalizer (Finalize).    When invoked by the Dispose method, the parameter disposting <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released;  when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
          <para>Calling the Dispose method when you are finished using the CTFontCollection ensures that all external resources used by this managed object are released as soon as possible.  Once you have invoked the Dispose method, the object is no longer useful and you should no longer make any calls to it.</para>
          <para>  For more information on how to override this method and on the Dispose/IDisposable pattern, read the ``Implementing a Dispose Method'' document at http://msdn.microsoft.com/en-us/library/fs2xkftw.aspx</para>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="Finalize">
      <MemberSignature Language="C#" Value="~CTFontCollection ();" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Finalizer for the CTFontCollection object</summary>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="GetMatchingFontDescriptors">
      <MemberSignature Language="C#" Value="public MonoMac.CoreText.CTFontDescriptor[] GetMatchingFontDescriptors ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class MonoMac.CoreText.CTFontDescriptor[] GetMatchingFontDescriptors() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>MonoMac.CoreText.CTFontDescriptor[]</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Gets the mathching font descriptors from this collection.</summary>
        <returns>An array of font descriptors.</returns>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="GetMatchingFontDescriptors">
      <MemberSignature Language="C#" Value="public MonoMac.CoreText.CTFontDescriptor[] GetMatchingFontDescriptors (Comparison&lt;MonoMac.CoreText.CTFontDescriptor&gt; comparer);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class MonoMac.CoreText.CTFontDescriptor[] GetMatchingFontDescriptors(class System.Comparison`1&lt;class MonoMac.CoreText.CTFontDescriptor&gt; comparer) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>MonoMac.CoreText.CTFontDescriptor[]</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="comparer" Type="System.Comparison&lt;MonoMac.CoreText.CTFontDescriptor&gt;" />
      </Parameters>
      <Docs>
        <param name="comparer">Sorting method.</param>
        <summary>Gets an array of font descriptors sorted by the specified sorting function.</summary>
        <returns>An array of font descriptors.</returns>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="Handle">
      <MemberSignature Language="C#" Value="public IntPtr Handle { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance native int Handle" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.IntPtr</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Handle (pointer) to the unmanaged object representation.</summary>
        <value>A pointer</value>
        <remarks>This IntPtr is a handle to the underlying unmanaged representation for this object.</remarks>
      </Docs>
    </Member>
    <Member MemberName="WithFontDescriptors">
      <MemberSignature Language="C#" Value="public MonoMac.CoreText.CTFontCollection WithFontDescriptors (MonoMac.CoreText.CTFontDescriptor[] queryDescriptors, MonoMac.CoreText.CTFontCollectionOptions options);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class MonoMac.CoreText.CTFontCollection WithFontDescriptors(class MonoMac.CoreText.CTFontDescriptor[] queryDescriptors, class MonoMac.CoreText.CTFontCollectionOptions options) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>MonoMac.CoreText.CTFontCollection</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="queryDescriptors" Type="MonoMac.CoreText.CTFontDescriptor[]" />
        <Parameter Name="options" Type="MonoMac.CoreText.CTFontCollectionOptions" />
      </Parameters>
      <Docs>
        <param name="queryDescriptors">The font descriptors to add.</param>
        <param name="options">Configuration options for creating the font collection, can be null.</param>
        <summary>Creates a copy of the CTFontCollection while adding the specified font descriptors.</summary>
        <returns>
        </returns>
        <remarks>
        </remarks>
      </Docs>
    </Member>
  </Members>
</Type>
