Class ImageInfoExtensions
Extension methods that allow the addition of geometry calculating methods to the IImageInfo type
Inherited Members
Namespace: SixLabors.ImageSharp
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class ImageInfoExtensionsMethods
| Improve this Doc View SourceBounds(IImageInfo)
Gets the bounds of the image.
Declaration
public static Rectangle Bounds(this IImageInfo info)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageInfo | info | The image info | 
Returns
| Type | Description | 
|---|---|
| Rectangle | The Rectangle | 
Size(IImageInfo)
Gets the bounds of the image.
Declaration
public static Size Size(this IImageInfo info)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageInfo | info | The image info | 
Returns
| Type | Description | 
|---|---|
| Size | The Size(IImageInfo) |