Docs done for iOS and tvOS
This commit is contained in:
Родитель
8d48073926
Коммит
c5c5a91c44
|
@ -7,8 +7,10 @@
|
|||
</AssemblyInfo>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Delegate interface for <see cref="T:SkiaSharp.Views.iOS.SKCanvasLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -26,10 +28,12 @@
|
|||
<Parameter Name="info" Type="SkiaSharp.SKImageInfo" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="info">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="info">The information about the surface.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -7,8 +7,10 @@
|
|||
</AssemblyInfo>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Delegate interface for <see cref="T:SkiaSharp.Views.iOS.SKGLLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -26,10 +28,12 @@
|
|||
<Parameter Name="renderTarget" Type="SkiaSharp.GRBackendRenderTargetDesc" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="renderTarget">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="renderTarget">The render target that is currently being drawn.</param>
|
||||
<summary>Implement this to draw on the render target.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -10,8 +10,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A CoreAnimation layer that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -23,8 +25,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.iOS.SKCanvasLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -60,9 +64,11 @@
|
|||
<Parameter Name="ctx" Type="CoreGraphics.CGContext" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="ctx">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="ctx">The prepared context to draw into.</param>
|
||||
<summary>Draws the layer on the specified context.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -80,10 +86,27 @@
|
|||
<Parameter Name="info" Type="SkiaSharp.SKImageInfo" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="info">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="info">The information about the surface.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKCanvasLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKCanvasLayer.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[public override void DrawInSurface (SKSurface surface, SKImageInfo info)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, info);
|
||||
|
||||
var surfaceWidth = info.Width;
|
||||
var surfaceHeight = info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -97,8 +120,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.iOS.SKPaintSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the the canvas needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKCanvasLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKCanvasLayer.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKCanvasLayer myLayer = ...;
|
||||
|
||||
myLayer.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.Info.Width;
|
||||
var surfaceHeight = e.Info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SKDelegate">
|
||||
|
@ -112,9 +151,13 @@
|
|||
<ReturnType>SkiaSharp.Views.iOS.ISKCanvasLayerDelegate</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the layer’s delegate object.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -25,8 +25,10 @@
|
|||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A UIKit view that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -38,8 +40,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.iOS.SKCanvasView" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -53,9 +57,11 @@
|
|||
<Parameter Name="frame" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="frame">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="frame">The frame used by the view, expressed in iOS points.</param>
|
||||
<summary>Initializes the <see cref="T:SkiaSharp.Views.iOS.SKCanvasView" /> with the specified frame.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -69,9 +75,11 @@
|
|||
<Parameter Name="p" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="p">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="p">The pointer (handle) to the unmanaged object.</param>
|
||||
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AwakeFromNib">
|
||||
|
@ -86,8 +94,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Called after the object has been loaded from the nib file. Overriders must call the base method.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -109,21 +119,6 @@
|
|||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Disposed">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler Disposed;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Disposed" />
|
||||
<MemberType>Event</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Draw">
|
||||
<MemberSignature Language="C#" Value="public override void Draw (CoreGraphics.CGRect rect);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Draw(valuetype CoreGraphics.CGRect rect) cil managed" />
|
||||
|
@ -138,9 +133,11 @@
|
|||
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="rect">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="rect">The rectangle to draw.</param>
|
||||
<summary>Draws the view within the passed-in rectangle.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -158,10 +155,27 @@
|
|||
<Parameter Name="info" Type="SkiaSharp.SKImageInfo" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="info">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="info">The information about the surface.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKCanvasView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKCanvasView.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[protected override void DrawInSurface (SKSurface surface, SKImageInfo info)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, info);
|
||||
|
||||
var surfaceWidth = info.Width;
|
||||
var surfaceHeight = info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LayoutSubviews">
|
||||
|
@ -176,8 +190,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Lays out subviews.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -191,24 +207,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.iOS.SKPaintSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Site">
|
||||
<MemberSignature Language="C#" Value="public System.ComponentModel.ISite Site { get; set; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class System.ComponentModel.ISite Site" />
|
||||
<MemberType>Property</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.ComponentModel.ISite</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the the canvas needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKCanvasView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKCanvasView.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKCanvasView myView = ...;
|
||||
|
||||
myView.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.Info.Width;
|
||||
var surfaceHeight = e.Info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -10,8 +10,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A CoreAnimation OpenGL layer that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -23,8 +25,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.iOS.SKGLLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -61,10 +65,28 @@
|
|||
<Parameter Name="renderTarget" Type="SkiaSharp.GRBackendRenderTargetDesc" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="renderTarget">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="renderTarget">The render target that is currently being drawn.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKGLLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKGLLayer.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, renderTarget);
|
||||
|
||||
var surfaceWidth = renderTarget.Width;
|
||||
var surfaceHeight = renderTarget.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Frame">
|
||||
|
@ -78,9 +100,13 @@
|
|||
<ReturnType>CoreGraphics.CGRect</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the layer’s frame rectangle.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -94,24 +120,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.iOS.SKPaintGLSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PrepareGLContexts">
|
||||
<MemberSignature Language="C#" Value="public virtual void PrepareGLContexts ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PrepareGLContexts() cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the the canvas needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKGLLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKGLLayer.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKGLLayer myLayer = ...;
|
||||
|
||||
myLayer.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.Info.Width;
|
||||
var surfaceHeight = e.Info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Render">
|
||||
|
@ -126,24 +152,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ResizeGLContexts">
|
||||
<MemberSignature Language="C#" Value="public virtual void ResizeGLContexts ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ResizeGLContexts() cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Redraws the layer’s contents.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SKDelegate">
|
||||
|
@ -157,9 +169,13 @@
|
|||
<ReturnType>SkiaSharp.Views.iOS.ISKGLLayerDelegate</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the layer’s delegate object.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -28,8 +28,10 @@
|
|||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A hardware-accelerated view that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -41,8 +43,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.iOS.SKGLView" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -56,9 +60,11 @@
|
|||
<Parameter Name="frame" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="frame">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="frame">The frame used by the view, expressed in iOS points.</param>
|
||||
<summary>Initializes the <see cref="T:SkiaSharp.Views.iOS.SKGLView" /> with the specified frame.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -72,9 +78,11 @@
|
|||
<Parameter Name="p" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="p">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="p">The pointer (handle) to the unmanaged object.</param>
|
||||
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AwakeFromNib">
|
||||
|
@ -89,23 +97,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Disposed">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler Disposed;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Disposed" />
|
||||
<MemberType>Event</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Called after the object has been loaded from the nib file. Overriders must call the base method.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInRect">
|
||||
|
@ -123,10 +118,12 @@
|
|||
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="view">To be added.</param>
|
||||
<param name="rect">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="view">The view to draw on.</param>
|
||||
<param name="rect">The rectangle to draw.</param>
|
||||
<summary>Draws the view within the passed-in rectangle.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -144,10 +141,27 @@
|
|||
<Parameter Name="renderTarget" Type="SkiaSharp.GRBackendRenderTargetDesc" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="renderTarget">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="renderTarget">The render target that is currently being drawn.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKGLView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKGLView.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, renderTarget);
|
||||
|
||||
var surfaceWidth = renderTarget.Width;
|
||||
var surfaceHeight = renderTarget.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Frame">
|
||||
|
@ -161,9 +175,13 @@
|
|||
<ReturnType>CoreGraphics.CGRect</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the view’s frame rectangle.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -177,24 +195,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.iOS.SKPaintGLSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Site">
|
||||
<MemberSignature Language="C#" Value="public System.ComponentModel.ISite Site { get; set; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class System.ComponentModel.ISite Site" />
|
||||
<MemberType>Property</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.ComponentModel.ISite</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the surface needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.iOS.SKGLView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.iOS.SKGLView.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKGLView myView = ...;
|
||||
|
||||
myView.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.RenderTarget.Width;
|
||||
var surfaceHeight = e.RenderTarget.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -7,8 +7,10 @@
|
|||
</AssemblyInfo>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Delegate interface for <see cref="T:SkiaSharp.Views.tvOS.SKCanvasLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -26,10 +28,12 @@
|
|||
<Parameter Name="info" Type="SkiaSharp.SKImageInfo" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="info">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="info">The information about the surface.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -7,8 +7,10 @@
|
|||
</AssemblyInfo>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Delegate interface for <see cref="T:SkiaSharp.Views.tvOS.SKGLLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -26,10 +28,12 @@
|
|||
<Parameter Name="renderTarget" Type="SkiaSharp.GRBackendRenderTargetDesc" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="renderTarget">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="renderTarget">The render target that is currently being drawn.</param>
|
||||
<summary>Implement this to draw on the render target.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -10,8 +10,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A CoreAnimation layer that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -23,8 +25,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.tvOS.SKCanvasLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -60,9 +64,11 @@
|
|||
<Parameter Name="ctx" Type="CoreGraphics.CGContext" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="ctx">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="ctx">The prepared context to draw into.</param>
|
||||
<summary>Draws the layer on the specified context.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -80,10 +86,27 @@
|
|||
<Parameter Name="info" Type="SkiaSharp.SKImageInfo" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="info">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="info">The information about the surface.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKCanvasLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKCanvasLayer.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[public override void DrawInSurface (SKSurface surface, SKImageInfo info)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, info);
|
||||
|
||||
var surfaceWidth = info.Width;
|
||||
var surfaceHeight = info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -97,8 +120,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.tvOS.SKPaintSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the the canvas needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKCanvasLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKCanvasLayer.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKCanvasLayer myLayer = ...;
|
||||
|
||||
myLayer.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.Info.Width;
|
||||
var surfaceHeight = e.Info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SKDelegate">
|
||||
|
@ -112,9 +151,13 @@
|
|||
<ReturnType>SkiaSharp.Views.tvOS.ISKCanvasLayerDelegate</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the layer’s delegate object.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -25,8 +25,10 @@
|
|||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A UIKit view that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -38,8 +40,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.tvOS.SKCanvasView" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -53,9 +57,11 @@
|
|||
<Parameter Name="frame" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="frame">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="frame">The frame used by the view, expressed in tvOS points.</param>
|
||||
<summary>Initializes the <see cref="T:SkiaSharp.Views.tvOS.SKCanvasView" /> with the specified frame.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -69,9 +75,11 @@
|
|||
<Parameter Name="p" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="p">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="p">The pointer (handle) to the unmanaged object.</param>
|
||||
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AwakeFromNib">
|
||||
|
@ -86,8 +94,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Called after the object has been loaded from the nib file. Overriders must call the base method.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -109,21 +119,6 @@
|
|||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Disposed">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler Disposed;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Disposed" />
|
||||
<MemberType>Event</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Draw">
|
||||
<MemberSignature Language="C#" Value="public override void Draw (CoreGraphics.CGRect rect);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Draw(valuetype CoreGraphics.CGRect rect) cil managed" />
|
||||
|
@ -138,9 +133,11 @@
|
|||
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="rect">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="rect">The rectangle to draw.</param>
|
||||
<summary>Draws the view within the passed-in rectangle.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -158,10 +155,27 @@
|
|||
<Parameter Name="info" Type="SkiaSharp.SKImageInfo" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="info">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="info">The information about the surface.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKCanvasView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKCanvasView.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[protected override void DrawInSurface (SKSurface surface, SKImageInfo info)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, info);
|
||||
|
||||
var surfaceWidth = info.Width;
|
||||
var surfaceHeight = info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LayoutSubviews">
|
||||
|
@ -176,8 +190,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Lays out subviews.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -191,24 +207,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.tvOS.SKPaintSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Site">
|
||||
<MemberSignature Language="C#" Value="public System.ComponentModel.ISite Site { get; set; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class System.ComponentModel.ISite Site" />
|
||||
<MemberType>Property</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.ComponentModel.ISite</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the the canvas needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKCanvasView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKCanvasView.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKCanvasView myView = ...;
|
||||
|
||||
myView.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.Info.Width;
|
||||
var surfaceHeight = e.Info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -10,8 +10,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A CoreAnimation OpenGL layer that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -23,8 +25,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.tvOS.SKGLLayer" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -61,10 +65,28 @@
|
|||
<Parameter Name="renderTarget" Type="SkiaSharp.GRBackendRenderTargetDesc" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="renderTarget">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="renderTarget">The render target that is currently being drawn.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKGLLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKGLLayer.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, renderTarget);
|
||||
|
||||
var surfaceWidth = renderTarget.Width;
|
||||
var surfaceHeight = renderTarget.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Frame">
|
||||
|
@ -78,9 +100,13 @@
|
|||
<ReturnType>CoreGraphics.CGRect</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the layer’s frame rectangle.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -94,24 +120,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.tvOS.SKPaintGLSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PrepareGLContexts">
|
||||
<MemberSignature Language="C#" Value="public virtual void PrepareGLContexts ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PrepareGLContexts() cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the the canvas needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKGLLayer.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKGLLayer.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKGLLayer myLayer = ...;
|
||||
|
||||
myLayer.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.Info.Width;
|
||||
var surfaceHeight = e.Info.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Render">
|
||||
|
@ -126,24 +152,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ResizeGLContexts">
|
||||
<MemberSignature Language="C#" Value="public virtual void ResizeGLContexts ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ResizeGLContexts() cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Redraws the layer’s contents.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SKDelegate">
|
||||
|
@ -157,9 +169,13 @@
|
|||
<ReturnType>SkiaSharp.Views.tvOS.ISKGLLayerDelegate</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the layer’s delegate object.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -28,8 +28,10 @@
|
|||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A hardware-accelerated view that can be drawn on using SkiaSharp drawing commands.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -41,8 +43,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Default constructor that initializes a new instance of <see cref="T:SkiaSharp.Views.tvOS.SKGLView" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -56,9 +60,11 @@
|
|||
<Parameter Name="frame" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="frame">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="frame">The frame used by the view, expressed in tvOS points.</param>
|
||||
<summary>Initializes the <see cref="T:SkiaSharp.Views.tvOS.SKGLView" /> with the specified frame.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -72,9 +78,11 @@
|
|||
<Parameter Name="p" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="p">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="p">The pointer (handle) to the unmanaged object.</param>
|
||||
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AwakeFromNib">
|
||||
|
@ -89,23 +97,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Disposed">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler Disposed;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler Disposed" />
|
||||
<MemberType>Event</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Called after the object has been loaded from the nib file. Overriders must call the base method.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInRect">
|
||||
|
@ -123,10 +118,12 @@
|
|||
<Parameter Name="rect" Type="CoreGraphics.CGRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="view">To be added.</param>
|
||||
<param name="rect">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="view">The view to draw on.</param>
|
||||
<param name="rect">The rectangle to draw.</param>
|
||||
<summary>Draws the view within the passed-in rectangle.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawInSurface">
|
||||
|
@ -144,10 +141,27 @@
|
|||
<Parameter Name="renderTarget" Type="SkiaSharp.GRBackendRenderTargetDesc" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="renderTarget">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface to draw on.</param>
|
||||
<param name="renderTarget">The render target that is currently being drawn.</param>
|
||||
<summary>Implement this to draw on the canvas.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKGLView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKGLView.PaintSurface" /> event. If the method is overriden, then the base must be called.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget)
|
||||
{
|
||||
// call the base method
|
||||
base.DrawInSurface (surface, renderTarget);
|
||||
|
||||
var surfaceWidth = renderTarget.Width;
|
||||
var surfaceHeight = renderTarget.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
}]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Frame">
|
||||
|
@ -161,9 +175,13 @@
|
|||
<ReturnType>CoreGraphics.CGRect</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the view’s frame rectangle.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaintSurface">
|
||||
|
@ -177,24 +195,24 @@
|
|||
<ReturnType>System.EventHandler<SkiaSharp.Views.tvOS.SKPaintGLSurfaceEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Site">
|
||||
<MemberSignature Language="C#" Value="public System.ComponentModel.ISite Site { get; set; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class System.ComponentModel.ISite Site" />
|
||||
<MemberType>Property</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.ComponentModel.ISite</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Occurs when the surface needs to be re-drawn.</summary>
|
||||
<remarks>
|
||||
<para>There are two ways to draw on this surface: by overriding the <see cref="M:SkiaSharp.Views.tvOS.SKGLView.DrawInSurface" /> method, or by attaching a handler to the <see cref="E:SkiaSharp.Views.tvOS.SKGLView.PaintSurface" /> event.</para>
|
||||
<para></para>
|
||||
<example>
|
||||
<code lang="C#"><![CDATA[SKGLView myView = ...;
|
||||
|
||||
myView.PaintSurface += (sender, e) => {
|
||||
var surface = e.Surface;
|
||||
var surfaceWidth = e.RenderTarget.Width;
|
||||
var surfaceHeight = e.RenderTarget.Height;
|
||||
|
||||
var canvas = surface.Canvas;
|
||||
// draw on the canvas
|
||||
canvas.Flush ();
|
||||
};]]></code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -10,8 +10,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Provides data for the <see cref="E:SkiaSharp.Views.tvOS.SKGLView.PaintSurface" /> event.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -26,10 +28,12 @@
|
|||
<Parameter Name="renderTarget" Type="SkiaSharp.GRBackendRenderTargetDesc" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="renderTarget">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface that is being drawn on.</param>
|
||||
<param name="renderTarget">The render target that is currently being drawn.</param>
|
||||
<summary>Creates a new instance of the <see cref="T:SkiaSharp.Views.tvOS.SKPaintGLSurfaceEventArgs" /> event arguments.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RenderTarget">
|
||||
|
@ -43,9 +47,13 @@
|
|||
<ReturnType>SkiaSharp.GRBackendRenderTargetDesc</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the render target that is currently being drawn.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Surface">
|
||||
|
@ -59,9 +67,13 @@
|
|||
<ReturnType>SkiaSharp.SKSurface</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the surface that is currently being drawn on.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -10,8 +10,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Provides data for the <see cref="E:SkiaSharp.Views.tvOS.SKCanvasView.PaintSurface" /> event.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -26,10 +28,12 @@
|
|||
<Parameter Name="info" Type="SkiaSharp.SKImageInfo" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="surface">To be added.</param>
|
||||
<param name="info">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="surface">The surface that is being drawn on.</param>
|
||||
<param name="info">The information about the surface.</param>
|
||||
<summary>Creates a new instance of the <see cref="T:SkiaSharp.Views.tvOS.SKPaintSurfaceEventArgs" /> event arguments.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Info">
|
||||
|
@ -43,9 +47,13 @@
|
|||
<ReturnType>SkiaSharp.SKImageInfo</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the information about the surface that is currently being drawn.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Surface">
|
||||
|
@ -59,9 +67,13 @@
|
|||
<ReturnType>SkiaSharp.SKSurface</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the surface that is currently being drawn on.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
Загрузка…
Ссылка в новой задаче