C# Class CloudinaryDotNet.ResponsiveBreakpoint

Allows to generate images for your responsive website in various width dimensions, and to define the minimum file size step (performance budget)
Inheritance: Newtonsoft.Json.Linq.JObject
Mostrar archivo Open project: cloudinary/CloudinaryDotNet

Public Methods

Method Description
BytesStep ( int bytesStep ) : ResponsiveBreakpoint

Set minimal file size step to generate images

BytesStep ( ) : int

Get minimal file size step

CreateDerived ( bool createDerived ) : ResponsiveBreakpoint

Set create_derived flag. If create_derived flag is enabled, the derived images don't need to be regenerated when first accessed by your users

IsCreateDerived ( ) : bool

Get value of the create_derived flag

MaxImages ( int maxImages ) : ResponsiveBreakpoint

Set maximum number of images to generate

MaxImages ( ) : int

Get maximal number of images to generate

MaxWidth ( int maxWidth ) : ResponsiveBreakpoint

Set maximal boundary of Width

MaxWidth ( ) : int

Get maximal width in pixels

MinWidth ( int minWidth ) : ResponsiveBreakpoint

Set minimal boundary of Width

MinWidth ( ) : int

Get minimal Width in pixels

ResponsiveBreakpoint ( ) : Newtonsoft.Json.Linq
Transformation ( Transformation transformation ) : ResponsiveBreakpoint

Set transformation to apply on the original image

Method Details

BytesStep() public method

Set minimal file size step to generate images
public BytesStep ( int bytesStep ) : ResponsiveBreakpoint
bytesStep int File size step in bytes
return ResponsiveBreakpoint

BytesStep() public method

Get minimal file size step
public BytesStep ( ) : int
return int

CreateDerived() public method

Set create_derived flag. If create_derived flag is enabled, the derived images don't need to be regenerated when first accessed by your users
public CreateDerived ( bool createDerived ) : ResponsiveBreakpoint
createDerived bool
return ResponsiveBreakpoint

IsCreateDerived() public method

Get value of the create_derived flag
public IsCreateDerived ( ) : bool
return bool

MaxImages() public method

Set maximum number of images to generate
public MaxImages ( int maxImages ) : ResponsiveBreakpoint
maxImages int
return ResponsiveBreakpoint

MaxImages() public method

Get maximal number of images to generate
public MaxImages ( ) : int
return int

MaxWidth() public method

Set maximal boundary of Width
public MaxWidth ( int maxWidth ) : ResponsiveBreakpoint
maxWidth int Maximal width in pixels
return ResponsiveBreakpoint

MaxWidth() public method

Get maximal width in pixels
public MaxWidth ( ) : int
return int

MinWidth() public method

Set minimal boundary of Width
public MinWidth ( int minWidth ) : ResponsiveBreakpoint
minWidth int Minimal width in pixels
return ResponsiveBreakpoint

MinWidth() public method

Get minimal Width in pixels
public MinWidth ( ) : int
return int

ResponsiveBreakpoint() public method

public ResponsiveBreakpoint ( ) : Newtonsoft.Json.Linq
return Newtonsoft.Json.Linq

Transformation() public method

Set transformation to apply on the original image
public Transformation ( Transformation transformation ) : ResponsiveBreakpoint
transformation Transformation
return ResponsiveBreakpoint