ProportionalThumbStrategy
ProportionalThumbStrategy implements ThumbStrategy
All Implemented Interfaces:
Methods summary
Modifier and Type | Method |
---|---|
public | __construct ( int width , int height , string autoCropMode = null , bool scaleUpAllowed = true ) |
public | getImageDimension ( ) |
public | isAutoCropEnabled ( ) |
public | getAutoCropMode ( ) |
public | isScaleUpAllowed ( ) |
public | matches ( ImageSource imageSource ) |
public | resize ( ImageResource imageResource ) |
Methods in detail
-
__construct
public __construct ( int width , int height , string autoCropMode = null , bool scaleUpAllowed = true ) -
getImageDimension
public getImageDimension ( )Specified: ThumbStrategyOverrides: ThumbStrategy::getImageDimension() -
isAutoCropEnabled
public isAutoCropEnabled ( ) -
getAutoCropMode
public getAutoCropMode ( ) -
isScaleUpAllowed
public isScaleUpAllowed ( ) -
matches
Specified: ThumbStrategyOverrides: ThumbStrategy::matches() -
resize
Specified: ThumbStrategyOverrides: ThumbStrategy::resize()
see