Merge branch 'master' of github.com:mono/SkiaSharp
This commit is contained in:
Коммит
d492ca27b7
|
@ -536,6 +536,7 @@ namespace SkiaSharp
|
|||
RgbaF16
|
||||
}
|
||||
|
||||
[Obsolete("May be removed in the next version.")]
|
||||
public enum SKColorProfileType {
|
||||
Linear,
|
||||
SRGB
|
||||
|
|
|
@ -56,9 +56,9 @@ namespace SkiaSharp
|
|||
return dimensions;
|
||||
}
|
||||
|
||||
public void GetValidSubset (ref SKRectI desiredSubset)
|
||||
public bool GetValidSubset (ref SKRectI desiredSubset)
|
||||
{
|
||||
SkiaApi.sk_codec_get_valid_subset (Handle, ref desiredSubset);
|
||||
return SkiaApi.sk_codec_get_valid_subset (Handle, ref desiredSubset);
|
||||
}
|
||||
|
||||
public byte[] Pixels {
|
||||
|
|
|
@ -12,9 +12,15 @@ namespace SkiaSharp
|
|||
{
|
||||
public class SKColorFilter : SKObject
|
||||
{
|
||||
[Obsolete("Use MinColorCubeDimension instead.")]
|
||||
public const int MinCubeSize = 4;
|
||||
[Obsolete("Use MaxColorCubeDimension instead.")]
|
||||
public const int MaxCubeSize = 64;
|
||||
|
||||
public const int MinColorCubeDimension = 4;
|
||||
public const int MaxColorCubeDimension = 64;
|
||||
public const int ColorMatrixSize = 20;
|
||||
|
||||
public static bool IsValid3DColorCube(SKData cubeData, int cubeDimension)
|
||||
{
|
||||
var minMemorySize = 4 * cubeDimension * cubeDimension * cubeDimension;
|
||||
|
|
|
@ -59,7 +59,13 @@ namespace SkiaSharp
|
|||
return GetObject<SKImageFilter>(SkiaApi.sk_imagefilter_new_compose(outer.Handle, inner.Handle));
|
||||
}
|
||||
|
||||
[Obsolete("Use CreateDisplacementMapEffect instead.")]
|
||||
public static SKImageFilter CreateCompose(SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input = null, SKImageFilter.CropRect cropRect = null)
|
||||
{
|
||||
return CreateDisplacementMapEffect(xChannelSelector, yChannelSelector, scale, displacement, input, cropRect);
|
||||
}
|
||||
|
||||
public static SKImageFilter CreateDisplacementMapEffect(SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input = null, SKImageFilter.CropRect cropRect = null)
|
||||
{
|
||||
if (displacement == null)
|
||||
throw new ArgumentNullException(nameof(displacement));
|
||||
|
|
|
@ -1030,7 +1030,8 @@ namespace SkiaSharp
|
|||
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
|
||||
public extern static void sk_codec_get_scaled_dimensions(sk_codec_t codec, float desiredScale, out SKSizeI dimensions);
|
||||
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
|
||||
public extern static void sk_codec_get_valid_subset(sk_codec_t codec, ref SKRectI desiredSubset);
|
||||
[return: MarshalAs(UnmanagedType.I1)]
|
||||
public extern static bool sk_codec_get_valid_subset(sk_codec_t codec, ref SKRectI desiredSubset);
|
||||
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
|
||||
public extern static SKEncodedFormat sk_codec_get_encoded_format(sk_codec_t codec);
|
||||
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
|
||||
|
|
|
@ -1002,10 +1002,10 @@
|
|||
<Docs>
|
||||
<summary>Gets a value indicating whether the bitmap should not be cached by devices.</summary>
|
||||
<value>
|
||||
<para />
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -94,9 +94,7 @@
|
|||
<Docs>
|
||||
<param name="bitmap">The bitmap for the canvas to draw into.</param>
|
||||
<summary>Creates a canvas with the specified bitmap to draw into.</summary>
|
||||
<remarks>
|
||||
<para>The structure of the bitmap is copied into the canvas.</para>
|
||||
</remarks>
|
||||
<remarks>The structure of the bitmap is copied into the canvas.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Clear">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>Abstraction layer directly on top of an image codec.</summary>
|
||||
<summary>An abstraction layer directly on top of an image codec.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -38,10 +38,12 @@
|
|||
<Parameter Name="data" Type="SkiaSharp.SKData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="data">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="data">The data to create the codec with.</param>
|
||||
<summary>Creates a codec from the specified data.</summary>
|
||||
<returns>Returns the new instance of the codec, or null if there was an error.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Create">
|
||||
|
@ -62,10 +64,12 @@
|
|||
<Parameter Name="stream" Type="SkiaSharp.SKStream" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="stream">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="stream">The stream to create the codec with.</param>
|
||||
<summary>Creates a codec from the specified stream.</summary>
|
||||
<returns>Returns the new instance of the codec, or null if there was an error.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -106,9 +110,13 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the image encoding from the codec.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -129,10 +137,12 @@
|
|||
<Parameter Name="pixels" Type="System.Byte[]&" RefType="out" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="pixels">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="pixels">The memory block with the decoded bitmap.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -154,11 +164,15 @@
|
|||
<Parameter Name="pixels" Type="System.Byte[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a length of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -180,11 +194,14 @@
|
|||
<Parameter Name="pixels" Type="System.Byte[]&" RefType="out" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block with the decoded bitmap.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -206,11 +223,14 @@
|
|||
<Parameter Name="pixels" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a total size of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -233,13 +253,18 @@
|
|||
<Parameter Name="colorTableCount" Type="System.Int32&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<param name="colorTable">To be added.</param>
|
||||
<param name="colorTableCount">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a total size of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<param name="colorTable">The color table to hold the color entries.</param>
|
||||
<param name="colorTableCount">The logical number of color table entries.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
<para>If specified color type is <see cref="F:SkiaSharp.SKColorType.Index8" />, then the caller must provide a <see cref="T:SkiaSharp.SKColorTable" />. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries.</para>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -262,13 +287,17 @@
|
|||
<Parameter Name="colorTableCount" Type="System.Int32&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<param name="colorTable">To be added.</param>
|
||||
<param name="colorTableCount">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a total size of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<param name="colorTable">The pointer to the color table to hold the color entries, with a length of at least <see cref="F:SkiaSharp.SKColorTable.MaxLength" /> (256).</param>
|
||||
<param name="colorTableCount">The logical number of color table entries.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
<para>If specified color type is <see cref="F:SkiaSharp.SKColorType.Index8" />, then the caller must provide a color table array, with a length of at least 256. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -292,14 +321,18 @@
|
|||
<Parameter Name="colorTableCount" Type="System.Int32&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<param name="options">To be added.</param>
|
||||
<param name="colorTable">To be added.</param>
|
||||
<param name="colorTableCount">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a total size of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<param name="options">The bitmap decoding options.</param>
|
||||
<param name="colorTable">The color table to hold the color entries.</param>
|
||||
<param name="colorTableCount">The logical number of color table entries.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
<para>If specified color type is <see cref="F:SkiaSharp.SKColorType.Index8" />, then the caller must provide a <see cref="T:SkiaSharp.SKColorTable" />. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -323,14 +356,18 @@
|
|||
<Parameter Name="colorTableCount" Type="System.Int32&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<param name="options">To be added.</param>
|
||||
<param name="colorTable">To be added.</param>
|
||||
<param name="colorTableCount">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a total size of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<param name="options">The bitmap decoding options.</param>
|
||||
<param name="colorTable">The pointer to the color table to hold the color entries, with a length of at least <see cref="F:SkiaSharp.SKColorTable.MaxLength" /> (256).</param>
|
||||
<param name="colorTableCount">The logical number of color table entries.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
<para>If specified color type is <see cref="F:SkiaSharp.SKColorType.Index8" />, then the caller must provide a color table array, with a length of at least 256. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -355,15 +392,19 @@
|
|||
<Parameter Name="colorTableCount" Type="System.Int32&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<param name="rowBytes">To be added.</param>
|
||||
<param name="options">To be added.</param>
|
||||
<param name="colorTable">To be added.</param>
|
||||
<param name="colorTableCount">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a total size of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<param name="rowBytes">The number of bytes in a row, typically <see cref="P:SkiaSharp.SKImageInfo.RowBytes" />.</param>
|
||||
<param name="options">The bitmap decoding options.</param>
|
||||
<param name="colorTable">The color table to hold the color entries.</param>
|
||||
<param name="colorTableCount">The logical number of color table entries.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
<para>If specified color type is <see cref="F:SkiaSharp.SKColorType.Index8" />, then the caller must provide a <see cref="T:SkiaSharp.SKColorTable" />. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetPixels">
|
||||
|
@ -388,15 +429,19 @@
|
|||
<Parameter Name="colorTableCount" Type="System.Int32&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">To be added.</param>
|
||||
<param name="pixels">To be added.</param>
|
||||
<param name="rowBytes">To be added.</param>
|
||||
<param name="options">To be added.</param>
|
||||
<param name="colorTable">To be added.</param>
|
||||
<param name="colorTableCount">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="info">The description of the desired output format expected by the caller.</param>
|
||||
<param name="pixels">The memory block to hold the decoded bitmap, with a total size of at least <see cref="P:SkiaSharp.SKImageInfo.BytesSize" />.</param>
|
||||
<param name="rowBytes">The number of bytes in a row, typically <see cref="P:SkiaSharp.SKImageInfo.RowBytes" />.</param>
|
||||
<param name="options">The bitmap decoding options.</param>
|
||||
<param name="colorTable">The pointer to the color table to hold the color entries, with a length of at least <see cref="F:SkiaSharp.SKColorTable.MaxLength" /> (256).</param>
|
||||
<param name="colorTableCount">The logical number of color table entries.</param>
|
||||
<summary>Decode the bitmap into the specified memory block.</summary>
|
||||
<returns>Returns <see cref="F:SkiaSharp.SKCodecResult.Success" /> on success, or another value explaining the type of failure.</returns>
|
||||
<remarks>
|
||||
<para>The specified <see cref="T:SkiaSharp.SKImageInfo" />, can either be <see cref="P:SkiaSharp.SKCodec.Info" />, or a new instance with a different configuration - which the codec may choose to ignore.</para>
|
||||
<para>If the spcified size is different from the size from <see cref="P:SkiaSharp.SKCodec.Info" />, then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return <see cref="F:SkiaSharp.SKCodecResult.InvalidScale" />.</para>
|
||||
<para>If specified color type is <see cref="F:SkiaSharp.SKColorType.Index8" />, then the caller must provide a color table array, with a length of at least 256. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetScaledDimensions">
|
||||
|
@ -417,15 +462,15 @@
|
|||
<Parameter Name="desiredScale" Type="System.Single" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="desiredScale">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="desiredScale">The desired scale factor.</param>
|
||||
<summary>Returns a size that approximately supports the desired scale factor.</summary>
|
||||
<returns>Returns a supported size.</returns>
|
||||
<remarks>The codec may not be able to scale efficiently to the exact scale factor requested, so return a size that approximates that scale. Upscaling is not supported, so the original size will be returned.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetValidSubset">
|
||||
<MemberSignature Language="C#" Value="public void GetValidSubset (ref SkiaSharp.SKRectI desiredSubset);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetValidSubset(valuetype SkiaSharp.SKRectI desiredSubset) cil managed" />
|
||||
<MemberSignature Language="C#" Value="public bool GetValidSubset (ref SkiaSharp.SKRectI desiredSubset);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetValidSubset(valuetype SkiaSharp.SKRectI desiredSubset) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.52.0.0</AssemblyVersion>
|
||||
|
@ -435,15 +480,15 @@
|
|||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="desiredSubset" Type="SkiaSharp.SKRectI&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="desiredSubset">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="desiredSubset">The desired subset of the original bounds, which may be modified to a subset which is supported.</param>
|
||||
<summary>Modifies the specified subset to one that can decoded from this codec.</summary>
|
||||
<remarks>Returns true if this codec supports decoding the desired subset, otherwise false. The final subset can be used with <see cref="P:SkiaSharp.SKCodecOptions.Subset" />.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Info">
|
||||
|
@ -461,9 +506,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 image information from the codec.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MinBufferedBytesNeeded">
|
||||
|
@ -481,7 +530,7 @@
|
|||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Minimum number of bytes that must be buffered in stream input.</summary>
|
||||
<summary>Gets the minimum number of bytes that must be buffered in stream input.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
|
@ -505,9 +554,13 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the image origin from the codec.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Pixels">
|
||||
|
@ -525,9 +578,13 @@
|
|||
<ReturnType>System.Byte[]</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the image data from the codec using the current <see cref="P:SkiaSharp.SKCodec.Info" />.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -14,8 +14,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Additional options to pass to <see cref="M:SkiaSharp.SKCodec.GetPixels" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -29,9 +31,11 @@
|
|||
<Parameter Name="subset" Type="SkiaSharp.SKRectI" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="subset">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="subset">The subset rectangle.</param>
|
||||
<summary>Create a new instance of <see cref="T:SkiaSharp.SKCodecOptions" /> with the specified subset rectangle.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -48,9 +52,11 @@
|
|||
<Parameter Name="zeroInitialized" Type="SkiaSharp.SKZeroInitialized" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="zeroInitialized">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="zeroInitialized">The zero-initialization.</param>
|
||||
<summary>Create a new instance of <see cref="T:SkiaSharp.SKCodecOptions" /> with the specified zero-initialization.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -68,10 +74,12 @@
|
|||
<Parameter Name="subset" Type="SkiaSharp.SKRectI" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="zeroInitialized">To be added.</param>
|
||||
<param name="subset">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="zeroInitialized">The zero-initialization.</param>
|
||||
<param name="subset">The subset rectangle.</param>
|
||||
<summary>Create a new instance of <see cref="T:SkiaSharp.SKCodecOptions" /> with the specified subset rectangle and zero-initialization.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Default">
|
||||
|
@ -88,23 +96,8 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOptions</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="HasSubset">
|
||||
<MemberSignature Language="C#" Value="public bool HasSubset;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.52.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.53.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the default options.</summary>
|
||||
<remarks>The default value is not zero-initialized and without a subset rectangle.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="HasSubset">
|
||||
|
@ -120,24 +113,13 @@
|
|||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Subset">
|
||||
<MemberSignature Language="C#" Value="public SkiaSharp.SKRectI Subset;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.52.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.53.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>SkiaSharp.SKRectI</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets a value indicating whether the options has a subset rectangle.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Subset">
|
||||
|
@ -153,24 +135,13 @@
|
|||
<ReturnType>System.Nullable<SkiaSharp.SKRectI></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ZeroInitialized">
|
||||
<MemberSignature Language="C#" Value="public SkiaSharp.SKZeroInitialized ZeroInitialized;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.52.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.53.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>SkiaSharp.SKZeroInitialized</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the subset rectangle.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ZeroInitialized">
|
||||
|
@ -186,9 +157,13 @@
|
|||
<ReturnType>SkiaSharp.SKZeroInitialized</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the zero-initialization.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>The various origins of a bitmap.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="BottomLeft">
|
||||
|
@ -32,7 +34,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Reflected across x-axis.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BottomRight">
|
||||
|
@ -50,7 +52,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Rotated 180°.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LeftBottom">
|
||||
|
@ -68,7 +70,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Rotated 90° counter-clockwise.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LeftTop">
|
||||
|
@ -86,7 +88,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Reflected across x-axis, Rotated 90° counter-clockwise.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RightBottom">
|
||||
|
@ -104,7 +106,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Reflected across x-axis, Rotated 90° clockwise.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RightTop">
|
||||
|
@ -122,7 +124,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Rotated 90° clockwise.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="TopLeft">
|
||||
|
@ -140,7 +142,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Default.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="TopRight">
|
||||
|
@ -158,7 +160,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecOrigin</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Reflected across y-axis.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Used to describe the result of a call to <see cref="M:SkiaSharp.SKCodec.GetPixels" />.</summary>
|
||||
<remarks>Result is the union of possible results from subclasses.</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="CouldNotRewind">
|
||||
|
@ -32,7 +32,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Fulfilling this request requires rewinding the input, which is not supported for this input.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="IncompleteInput">
|
||||
|
@ -50,7 +50,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The input is incomplete. A partial image was generated.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="InvalidConversion">
|
||||
|
@ -68,7 +68,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The codec cannot convert to match the request, ignoring dimensions.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="InvalidInput">
|
||||
|
@ -86,7 +86,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The input did not contain a valid image.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="InvalidParameters">
|
||||
|
@ -104,7 +104,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The parameters (besides info) are invalid. e.g. null pixels, row bytes too small, etc.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="InvalidScale">
|
||||
|
@ -122,7 +122,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The generator cannot scale to requested size.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Success">
|
||||
|
@ -140,7 +140,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The general return value for success.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unimplemented">
|
||||
|
@ -158,7 +158,7 @@
|
|||
<ReturnType>SkiaSharp.SKCodecResult</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>This method is not supported by this codec.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -39,10 +39,10 @@
|
|||
<Parameter Name="blue" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="red">The red value.</param>
|
||||
<param name="green">The green value.</param>
|
||||
<param name="blue">The blue value.</param>
|
||||
<summary>Creates a color from the specified red, green and blue values.</summary>
|
||||
<param name="red">The red component.</param>
|
||||
<param name="green">The green component.</param>
|
||||
<param name="blue">The blue component.</param>
|
||||
<summary>Creates a color from the specified red, green and blue components.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -68,11 +68,11 @@
|
|||
<Parameter Name="alpha" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="red">The red value.</param>
|
||||
<param name="green">The green value.</param>
|
||||
<param name="blue">The blue value.</param>
|
||||
<param name="alpha">The alpha value.</param>
|
||||
<summary>Creates a color from the specified red, green, blue and alpha values.</summary>
|
||||
<param name="red">The red component.</param>
|
||||
<param name="green">The green component.</param>
|
||||
<param name="blue">The blue component.</param>
|
||||
<param name="alpha">The alpha component.</param>
|
||||
<summary>Creates a color from the specified red, green, blue and alpha components.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -169,10 +169,12 @@
|
|||
<Parameter Name="other" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="other">To be added.</param>
|
||||
<summary>Determines if this object is equal to the provided one</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="other">The object to compare with the current object.</param>
|
||||
<summary>Determines whether the specified object is equal to the current object.</summary>
|
||||
<returns>Returns true if the specified object is equal to the current object; otherwise, false.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="FromHsl">
|
||||
|
@ -194,13 +196,15 @@
|
|||
<Parameter Name="a" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="h">To be added.</param>
|
||||
<param name="s">To be added.</param>
|
||||
<param name="l">To be added.</param>
|
||||
<param name="a">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="h">The hue value.</param>
|
||||
<param name="s">The saturation value.</param>
|
||||
<param name="l">The lightness/luminosity value.</param>
|
||||
<param name="a">The alpha value.</param>
|
||||
<summary>Creates a color from the specified hue, saturation, lightness/luminosity and alpha values.</summary>
|
||||
<returns>The new <see cref="T:SkiaSharp.SKColor" /> instance.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="FromHsv">
|
||||
|
@ -222,13 +226,15 @@
|
|||
<Parameter Name="a" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="h">To be added.</param>
|
||||
<param name="s">To be added.</param>
|
||||
<param name="v">To be added.</param>
|
||||
<param name="a">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="h">The hue value.</param>
|
||||
<param name="s">The saturation value.</param>
|
||||
<param name="v">The value/brightness value.</param>
|
||||
<param name="a">The alpha value.</param>
|
||||
<summary>Creates a color from the specified hue, saturation, value/brightness and alpha values.</summary>
|
||||
<returns>The new <see cref="T:SkiaSharp.SKColor" /> instance.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetHashCode">
|
||||
|
@ -249,9 +255,11 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns the object hash code.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Serves as the default hash function.</summary>
|
||||
<returns>Returns a hash code for the current object.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Green">
|
||||
|
@ -293,9 +301,13 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the hue value.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Equality">
|
||||
|
@ -315,11 +327,13 @@
|
|||
<Parameter Name="right" Type="SkiaSharp.SKColor" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">To be added.</param>
|
||||
<param name="right">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="left">The first color to compare.</param>
|
||||
<param name="right">The second color to compare.</param>
|
||||
<summary>Indicates whether two <see cref="T:SkiaSharp.SKColor" /> objects are equal.</summary>
|
||||
<returns>Returns true if left is equal to right, otherwise false.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Explicit">
|
||||
|
@ -338,10 +352,12 @@
|
|||
<Parameter Name="color" Type="SkiaSharp.SKColor" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="color">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="color">The color to convert.</param>
|
||||
<summary>Converts a <see cref="T:SkiaSharp.SKColor" /> to a UInt32.</summary>
|
||||
<returns>The UInt32 value for the color.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Implicit">
|
||||
|
@ -360,10 +376,12 @@
|
|||
<Parameter Name="color" Type="System.UInt32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="color">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="color">The UInt32 representation of a color.</param>
|
||||
<summary>Converts a UInt32 to a <see cref="T:SkiaSharp.SKColor" />.</summary>
|
||||
<returns>The new <see cref="T:SkiaSharp.SKColor" /> instance.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Inequality">
|
||||
|
@ -383,11 +401,13 @@
|
|||
<Parameter Name="right" Type="SkiaSharp.SKColor" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">To be added.</param>
|
||||
<param name="right">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="left">The first color to compare.</param>
|
||||
<param name="right">The second color to compare.</param>
|
||||
<summary>Indicates whether two <see cref="T:SkiaSharp.SKColor" /> objects are different.</summary>
|
||||
<returns>Returns true if left is not equal to right, otherwise false.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Parse">
|
||||
|
@ -404,10 +424,10 @@
|
|||
<Parameter Name="hexString" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="hexString">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="hexString">The hexadecimal string representation of a color.</param>
|
||||
<summary>Converts the hexadecimal string representation of a color to its <see cref="T:SkiaSharp.SKColor" /> equivalent.</summary>
|
||||
<returns>The new <see cref="T:SkiaSharp.SKColor" /> instance.</returns>
|
||||
<remarks>This method can parse a string in the forms with or without a preceding ‘#’ character: AARRGGB, RRGGBB, ARGB, RGB.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Red">
|
||||
|
@ -454,11 +474,11 @@
|
|||
<Parameter Name="l" Type="System.Single&" RefType="out" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="h">To be added.</param>
|
||||
<param name="s">To be added.</param>
|
||||
<param name="l">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="h">The hue value.</param>
|
||||
<param name="s">The saturation value.</param>
|
||||
<param name="l">The lightness/luminosity value.</param>
|
||||
<summary>Converts the current color into it’s hue, saturation and lightness/luminosity values.</summary>
|
||||
<remarks>The alpha value is separate from the HSL calculation and will always be the same as <see cref="P:SkiaSharp.SKColor.Alpha" />.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ToHsv">
|
||||
|
@ -479,11 +499,11 @@
|
|||
<Parameter Name="v" Type="System.Single&" RefType="out" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="h">To be added.</param>
|
||||
<param name="s">To be added.</param>
|
||||
<param name="v">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="h">The hue value.</param>
|
||||
<param name="s">The saturation value.</param>
|
||||
<param name="v">The value/brightness value.</param>
|
||||
<summary>Converts the current color into it’s hue, saturation and value/brightness values.</summary>
|
||||
<remarks>The alpha value is separate from the HSV/HSB calculation and will always be the same as <see cref="P:SkiaSharp.SKColor.Alpha" />.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ToString">
|
||||
|
@ -504,9 +524,13 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns a string with the #AARRGGBB format.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Returns the color as a string in the format: #AARRGGBB.</summary>
|
||||
<returns>
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="TryParse">
|
||||
|
@ -524,11 +548,11 @@
|
|||
<Parameter Name="color" Type="SkiaSharp.SKColor&" RefType="out" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="hexString">To be added.</param>
|
||||
<param name="color">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="hexString">The hexadecimal string representation of a color.</param>
|
||||
<param name="color">The new <see cref="T:SkiaSharp.SKColor" /> instance.</param>
|
||||
<summary>Converts the hexadecimal string representation of a color to its <see cref="T:SkiaSharp.SKColor" /> equivalent.</summary>
|
||||
<returns>Returns tru if the conversion was successful, otherwise false.</returns>
|
||||
<remarks>This method can parse a string in the forms with or without a preceding ‘#’ character: AARRGGB, RRGGBB, ARGB, RGB.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="WithAlpha">
|
||||
|
@ -551,10 +575,14 @@
|
|||
<Parameter Name="alpha" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="alpha">To be added.</param>
|
||||
<param name="alpha">The new alpha component.</param>
|
||||
<summary>Returns a new color based on this current instance, but with the new alpha channel value.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<returns>
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="WithBlue">
|
||||
|
@ -573,10 +601,14 @@
|
|||
<Parameter Name="blue" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="blue">To be added.</param>
|
||||
<param name="blue">The new blue component.</param>
|
||||
<summary>Returns a new color based on this current instance, but with the new blue channel value.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<returns>
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="WithGreen">
|
||||
|
@ -595,10 +627,14 @@
|
|||
<Parameter Name="green" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="green">To be added.</param>
|
||||
<param name="green">The new green component.</param>
|
||||
<summary>Returns a new color based on this current instance, but with the new green channel value.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<returns>
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="WithRed">
|
||||
|
@ -617,10 +653,14 @@
|
|||
<Parameter Name="red" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="red">To be added.</param>
|
||||
<param name="red">The new red component.</param>
|
||||
<summary>Returns a new color based on this current instance, but with the new red channel value.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<returns>
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -16,10 +16,8 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>Color filters for use in an <see cref="T:SkiaSharp.SKPaint" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
<summary>Color filters for use with the <see cref="P:SkiaSharp.SKPaint.ColorFilter" /> property of a <see cref="T:SkiaSharp.SKPaint" />.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="CreateColorCube">
|
||||
|
@ -43,14 +41,11 @@
|
|||
<Parameter Name="cubeDimension" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="cubeData">must containt a 3D data in the form of cube of the size: cubeDimension * cubeDimension * cubeDimension * sizeof(SkColor)</param>
|
||||
<param name="cubeDimension">Cube dimension.</param>
|
||||
<summary>Creates a 3D Look-Up-Table Color filter.</summary>
|
||||
<returns>Filter created with the specified lookup table.</returns>
|
||||
<remarks>
|
||||
<para>This cube contains a transform where (x,y,z) maps to the (r,g,b).</para>
|
||||
<para>The alpha components of the colors must be 0xFF.</para>
|
||||
</remarks>
|
||||
<param name="cubeData">The cube data in the form of a 3D cube.</param>
|
||||
<param name="cubeDimension">The cube's dimension, between <see cref="F:SkiaSharp.SKColorFilter.MinCubeSize" /> and <see cref="F:SkiaSharp.SKColorFilter.MaxCubeSize" /> inclusive.</param>
|
||||
<summary>Creates a new color cube look-up table color filter, where (x, y, z) maps to the (R, G, B).</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>The alpha components of the colors must be 255, or opaque.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateColorCube">
|
||||
|
@ -74,14 +69,11 @@
|
|||
<Parameter Name="cubeDimension" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="cubeData">must containt a 3D data in the form of cube of the size: cubeDimension * cubeDimension * cubeDimension * sizeof(SkColor)</param>
|
||||
<param name="cubeDimension">Cube dimension.</param>
|
||||
<summary>Creates a 3D Look-Up-Table Color filter.</summary>
|
||||
<returns>Filter created with the specified lookup table.</returns>
|
||||
<remarks>
|
||||
<para>This cube contains a transform where (x,y,z) maps to the (r,g,b).</para>
|
||||
<para>The alpha components of the colors must be 0xFF.</para>
|
||||
</remarks>
|
||||
<param name="cubeData">The cube data in the form of a 3D cube.</param>
|
||||
<param name="cubeDimension">The cube's dimension, between <see cref="F:SkiaSharp.SKColorFilter.MinCubeSize" /> and <see cref="F:SkiaSharp.SKColorFilter.MaxCubeSize" /> inclusive.</param>
|
||||
<summary>Creates a new color cube look-up table color filter, where (x, y, z) maps to the (R, G, B).</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>The alpha components of the colors must be 255, or opaque.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateColorMatrix">
|
||||
|
@ -104,10 +96,10 @@
|
|||
<Parameter Name="matrix" Type="System.Single[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="matrix">An array of 20 elements.</param>
|
||||
<summary>Creates a color matrix filter.</summary>
|
||||
<returns>Filter created with the specified color matrix.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="matrix">An array of <see cref="F:SkiaSharp.SKColorFilter.ColorMatrixSize" /> elements.</param>
|
||||
<summary>Creates a new color filter that transforms a color by a 4x5 (row-major) matrix.</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>The matrix is in row-major order and the translation column is specified in unnormalized, 0...255, space.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateCompose">
|
||||
|
@ -131,11 +123,13 @@
|
|||
<Parameter Name="inner" Type="SkiaSharp.SKColorFilter" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="outer">To be added.</param>
|
||||
<param name="inner">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="outer">The outer (second) filter to apply.</param>
|
||||
<param name="inner">The inner (first) filter to apply.</param>
|
||||
<summary>Creates a new composition color filter, whose effect is to first apply the inner filter and then apply the outer filter to the result of the inner's.</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateGamma">
|
||||
|
@ -154,10 +148,10 @@
|
|||
<Parameter Name="gamma" Type="System.Single" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="gamma">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="gamma">The gamma to use.</param>
|
||||
<summary>Creates a new gamma color filter which can be used to perform pixel-by-pixel conversion between linear and power-law color spaces.</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>A gamma of 2.2 is interpreted to mean convert from sRGB to linear while a gamma of 1/2.2 is interpreted to mean convert from linear to sRGB. Any other values are just directly applied (i.e., out = in ^ gamma).</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateLighting">
|
||||
|
@ -181,11 +175,13 @@
|
|||
<Parameter Name="add" Type="SkiaSharp.SKColor" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="mul">To be added.</param>
|
||||
<param name="add">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="mul">The color to multiply the source color by. The alpha component is ignored.</param>
|
||||
<param name="add">The color to add to the source color. The alpha component is ignored.</param>
|
||||
<summary>Creates a new lighting color filter that multiplies the RGB channels by one color, and then adds a second color, pinning the result for each component to [0..255].</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateLumaColor">
|
||||
|
@ -206,9 +202,11 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Creates a new luminance-to-alpha color filter.</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateTable">
|
||||
|
@ -231,10 +229,12 @@
|
|||
<Parameter Name="table" Type="System.Byte[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="table">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="table">The table of values for each color component, with a length of <see cref="F:SkiaSharp.SKColorTable.MaxLength" />.</param>
|
||||
<summary>Creates a new table color filter.</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateTable">
|
||||
|
@ -260,13 +260,15 @@
|
|||
<Parameter Name="tableB" Type="System.Byte[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="tableA">To be added.</param>
|
||||
<param name="tableR">To be added.</param>
|
||||
<param name="tableG">To be added.</param>
|
||||
<param name="tableB">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="tableA">The table of values for the alpha component, with a length of <see cref="F:SkiaSharp.SKColorTable.MaxLength" />.</param>
|
||||
<param name="tableR">The table of values for the red component, with a length of <see cref="F:SkiaSharp.SKColorTable.MaxLength" />.</param>
|
||||
<param name="tableG">The table of values for the green component, with a length of <see cref="F:SkiaSharp.SKColorTable.MaxLength" />.</param>
|
||||
<param name="tableB">The table of values for the blue component, with a length of <see cref="F:SkiaSharp.SKColorTable.MaxLength" />.</param>
|
||||
<summary>Creates a new table color filter.</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateXferMode">
|
||||
|
@ -290,11 +292,13 @@
|
|||
<Parameter Name="mode" Type="SkiaSharp.SKXferMode" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="c">To be added.</param>
|
||||
<param name="mode">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="c">The source color.</param>
|
||||
<param name="mode">The transfer/blend mode to apply to each color.</param>
|
||||
<summary>Creates a new transfer mode color filter that uses the specified color and transfer/blend mode.</summary>
|
||||
<returns>Returns the new <see cref="T:SkiaSharp.SKColorFilter" />.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -346,15 +350,15 @@
|
|||
<param name="cubeData">must containt a 3D data in the form of cube of the size: cubeDimension * cubeDimension * cubeDimension * sizeof(SkColor).</param>
|
||||
<param name="cubeDimension">Cube dimensions.</param>
|
||||
<summary>Determines if the provided cube data and dimensions represent a valid color cube.</summary>
|
||||
<returns>true if the cube data and dimensions represent a valid color cube.</returns>
|
||||
<returns>Returns true if the cube data and dimensions represent a valid color cube, otherwise false.</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MaxCubeSize">
|
||||
<MemberSignature Language="C#" Value="public const int MaxCubeSize = 64;" />
|
||||
<MemberSignature Language="ILAsm" Value=".field public static literal int32 MaxCubeSize = (64)" />
|
||||
<Member MemberName="MaxColorCubeDimension">
|
||||
<MemberSignature Language="C#" Value="public const int MaxColorCubeDimension = 64;" />
|
||||
<MemberSignature Language="ILAsm" Value=".field public static literal int32 MaxColorCubeDimension = (64)" />
|
||||
<MemberType>Field</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
|
@ -370,13 +374,15 @@
|
|||
</ReturnValue>
|
||||
<MemberValue>64</MemberValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>The maximum dimension for the color cube.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MinCubeSize">
|
||||
<MemberSignature Language="C#" Value="public const int MinCubeSize = 4;" />
|
||||
<MemberSignature Language="ILAsm" Value=".field public static literal int32 MinCubeSize = (4)" />
|
||||
<Member MemberName="MinColorCubeDimension">
|
||||
<MemberSignature Language="C#" Value="public const int MinColorCubeDimension = 4;" />
|
||||
<MemberSignature Language="ILAsm" Value=".field public static literal int32 MinColorCubeDimension = (4)" />
|
||||
<MemberType>Field</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
|
@ -392,8 +398,28 @@
|
|||
</ReturnValue>
|
||||
<MemberValue>4</MemberValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>The minimum dimension for the color cube.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ColorMatrixSize">
|
||||
<MemberSignature Language="C#" Value="public const int ColorMatrixSize = 20;" />
|
||||
<MemberSignature Language="ILAsm" Value=".field public static literal int32 ColorMatrixSize = (20)" />
|
||||
<MemberType>Field</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<MemberValue>20</MemberValue>
|
||||
<Docs>
|
||||
<summary>The size of the color matrix.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -11,12 +11,21 @@
|
|||
<AssemblyVersion>1.54.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
<AttributeName>System.Obsolete("May be removed in the next version.")</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
<Base>
|
||||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>
|
||||
<para></para>
|
||||
</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Linear">
|
||||
|
@ -36,7 +45,9 @@
|
|||
<ReturnType>SkiaSharp.SKColorProfileType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para></para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SRGB">
|
||||
|
@ -56,7 +67,9 @@
|
|||
<ReturnType>SkiaSharp.SKColorProfileType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para></para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -14,13 +14,7 @@
|
|||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>Holds a color table for indexed 8-bit bitmaps.</summary>
|
||||
<remarks>
|
||||
<para>This class is used to represent a color lookup table for indexed bitmap images.</para>
|
||||
<para></para>
|
||||
<para>The table can contain up to 256 colors (8 bits).</para>
|
||||
<para></para>
|
||||
<para>The colors are stored are pre-multiplied 32-bit colors.</para>
|
||||
</remarks>
|
||||
<remarks>This class is used to represent a color lookup table for indexed bitmap images. The table can contain up to <see cref="F:SkiaSharp.SKColorTable.MaxLength" /> (256) colors (8 bits). The colors are stored are pre-multiplied 32-bit colors.</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -35,8 +29,10 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Creates a new emtpy color table with 256 emtpy elements.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Creates a new emtpy color table with 256 empty elements.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -53,9 +49,11 @@
|
|||
<Parameter Name="colors" Type="SkiaSharp.SKColor[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="colors">To be added.</param>
|
||||
<summary>Creates a color table with the provided colors, up to 256 colors can be provided.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="colors">The colors to initialize with.</param>
|
||||
<summary>Creates a color table with the provided colors, up to <see cref="F:SkiaSharp.SKColorTable.MaxLength" /> (256) colors can be provided.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -72,9 +70,11 @@
|
|||
<Parameter Name="count" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="count">To be added.</param>
|
||||
<param name="count">The number of empty colors to initialize with.</param>
|
||||
<summary>Creates a color table with the specified number of elements, with empty colors.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
|
@ -92,10 +92,12 @@
|
|||
<Parameter Name="count" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="colors">To be added.</param>
|
||||
<param name="count">To be added.</param>
|
||||
<param name="colors">The colors to initialize with.</param>
|
||||
<param name="count">The number of colors to initialize with.</param>
|
||||
<summary>Creates a color table with the provided colors, but only consumes the first count elements from the colors array.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Colors">
|
||||
|
@ -113,8 +115,12 @@
|
|||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Gets a copy of the colors in the color table.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Count">
|
||||
|
@ -131,9 +137,13 @@
|
|||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The number of colors in the lookup table.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the number of colors in the lookup table.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -154,7 +164,7 @@
|
|||
</Parameters>
|
||||
<Docs>
|
||||
<param name="disposing">To be added.</param>
|
||||
<summary>Use this to dispose this object by subclasses.</summary>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -173,8 +183,10 @@
|
|||
</ReturnValue>
|
||||
<MemberValue>256</MemberValue>
|
||||
<Docs>
|
||||
<summary>The maximum number of colors in the color lookup table.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the maximum number of colors in the color lookup table.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ReadColors">
|
||||
|
@ -193,8 +205,12 @@
|
|||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an unmanaged pointer to the color lookup table.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<returns>
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Represents a 8-bit alpha-only color.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Argb4444">
|
||||
|
@ -52,7 +52,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Represents a 16-bit color with the format ARGB.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Bgra8888">
|
||||
|
@ -70,7 +70,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Represents a 32bit color with the format BGRA.</summary>
|
||||
<summary>Represents a 32-bit color with the format BGRA.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Gray8">
|
||||
|
@ -88,7 +88,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Represents a 8-bit grayscale color.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Index8">
|
||||
|
@ -106,7 +106,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Represents a 8-bit indexed color.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Rgb565">
|
||||
|
@ -124,7 +124,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Represents a 16-bit color with the format RGB, with the red and blue components being 5-bits and the green component being 6-bits.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Rgba8888">
|
||||
|
@ -142,7 +142,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Represents a 32bit color with the format RGBA.</summary>
|
||||
<summary>Represents a 32-bit color with the format RGBA.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RgbaF16">
|
||||
|
@ -160,7 +160,7 @@
|
|||
<ReturnType>SkiaSharp.SKColorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Represents a floating-point based color with the format RGBA.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unknown">
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -16,12 +16,12 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>SkData holds an immutable data buffer.</summary>
|
||||
<summary>The <see cref="T:SkiaSharp.SKData" /> holds an immutable data buffer.</summary>
|
||||
<remarks>
|
||||
<para>Not only is the data immutable, but the actual pointer that is returned by the <see cref="P:SkiaSharp.SKData.Data" /> property is guaranteed to always be the same for the life of this instance.</para>
|
||||
<para>The <see cref="M:SkiaSharp.SKData.AsStream" /> method can be used to return a <see cref="T:System.IO.Stream" /> that wraps this SKData and allows for .NET APIs to scan the contents of the SKData as a stream.</para>
|
||||
<para>The <see cref="M:SkiaSharp.SKData.AsStream" /> method can be used to return a <see cref="T:System.IO.Stream" /> that wraps this <see cref="T:SkiaSharp.SKData" /> and allows for .NET APIs to scan the contents of the <see cref="T:SkiaSharp.SKData" /> as a stream.</para>
|
||||
<para></para>
|
||||
<para>You can use the constructors for this object to make copies of the data, or you can use the <see cref="M:SkiaSharp.SKData.FromMallocMemory" /> to wrap a block of memory that has been allocated with the platform malloc function.</para>
|
||||
<para>You can use the constructors for this object to make copies of the data, or you can use the <see cref="M:SkiaSharp.SKData.FromMallocMemory" /> to wrap a block of memory that has been allocated with the platform “malloc" function.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
|
@ -40,9 +40,9 @@
|
|||
</AssemblyInfo>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Creates an empty SKData object.</summary>
|
||||
<summary>Creates an empty <see cref="T:SkiaSharp.SKData" /> object.</summary>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -63,8 +63,8 @@
|
|||
<Parameter Name="bytes" Type="System.Byte[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="bytes">Array of bytes that will be copied.</param>
|
||||
<summary>Creates an SKData by copying the provided byte array.</summary>
|
||||
<param name="bytes">The array of bytes that will be copied.</param>
|
||||
<summary>Creates an <see cref="T:SkiaSharp.SKData" /> by copying the provided byte array.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -88,9 +88,9 @@
|
|||
<Parameter Name="length" Type="System.UInt64" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="bytes">Pointer to a buffer</param>
|
||||
<param name="length">Length of the buffer.</param>
|
||||
<summary>Creates an SKData by copying the provided byte buffer for the specified length.</summary>
|
||||
<param name="bytes">The pointer to a buffer.</param>
|
||||
<param name="length">The length of the buffer.</param>
|
||||
<summary>Creates an <see cref="T:SkiaSharp.SKData" /> by copying the provided byte buffer for the specified length.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -114,9 +114,13 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Wraps the SKData as a <see cref="T:System.IO.Stream" /></summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Wraps the <see cref="T:SkiaSharp.SKData" /> as a <see cref="T:System.IO.Stream" /></summary>
|
||||
<returns>
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Data">
|
||||
|
@ -136,9 +140,13 @@
|
|||
<ReturnType>System.IntPtr</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Returns a pointer to the data wrapped by this.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets a pointer to the data wrapped by this <see cref="T:SkiaSharp.SKData" />.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -161,9 +169,11 @@
|
|||
<Parameter Name="disposing" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="disposing">To be added.</param>
|
||||
<summary>Releases the resources associated with the data. If this <see cref="T:SkiaSharp.SKData" /> was created with one of the <see cref="M:SkiaSharp.SKData.FromMallocMemory" /> method, then the operating system’s “free” method will be called on the data.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="disposing">Specify true to release both managed and unmanaged resources, false to release only unmanaged resources.</param>
|
||||
<summary>Releases the resources associated with the data. If this <see cref="T:SkiaSharp.SKData" /> was created with one of the <see cref="M:SkiaSharp.SKData.FromMallocMemory" /> methods, then the operating system’s “free” method will be called on the data.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="FromMallocMemory">
|
||||
|
@ -187,10 +197,10 @@
|
|||
<Parameter Name="length" Type="System.UInt64" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="bytes">Pointer to memory that has been allocated with the operating system’s malloc or <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal" /> method.</param>
|
||||
<param name="length">The size of the buffer allocated</param>
|
||||
<summary>Creates an SKData from a buffer that was previously allocated with the operating system malloc (or <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal" /> method.</summary>
|
||||
<returns>An SKData instance that wraps it</returns>
|
||||
<param name="bytes">Pointer to memory that has been allocated with the operating system’s “malloc" or <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal" /> method.</param>
|
||||
<param name="length">The size of the buffer allocated.</param>
|
||||
<summary>Creates an <see cref="T:SkiaSharp.SKData" /> from a buffer that was previously allocated with the operating system “malloc" (or <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal" /> method.</summary>
|
||||
<returns>An <see cref="T:SkiaSharp.SKData" /> instance that wraps a memory block.</returns>
|
||||
<remarks>When this SKData is cleared, the free method will be called on the provided buffer.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -214,10 +224,10 @@
|
|||
<Parameter Name="target" Type="System.IO.Stream" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="target">Stream to save the data into.</param>
|
||||
<param name="target">The stream to save the data into.</param>
|
||||
<summary>Saves the buffer into the provided stream.</summary>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -238,10 +248,12 @@
|
|||
<ReturnType>System.Int64</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The size of this SKData object.</summary>
|
||||
<value>Size in bytes.</value>
|
||||
<summary>Gets the size of this data object in bytes.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -267,13 +279,13 @@
|
|||
</Parameters>
|
||||
<Docs>
|
||||
<param name="offset">The offset of the data.</param>
|
||||
<param name="length">The length for the new SKData</param>
|
||||
<summary>Creates a new SKData that points to a slice in this SKData.</summary>
|
||||
<param name="length">The length for the new <see cref="T:SkiaSharp.SKData" />.</param>
|
||||
<summary>Creates a new <see cref="T:SkiaSharp.SKData" /> that points to a slice in this <see cref="T:SkiaSharp.SKData" />.</summary>
|
||||
<returns>
|
||||
<para />
|
||||
<para></para>
|
||||
</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>Channel selector type for the <see cref="M:SkiaSharp.SKImageFilter.CreateCompose" /> method.</summary>
|
||||
<summary>Channel selector type for the <see cref="M:SkiaSharp.SKImageFilter.CreateDisplacementMapEffect" /> method.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<ReturnType>SkiaSharp.SKDisplacementMapEffectChannelSelectorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The alpha channel.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="B">
|
||||
|
@ -58,7 +58,7 @@
|
|||
<ReturnType>SkiaSharp.SKDisplacementMapEffectChannelSelectorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The blue channel.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="G">
|
||||
|
@ -78,7 +78,7 @@
|
|||
<ReturnType>SkiaSharp.SKDisplacementMapEffectChannelSelectorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The green channel.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="R">
|
||||
|
@ -98,7 +98,7 @@
|
|||
<ReturnType>SkiaSharp.SKDisplacementMapEffectChannelSelectorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The red channel.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unknown">
|
||||
|
@ -118,7 +118,7 @@
|
|||
<ReturnType>SkiaSharp.SKDisplacementMapEffectChannelSelectorType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The channel is not known.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>A high-level API for creating a document-based canvas.</summary>
|
||||
<remarks>For each page, call <see cref="M:SkiaSharp.SKDocument.BeginPage" /> to get the canvas, and then complete the page with a call to <see cref="M:SkiaSharp.SKDocument.EndPage" />. Finally, call <see cref="M:SkiaSharp.SKDocument.Close" /> to complete the document.</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Abort">
|
||||
|
@ -36,8 +36,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Stops producing the document immediately.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BeginPage">
|
||||
|
@ -60,11 +62,11 @@
|
|||
<Parameter Name="height" Type="System.Single" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="width">To be added.</param>
|
||||
<param name="height">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="width">The width of the page.</param>
|
||||
<param name="height">The height of the page.</param>
|
||||
<summary>Begins a new page for the document, returning the canvas that will draw into the page.</summary>
|
||||
<returns>Returns a canvas for the new page.</returns>
|
||||
<remarks>The document owns this canvas, and it will go out of scope when <see cref="M:SkiaSharp.SKDocument.EndPage" /> or <see cref="M:SkiaSharp.SKDocument.Close" /> is called, or the document is deleted.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BeginPage">
|
||||
|
@ -88,33 +90,12 @@
|
|||
<Parameter Name="content" Type="SkiaSharp.SKRect" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="width">To be added.</param>
|
||||
<param name="height">To be added.</param>
|
||||
<param name="content">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Close">
|
||||
<MemberSignature Language="C#" Value="public bool Close ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Close() cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.49.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.52.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.53.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.54.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.54.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="width">The width of the page.</param>
|
||||
<param name="height">The height of the page.</param>
|
||||
<param name="content">The area for the page contents.</param>
|
||||
<summary>Begins a new page for the document, returning the canvas that will draw into the page.</summary>
|
||||
<returns>Returns a canvas for the new page.</returns>
|
||||
<remarks>The document owns this canvas, and it will go out of scope when <see cref="M:SkiaSharp.SKDocument.EndPage" /> or <see cref="M:SkiaSharp.SKDocument.Close" /> is called, or the document is deleted.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Close">
|
||||
|
@ -129,8 +110,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Closes the current file or stream holding the document’s contents.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreatePdf">
|
||||
|
@ -153,11 +136,11 @@
|
|||
<Parameter Name="dpi" Type="System.Single" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="stream">To be added.</param>
|
||||
<param name="dpi">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="stream">The stream to write to.</param>
|
||||
<param name="dpi">The DPI (pixels-per-inch) at which features without native PDF support will be rasterized.</param>
|
||||
<summary>Create a PDF-backed document, writing the results into a stream.</summary>
|
||||
<returns>Returns the new PDF-backed document.</returns>
|
||||
<remarks>PDF pages are sized in point units. 1 pt == 1/72 inch == 127/360 mm.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreatePdf">
|
||||
|
@ -180,11 +163,11 @@
|
|||
<Parameter Name="dpi" Type="System.Single" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="path">To be added.</param>
|
||||
<param name="dpi">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<param name="path">The path of the file to write to.</param>
|
||||
<param name="dpi">The DPI (pixels-per-inch) at which features without native PDF support will be rasterized.</param>
|
||||
<summary>Create a PDF-backed document, writing the results into a file.</summary>
|
||||
<returns>Returns the new PDF-backed document.</returns>
|
||||
<remarks>PDF pages are sized in point units. 1 pt == 1/72 inch == 127/360 mm.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DefaultRasterDpi">
|
||||
|
@ -204,8 +187,10 @@
|
|||
</ReturnValue>
|
||||
<MemberValue>72</MemberValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets the default DPI for raster graphics.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
|
@ -249,8 +234,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Completes the drawing for the current page created by <see cref="M:SkiaSharp.SKDocument.BeginPage" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>Channel selector type for the <see cref="M:SkiaSharp.SKImageFilter.CreateDownSample" /> method.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>The various types of shadow modes for use with the <see cref="M:SkiaSharp.SKImageFilter.CreateDropShadow" /> method.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="DrawShadowAndForeground">
|
||||
|
@ -36,7 +38,7 @@
|
|||
<ReturnType>SkiaSharp.SKDropShadowImageFilterShadowMode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Draw both the shadow and the foreground.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawShadowOnly">
|
||||
|
@ -56,7 +58,7 @@
|
|||
<ReturnType>SkiaSharp.SKDropShadowImageFilterShadowMode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>Draw the shadow only.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>The various formats used by a <see cref="T:SkiaSharp.SKCodec" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Astc">
|
||||
|
@ -32,7 +34,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The ASTC image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Bmp">
|
||||
|
@ -50,7 +52,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The BMP image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dng">
|
||||
|
@ -68,7 +70,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The Adobe DNG image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Gif">
|
||||
|
@ -86,7 +88,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The GIF image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ico">
|
||||
|
@ -104,7 +106,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The ICO image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Jpeg">
|
||||
|
@ -122,7 +124,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The JPEG image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ktx">
|
||||
|
@ -140,7 +142,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The KTX image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Pkm">
|
||||
|
@ -158,7 +160,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The PKM image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Png">
|
||||
|
@ -176,7 +178,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The PNG image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unknown">
|
||||
|
@ -194,7 +196,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The format is unknown.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Wbmp">
|
||||
|
@ -212,7 +214,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The WBMP image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Webp">
|
||||
|
@ -230,7 +232,7 @@
|
|||
<ReturnType>SkiaSharp.SKEncodedFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The WEBP image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -39,8 +39,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The recommended distance above the baseline.</summary>
|
||||
<value>The recommended distance above the baseline.</value>
|
||||
<summary>Gets the recommended distance above the baseline.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>Will be <= 0.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -61,8 +63,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The average character width.</summary>
|
||||
<value>The average character width.</value>
|
||||
<summary>Gets the average character width.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>Will be >= 0.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -83,8 +87,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The greatest distance below the baseline for any glyph.</summary>
|
||||
<value>The greatest distance below the baseline for any glyph.</value>
|
||||
<summary>Gets the greatest distance below the baseline for any glyph.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>Will be >= 0.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -105,8 +111,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The cap height.</summary>
|
||||
<value>The cap height.</value>
|
||||
<summary>Gets the cap height.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>Will be > 0, or 0 if cannot be determined.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -127,8 +135,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The recommended distance below the baseline.</summary>
|
||||
<value>The recommended distance below the baseline.</value>
|
||||
<summary>Gets the recommended distance below the baseline.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>Will be >= 0.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -149,8 +159,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The recommended distance to add between lines of text.</summary>
|
||||
<value>The recommended distance to add between lines of text.</value>
|
||||
<summary>Gets the recommended distance to add between lines of text.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>Will be >= 0.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -171,8 +183,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The max character width.</summary>
|
||||
<value>The max character width.</value>
|
||||
<summary>Gets the max character width.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>Will be >= 0.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -193,8 +207,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The greatest distance above the baseline for any glyph.</summary>
|
||||
<value>The greatest distance above the baseline for any glyph.</value>
|
||||
<summary>Gets the greatest distance above the baseline for any glyph.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>Will be <= 0.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -215,8 +231,10 @@
|
|||
<ReturnType>System.Nullable<System.Single></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Position of the top of the Underline stroke relative to the baseline.</summary>
|
||||
<value>Position of the top of the Underline stroke relative to the baseline.</value>
|
||||
<summary>Gets tosition of the top of the underline stroke relative to the baseline.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>
|
||||
<para>Negative - underline should be drawn above baseline.</para>
|
||||
<para>Positive - underline should be drawn below baseline.</para>
|
||||
|
@ -242,8 +260,10 @@
|
|||
<ReturnType>System.Nullable<System.Single></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The thickness of the underline.</summary>
|
||||
<value>The thickness of the underline.</value>
|
||||
<summary>Gets the thickness of the underline.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>
|
||||
<para>0 - if the thickness can not be determined</para>
|
||||
<para>null - if the thickness is not set.</para>
|
||||
|
@ -267,8 +287,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The height of an 'x' in px.</summary>
|
||||
<value>The height of an 'x' in px.</value>
|
||||
<summary>Gets the height of an 'x' in px.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>0 if no 'x' in face.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -289,8 +311,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The maximum bounding box x value for all glyphs.</summary>
|
||||
<value>The maximum bounding box x value for all glyphs.</value>
|
||||
<summary>Gets the maximum bounding box x value for all glyphs.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -313,8 +337,10 @@
|
|||
<ReturnType>System.Single</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The minimum bounding box x value for all glyphs.</summary>
|
||||
<value>The minimum bounding box x value for all glyphs.</value>
|
||||
<summary>Gets the minimum bounding box x value for all glyphs.</summary>
|
||||
<value>
|
||||
<para />
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
|
|
@ -69,8 +69,8 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Encodes the image as a PNG image</summary>
|
||||
<returns>SKData wrapping the encoded image as a PNG.</returns>
|
||||
<summary>Encodes the image using the <see cref="F:SkiaSharp.SKImageEncodeFormat.Png" /> format.</summary>
|
||||
<returns>Returns the <see cref="T:SkiaSharp.SKData" /> wrapping the encoded image.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -99,8 +99,8 @@
|
|||
<Docs>
|
||||
<param name="format">The file format used to encode the image.</param>
|
||||
<param name="quality">The quality level to use for the image.</param>
|
||||
<summary>Encodes an image, multiple file formats supported</summary>
|
||||
<returns>SKData wrapping the encoded image as a PNG.</returns>
|
||||
<summary>Encodes the image using the specified format.</summary>
|
||||
<returns>Returns the <see cref="T:SkiaSharp.SKData" /> wrapping the encoded image.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
|
@ -124,12 +124,10 @@
|
|||
<Parameter Name="bitmap" Type="SkiaSharp.SKBitmap" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="bitmap">The bitmap that will be used as the source for the image</param>
|
||||
<summary>Creates a new <see cref="T:SkiaSharp.SKImage" /> from the provided <see cref="T:SkiaSharp.SKBitmap" />.</summary>
|
||||
<param name="bitmap">The bitmap that will be used as the source for the image.</param>
|
||||
<summary>Creates a new image from the provided <see cref="T:SkiaSharp.SKBitmap" />.</summary>
|
||||
<returns>An image whose contents are the contents of the specified bitmap.</returns>
|
||||
<remarks>
|
||||
<para>If the bitmap is marked immutable, and its pixel memory is shareable, it may be shared instead of copied.</para>
|
||||
</remarks>
|
||||
<remarks>If the bitmap is marked immutable, and its pixel memory is shareable, it may be shared instead of copied.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="FromData">
|
||||
|
@ -152,11 +150,11 @@
|
|||
<Parameter Name="data" Type="SkiaSharp.SKData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="data">Data holding the encoded image.</param>
|
||||
<summary>Creates an SKImage from an encoded image wrapped by the data.</summary>
|
||||
<param name="data">The data holding the encoded image.</param>
|
||||
<summary>Creates a new image from an encoded image wrapped by the data.</summary>
|
||||
<returns>The decoded image, or <see langword="null" /> on error.</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -181,9 +179,9 @@
|
|||
<Parameter Name="subset" Type="SkiaSharp.SKRectI" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="data">Data holding the encoded image.</param>
|
||||
<param name="subset">Specified a bounds for a subset of the image.</param>
|
||||
<summary>Creates an SKImage from an encoded image wrapped by the data.</summary>
|
||||
<param name="data">The data holding the encoded image.</param>
|
||||
<param name="subset">The bounds for a subset of the image.</param>
|
||||
<summary>Creates a new image from an encoded image wrapped by the data.</summary>
|
||||
<returns>The decoded image, or <see langword="null" /> on error.</returns>
|
||||
<remarks>
|
||||
<para></para>
|
||||
|
@ -212,13 +210,13 @@
|
|||
<Parameter Name="rowBytes" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="info">Information describing the encoding of the image in memory.</param>
|
||||
<param name="pixels">Points to the image in memory.</param>
|
||||
<param name="rowBytes">Specified the number of bytes used per row in the image.</param>
|
||||
<summary>Creates an image from an in-memory buffer</summary>
|
||||
<returns>A new SKImage wrapping the specified buffer, or <see langword="null" /> on error.</returns>
|
||||
<param name="info">The image information describing the encoding of the image in memory.</param>
|
||||
<param name="pixels">The pointer to the image in memory.</param>
|
||||
<param name="rowBytes">The specified the number of bytes used per row in the image.</param>
|
||||
<summary>Creates a new image from an in-memory buffer</summary>
|
||||
<returns>A new image wrapping the specified buffer, or <see langword="null" /> on error.</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -239,12 +237,12 @@
|
|||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The image height.</summary>
|
||||
<summary>Gets the image height.</summary>
|
||||
<value>
|
||||
<para />
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -265,12 +263,12 @@
|
|||
<ReturnType>System.UInt32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The unique ID associated with the image.</summary>
|
||||
<summary>Gets the unique ID associated with the image.</summary>
|
||||
<value>
|
||||
<para />
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -291,12 +289,12 @@
|
|||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The image width.</summary>
|
||||
<summary>Gets the image width.</summary>
|
||||
<value>
|
||||
<para />
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>BMP File</summary>
|
||||
<summary>The BMP image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Gif">
|
||||
|
@ -58,7 +58,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>GIF file format</summary>
|
||||
<summary>The GIF image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ico">
|
||||
|
@ -78,7 +78,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Ico file format</summary>
|
||||
<summary>The ICO image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Jpeg">
|
||||
|
@ -98,7 +98,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>JPEG file format</summary>
|
||||
<summary>The JPEG image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ktx">
|
||||
|
@ -118,7 +118,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The KTX image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Png">
|
||||
|
@ -138,7 +138,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>PNG file format</summary>
|
||||
<summary>The PNG image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unknown">
|
||||
|
@ -158,7 +158,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>The image format is unknown.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Wbmp">
|
||||
|
@ -178,7 +178,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Windows BMP file format</summary>
|
||||
<summary>The WBMP image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Webp">
|
||||
|
@ -198,7 +198,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageEncodeFormat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>WebP file format</summary>
|
||||
<summary>The WEBP image format.</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
|
@ -16,8 +16,10 @@
|
|||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>Image filters for the <see cref="T:SkiaSharp.SKPaint" /></summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Image filters for use with the <see cref="P:SkiaSharp.SKPaint.ImageFilter" /> property of a <see cref="T:SkiaSharp.SKPaint" />.</summary>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="CreateAlphaThreshold">
|
||||
|
@ -176,17 +178,11 @@
|
|||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="CreateCompose">
|
||||
<MemberSignature Language="C#" Value="public static SkiaSharp.SKImageFilter CreateCompose (SkiaSharp.SKDisplacementMapEffectChannelSelectorType xChannelSelector, SkiaSharp.SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SkiaSharp.SKImageFilter displacement, SkiaSharp.SKImageFilter input = null, SkiaSharp.SKImageFilter.CropRect cropRect = null);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class SkiaSharp.SKImageFilter CreateCompose(valuetype SkiaSharp.SKDisplacementMapEffectChannelSelectorType xChannelSelector, valuetype SkiaSharp.SKDisplacementMapEffectChannelSelectorType yChannelSelector, float32 scale, class SkiaSharp.SKImageFilter displacement, class SkiaSharp.SKImageFilter input, class SkiaSharp.SKImageFilter/CropRect cropRect) cil managed" />
|
||||
<Member MemberName="CreateDisplacementMapEffect">
|
||||
<MemberSignature Language="C#" Value="public static SkiaSharp.SKImageFilter CreateDisplacementMapEffect (SkiaSharp.SKDisplacementMapEffectChannelSelectorType xChannelSelector, SkiaSharp.SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SkiaSharp.SKImageFilter displacement, SkiaSharp.SKImageFilter input = null, SkiaSharp.SKImageFilter.CropRect cropRect = null);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class SkiaSharp.SKImageFilter CreateDisplacementMapEffect(valuetype SkiaSharp.SKDisplacementMapEffectChannelSelectorType xChannelSelector, valuetype SkiaSharp.SKDisplacementMapEffectChannelSelectorType yChannelSelector, float32 scale, class SkiaSharp.SKImageFilter displacement, class SkiaSharp.SKImageFilter input, class SkiaSharp.SKImageFilter/CropRect cropRect) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.49.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.52.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.53.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.54.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.54.0.0</AssemblyVersion>
|
||||
<AssemblyVersion>1.55.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
|
|
|
@ -160,9 +160,7 @@
|
|||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Gets the total number of bytes needed to store the bitmap data.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<value />
|
||||
<remarks>This is calculated as: <see cref="P:SkiaSharp.SKImageInfo.Width" /> * <see cref="P:SkiaSharp.SKImageInfo.Height" /> * <see cref="P:SkiaSharp.SKImageInfo.BytesPerPixel" />.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<Docs>
|
||||
<summary>Creates a new paint with the default settings.</summary>
|
||||
<remarks>
|
||||
<para />
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -54,9 +54,13 @@
|
|||
<ReturnType>SkiaSharp.SKBlendMode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>Gets or sets the blend mode.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BreakText">
|
||||
|
@ -80,8 +84,8 @@
|
|||
<Parameter Name="maxWidth" Type="System.Single" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="text">The text to be measured</param>
|
||||
<param name="maxWidth">Maximum width. Only the subset of text whose accumulated widths are <= maxWidth are measured.</param>
|
||||
<param name="text">The text to be measured.</param>
|
||||
<param name="maxWidth">The maximum width. Only the subset of text whose accumulated widths are <= maxWidth are measured.</param>
|
||||
<summary>Measure the text, stopping early if the measured width exceeds <paramref name="maxWidth" />.</summary>
|
||||
<returns>Return the number of characters of text that were measured. </returns>
|
||||
<remarks>
|
||||
|
@ -111,7 +115,7 @@
|
|||
<Parameter Name="measuredWidth" Type="System.Single&" RefType="out" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="text">The text to be measured</param>
|
||||
<param name="text">The text to be measured.</param>
|
||||
<param name="maxWidth">Maximum width. Only the subset of text whose accumulated widths are <= <paramref name="maxWidth" /> are measured.</param>
|
||||
<param name="measuredWidth">Returns the actual width of the measured text</param>
|
||||
<summary>Measure the text, stopping early if the measured width exceeds <paramref name="maxWidth" />.</summary>
|
||||
|
@ -166,7 +170,7 @@
|
|||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns a copy of the current paint.</summary>
|
||||
<returns>The copy.</returns>
|
||||
<returns>Returns the copy.</returns>
|
||||
<remarks>The copy is a shallow copy, all references will still point to the same objects.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -187,11 +191,11 @@
|
|||
<ReturnType>SkiaSharp.SKColor</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The paint’s color.</summary>
|
||||
<summary>Gets or sets the paint’s color.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>The color is a 32bit value containing ARGB. This 32bit value is not premultiplied, meaning that its Alpha can be any value, regardless of the values of R, G and B.</remarks>
|
||||
<remarks>The color is a 32-bit value containing ARGB. This 32-bit value is not premultiplied, meaning that its alpha can be any value, regardless of the values of R, G and B.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ColorFilter">
|
||||
|
@ -211,9 +215,13 @@
|
|||
<ReturnType>SkiaSharp.SKColorFilter</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The paint’s color filter.</summary>
|
||||
<value>The current color filter.</value>
|
||||
<remarks>A color filter can be used with a Paint to modify the color of each pixel drawn with that paint.</remarks>
|
||||
<summary>Gets or sets the paint’s color filter.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</value>
|
||||
<remarks>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DeviceKerningEnabled">
|
||||
|
@ -293,11 +301,11 @@
|
|||
<ReturnType>SkiaSharp.SKFilterQuality</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>The <see cref="T:SkiaSharp.SKFilterQuality" /> of the current paint. This affects the quality (and performance) of drawing scaled images.</summary>
|
||||
<value>The <see cref="T:SkiaSharp.SKFilterQuality" /> of the current paint.</value>
|
||||
<remarks>
|
||||
<summary>Gets or sets the filter quality of the current paint.</summary>
|
||||
<value>
|
||||
<para></para>
|
||||
</remarks>
|
||||
</value>
|
||||
<remarks>This affects the quality (and performance) of drawing scaled images.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="FontMetrics">
|
||||
|
@ -587,7 +595,7 @@
|
|||
<ReturnType>SkiaSharp.SKImageFilter</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Image filter</summary>
|
||||
<summary>Gets or sets the image filter.</summary>
|
||||
<value>To be added.</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9ce14258f1e40c647db3909e96c0566982338bbf
|
||||
Subproject commit d7360a335815eff384fb6a947049f3f59957464a
|
Загрузка…
Ссылка в новой задаче