-
public interface Interceptor.Chain
-
-
Method Summary
Modifier and Type Method Description abstract Interceptor.ChainwithSize(Size size)Set the requested Size to load the image at. abstract Interceptor.ChainwithScale(Scale scale)Set the requested Scale. abstract ImageResultproceed(ImageRequest request)Continue executing the chain. abstract ImageRequestgetRequest()abstract SizegetSize()abstract ScalegetScale()-
-
Method Detail
-
withSize
abstract Interceptor.Chain withSize(Size size)
Set the requested Size to load the image at.
- Parameters:
size- The requested size for the image.
-
withScale
abstract Interceptor.Chain withScale(Scale scale)
Set the requested Scale. This determines how the image is scaled to fit size.
- Parameters:
scale- The requested scaling algorithm.
-
proceed
abstract ImageResult proceed(ImageRequest request)
Continue executing the chain.
- Parameters:
request- The request to proceed with.
-
getRequest
abstract ImageRequest getRequest()
-
-
-
-