Added the new APIs to the docs

This commit is contained in:
Matthew Leibowitz 2017-02-07 06:50:56 -06:00
Родитель 599b0674a8
Коммит 1ad92aca2c
3 изменённых файлов: 124 добавлений и 0 удалений

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

@ -277,6 +277,29 @@
</remarks>
</Docs>
</Member>
<Member MemberName="AddPoly">
<MemberSignature Language="C#" Value="public void AddPoly (SkiaSharp.SKPoint[] points, bool close = true);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddPoly(valuetype SkiaSharp.SKPoint[] points, bool close) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="points" Type="SkiaSharp.SKPoint[]" />
<Parameter Name="close" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="points">The points that make up the polygon.</param>
<param name="close">Whether or not to close the path.</param>
<summary>Adds a new contour made of just lines.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AddRect">
<MemberSignature Language="C#" Value="public void AddRect (SkiaSharp.SKRect rect, SkiaSharp.SKPathDirection direction = SkiaSharp.SKPathDirection.Clockwise);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddRect(valuetype SkiaSharp.SKRect rect, valuetype SkiaSharp.SKPathDirection direction) cil managed" />
@ -1839,6 +1862,26 @@
<remarks> If no <see cref="M:SkiaSharp.SKPath.MoveTo" /> call has been made for this contour, the first point is automatically set to (0, 0).</remarks>
</Docs>
</Member>
<Member MemberName="SegmentMasks">
<MemberSignature Language="C#" Value="public SkiaSharp.SKPathSegmentMask SegmentMasks { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype SkiaSharp.SKPathSegmentMask SegmentMasks" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>SkiaSharp.SKPathSegmentMask</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a set of flags indicating if the path contains one or more segments of that type.</summary>
<value>
<para></para>
</value>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Simplify">
<MemberSignature Language="C#" Value="public SkiaSharp.SKPath Simplify ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class SkiaSharp.SKPath Simplify() cil managed" />

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

@ -0,0 +1,80 @@
<Type Name="SKPathSegmentMask" FullName="SkiaSharp.SKPathSegmentMask">
<TypeSignature Language="C#" Value="public enum SKPathSegmentMask" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SKPathSegmentMask extends System.Enum" />
<AssemblyInfo>
<AssemblyName>SkiaSharp</AssemblyName>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName>System.Flags</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>The flags used by <see cref="P:SkiaSharp.SKPath.SegmentMasks" />.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
<Members>
<Member MemberName="Conic">
<MemberSignature Language="C#" Value="Conic" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype SkiaSharp.SKPathSegmentMask Conic = int32(4)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>SkiaSharp.SKPathSegmentMask</ReturnType>
</ReturnValue>
<Docs>
<summary>The path contains one or more conic segments.</summary>
</Docs>
</Member>
<Member MemberName="Cubic">
<MemberSignature Language="C#" Value="Cubic" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype SkiaSharp.SKPathSegmentMask Cubic = int32(8)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>SkiaSharp.SKPathSegmentMask</ReturnType>
</ReturnValue>
<Docs>
<summary>The path contains one or more cubic segments.</summary>
</Docs>
</Member>
<Member MemberName="Line">
<MemberSignature Language="C#" Value="Line" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype SkiaSharp.SKPathSegmentMask Line = int32(1)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>SkiaSharp.SKPathSegmentMask</ReturnType>
</ReturnValue>
<Docs>
<summary>The path contains one or more line segments.</summary>
</Docs>
</Member>
<Member MemberName="Quad">
<MemberSignature Language="C#" Value="Quad" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype SkiaSharp.SKPathSegmentMask Quad = int32(2)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>SkiaSharp.SKPathSegmentMask</ReturnType>
</ReturnValue>
<Docs>
<summary>The path contains one or more quad segments.</summary>
</Docs>
</Member>
</Members>
</Type>

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

@ -418,6 +418,7 @@
<Type Name="SKPathMeasure" Kind="Class" />
<Type Name="SKPathMeasure+MatrixFlags" Kind="Enumeration" />
<Type Name="SKPathOp" Kind="Enumeration" />
<Type Name="SKPathSegmentMask" Kind="Enumeration" />
<Type Name="SKPicture" Kind="Class" />
<Type Name="SKPictureRecorder" Kind="Class" />
<Type Name="SKPixelGeometry" Kind="Enumeration" />