Class ImageExtensions
Inheritance
System.Object
ImageExtensions
Namespace: Aximo
Assembly: AxCommon.dll
Syntax
public static class ImageExtensions
Methods
|
Improve this Doc
View Source
Clear(IImageProcessingContext, Color)
Declaration
public static void Clear(this IImageProcessingContext source, Color color)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Processing.IImageProcessingContext |
source |
|
SixLabors.ImageSharp.Color |
color |
|
|
Improve this Doc
View Source
DrawButton(IImageProcessingContext, Single, Color, Single)
Declaration
public static IImageProcessingContext DrawButton(this IImageProcessingContext processingContext, float borderTickness, Color borderColor, float cornerRadius)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Processing.IImageProcessingContext |
processingContext |
|
System.Single |
borderTickness |
|
SixLabors.ImageSharp.Color |
borderColor |
|
System.Single |
cornerRadius |
|
Returns
Type |
Description |
SixLabors.ImageSharp.Processing.IImageProcessingContext |
|
|
Improve this Doc
View Source
GetPixelSpan<TPixel>(Image<TPixel>)
Declaration
public static Span<TPixel> GetPixelSpan<TPixel>(this Image<TPixel> source)
where TPixel : struct, IPixel<TPixel>
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image<TPixel> |
source |
|
Returns
Type |
Description |
System.Span<TPixel> |
|
Type Parameters
|
Improve this Doc
View Source
UseData(Image, Action<IntPtr>)
Declaration
public static void UseData(this Image image, Action<IntPtr> ptrCallback)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image |
image |
|
System.Action<System.IntPtr> |
ptrCallback |
|
|
Improve this Doc
View Source
Declaration
public static void UseData(this Image<Argb32> image, Action<IntPtr> ptrCallback)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Argb32> |
image |
|
System.Action<System.IntPtr> |
ptrCallback |
|
|
Improve this Doc
View Source
Declaration
public static void UseData(this Image<Bgr24> image, Action<IntPtr> ptrCallback)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Bgr24> |
image |
|
System.Action<System.IntPtr> |
ptrCallback |
|
|
Improve this Doc
View Source
Declaration
public static void UseData(this Image<Bgra32> image, Action<IntPtr> ptrCallback)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Bgra32> |
image |
|
System.Action<System.IntPtr> |
ptrCallback |
|
|
Improve this Doc
View Source
Declaration
public static void UseData(this Image<Rgb24> image, Action<IntPtr> ptrCallback)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
image |
|
System.Action<System.IntPtr> |
ptrCallback |
|
|
Improve this Doc
View Source
Declaration
public static void UseData(this Image<Rgba32> image, Action<IntPtr> ptrCallback)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgba32> |
image |
|
System.Action<System.IntPtr> |
ptrCallback |
|