C# 클래스 Imgix_Dotnet.Operations.Palette.PaletteExtensions

Extensions for extracting color palettes out of images
파일 보기 프로젝트 열기: estei/Imgix-Dotnet

공개 메소드들

메소드 설명
CSSPrefix ( this image, string value ) : ImgixImage

The prefix to use with css classes generated when palette set to css

Colors ( this image, int value ) : ImgixImage

The number of colors that should be returned when extracting the palette

Palette ( this image, string value ) : ImgixImage

The format you want the palette in.

메소드 상세

CSSPrefix() 공개 정적인 메소드

The prefix to use with css classes generated when palette set to css
public static CSSPrefix ( this image, string value ) : ImgixImage
image this The image to transform
value string /// The prefix value /// Ex. [prefix]-fg-1 ///
리턴 ImgixImage

Colors() 공개 정적인 메소드

The number of colors that should be returned when extracting the palette
public static Colors ( this image, int value ) : ImgixImage
image this The image to transform
value int /// Values: 0-16 ///
리턴 ImgixImage

Palette() 공개 정적인 메소드

The format you want the palette in.
public static Palette ( this image, string value ) : ImgixImage
image this The image to transform
value string /// Values: css or json ///
리턴 ImgixImage