public class Storefront.ImageQuery.TransformedSrcArguments extends Arguments
| Modifier and Type | Method and Description |
|---|---|
Storefront.ImageQuery.TransformedSrcArguments |
crop(Storefront.CropRegion value)
Crops the image according to the specified region.
|
Storefront.ImageQuery.TransformedSrcArguments |
maxHeight(java.lang.Integer value)
Image height in pixels between 1 and 5760.
|
Storefront.ImageQuery.TransformedSrcArguments |
maxWidth(java.lang.Integer value)
Image width in pixels between 1 and 5760.
|
Storefront.ImageQuery.TransformedSrcArguments |
preferredContentType(Storefront.ImageContentType value)
Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are
supported).
|
Storefront.ImageQuery.TransformedSrcArguments |
scale(java.lang.Integer value)
Image size multiplier for high-resolution retina displays.
|
end, startArgumentpublic Storefront.ImageQuery.TransformedSrcArguments maxWidth(java.lang.Integer value)
public Storefront.ImageQuery.TransformedSrcArguments maxHeight(java.lang.Integer value)
public Storefront.ImageQuery.TransformedSrcArguments crop(Storefront.CropRegion value)
public Storefront.ImageQuery.TransformedSrcArguments scale(java.lang.Integer value)
public Storefront.ImageQuery.TransformedSrcArguments preferredContentType(Storefront.ImageContentType value)