C# Class EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Enumerations.ImageModeType

图片缩放
Inheritance: Enumeration
Show file Open project: zhenlei520/System.Extension.Core

Public Properties

Property Type Description
Fill ImageModeType
Fixed ImageModeType
LimitMax ImageModeType
LimitMin ImageModeType
Pad ImageModeType
Proportion ImageModeType

Public Methods

Method Description
ImageModeType ( int id, string name ) : EInfrastructure.Core.Configuration.Enumerations.SeedWork

Method Details

ImageModeType() public method

public ImageModeType ( int id, string name ) : EInfrastructure.Core.Configuration.Enumerations.SeedWork
id int
name string 描述
return EInfrastructure.Core.Configuration.Enumerations.SeedWork

Property Details

Fill public static property

固定宽高,将延伸出指定w与h的矩形框外的最小图片进行居中裁剪
public static ImageModeType,EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Enumerations Fill
return ImageModeType

Fixed public static property

固定宽高,强制缩放
public static ImageModeType,EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Enumerations Fixed
return ImageModeType

LimitMax public static property

等比缩放,限制在指定w与h的矩形内的最大图片
public static ImageModeType,EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Enumerations LimitMax
return ImageModeType

LimitMin public static property

等比缩放,延伸出指定w与h的矩形框外的最小图片
public static ImageModeType,EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Enumerations LimitMin
return ImageModeType

Pad public static property

固定宽高,缩放填充
public static ImageModeType,EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Enumerations Pad
return ImageModeType

Proportion public static property

按比例缩放
public static ImageModeType,EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Enumerations Proportion
return ImageModeType