public class Storefront.ProductVariantQuery.ImageArguments
extends Arguments
| Modifier and Type | Method and Description |
|---|---|
Storefront.ProductVariantQuery.ImageArguments |
crop(Storefront.CropRegion value)
Crops the image according to the specified region.
|
Storefront.ProductVariantQuery.ImageArguments |
maxHeight(java.lang.Integer value)
Image height in pixels between 1 and 2048.
|
Storefront.ProductVariantQuery.ImageArguments |
maxWidth(java.lang.Integer value)
Image width in pixels between 1 and 2048.
|
Storefront.ProductVariantQuery.ImageArguments |
scale(java.lang.Integer value)
Image size multiplier for high-resolution retina displays.
|
public Storefront.ProductVariantQuery.ImageArguments maxWidth(java.lang.Integer value)
public Storefront.ProductVariantQuery.ImageArguments maxHeight(java.lang.Integer value)
public Storefront.ProductVariantQuery.ImageArguments crop(Storefront.CropRegion value)
public Storefront.ProductVariantQuery.ImageArguments scale(java.lang.Integer value)