n2n Page Rocket 1 API

n2n\impl\web\ui\view\html\img

­Proportional­Img­Composer

ProportionalImgComposer implements ImgComposer

All Implemented Interfaces:

Constant summary

Property summary

Modifier and Type Property
protected width
protected height
protected autoCropMode
protected scaleUpAllowed
protected fixedWidths
protected maxWidth
protected minWidth
protected sizesAttr

Methods summary

Modifier and Type Method
public __construct ( int width , int height , string autoCropMode = null , bool scaleUpAllowed = true )
public ProportionalImgComposer toWidth ( int width )
public ProportionalImgComposer widths ( int widths )
public ProportionalImgComposer factors ( float factors )
public int getWidth ( )
public int [] getWidths ( )
public ImgSet createImgSet ( File file = null , N2nContext n2nContext )
public ProportionalImgComposer sizes ( string sizesAttr )
public ProportionalImgComposer copy ( )

Constants in detail

Properties in detail

Methods in detail