Updated the docs with the changed API

This commit is contained in:
Matthew Leibowitz 2018-10-03 00:17:53 +02:00
Родитель 929945ef40
Коммит 0556144281
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 3650EBE4AA155AF9
3 изменённых файлов: 24 добавлений и 31 удалений

Просмотреть файл

@ -366,15 +366,13 @@ Added methods:
```csharp
public static SKFontManager CreateDefault ();
public SKFontStyleSet CreateStyleSet (int index);
public SKTypeface FromData (SKData data, int index);
public SKTypeface FromFile (string path, int index);
public SKTypeface FromStream (SKStreamAsset stream, int index);
public SKTypeface FromStream (System.IO.Stream stream, int index);
public SKTypeface CreateTypeface (SKData data, int index);
public SKTypeface CreateTypeface (string path, int index);
public SKTypeface CreateTypeface (SKStreamAsset stream, int index);
public SKTypeface CreateTypeface (System.IO.Stream stream, int index);
public SKTypeface MatchCharacter (string familyName, SKFontStyle style, string[] bcp47, int character);
public SKFontStyleSet MatchFamily (string familyName);
public SKTypeface MatchFamily (string familyName, SKFontStyle style);
[Obsolete]
public SKTypeface MatchTypeface (SKTypeface face, SKFontStyle style);
```

Просмотреть файл

@ -972,10 +972,10 @@
<Member Id="M:SkiaSharp.SKFontManager.CreateDefault" />
<Member Id="M:SkiaSharp.SKFontManager.CreateStyleSet(System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.Dispose(System.Boolean)" />
<Member Id="M:SkiaSharp.SKFontManager.FromData(SkiaSharp.SKData,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.FromFile(System.String,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.FromStream(SkiaSharp.SKStreamAsset,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.FromStream(System.IO.Stream,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.CreateTypeface(SkiaSharp.SKData,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.CreateTypeface(System.String,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.CreateTypeface(SkiaSharp.SKStreamAsset,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.CreateTypeface(System.IO.Stream,System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.GetFamilyName(System.Int32)" />
<Member Id="M:SkiaSharp.SKFontManager.GetFontFamilies" />
<Member Id="M:SkiaSharp.SKFontManager.MatchCharacter(System.Char)" />

Просмотреть файл

@ -130,10 +130,10 @@
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="FromData">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface FromData (SkiaSharp.SKData data, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface FromData(class SkiaSharp.SKData data, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.FromData(SkiaSharp.SKData,System.Int32)" />
<Member MemberName="CreateTypeface">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface CreateTypeface (SkiaSharp.SKData data, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface CreateTypeface(class SkiaSharp.SKData data, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.CreateTypeface(SkiaSharp.SKData,System.Int32)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp</AssemblyName>
@ -154,10 +154,10 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromFile">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface FromFile (string path, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface FromFile(string path, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.FromFile(System.String,System.Int32)" />
<Member MemberName="CreateTypeface">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface CreateTypeface (string path, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface CreateTypeface(string path, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.CreateTypeface(System.String,System.Int32)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp</AssemblyName>
@ -178,10 +178,10 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromStream">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface FromStream (SkiaSharp.SKStreamAsset stream, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface FromStream(class SkiaSharp.SKStreamAsset stream, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.FromStream(SkiaSharp.SKStreamAsset,System.Int32)" />
<Member MemberName="CreateTypeface">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface CreateTypeface (SkiaSharp.SKStreamAsset stream, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface CreateTypeface(class SkiaSharp.SKStreamAsset stream, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.CreateTypeface(SkiaSharp.SKStreamAsset,System.Int32)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp</AssemblyName>
@ -202,10 +202,10 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromStream">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface FromStream (System.IO.Stream stream, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface FromStream(class System.IO.Stream stream, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.FromStream(System.IO.Stream,System.Int32)" />
<Member MemberName="CreateTypeface">
<MemberSignature Language="C#" Value="public SkiaSharp.SKTypeface CreateTypeface (System.IO.Stream stream, int index = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKTypeface CreateTypeface(class System.IO.Stream stream, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.SKFontManager.CreateTypeface(System.IO.Stream,System.Int32)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp</AssemblyName>
@ -634,11 +634,6 @@
<AssemblyName>SkiaSharp</AssemblyName>
<AssemblyVersion>1.68.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="skiasharp-1.68.0">
<AttributeName>System.Obsolete</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>SkiaSharp.SKTypeface</ReturnType>
</ReturnValue>