public class SimpleResizeVariation extends ImageOperationProvidingVariation
Variation
that enables to resize an imaging to provided
width
and height
.Constructor and Description |
---|
SimpleResizeVariation(info.magnolia.module.site.SiteManager siteManager) |
Modifier and Type | Method and Description |
---|---|
Integer |
getHeight() |
Integer |
getWidth() |
void |
init() |
boolean |
isCrop() |
boolean |
isExpand() |
void |
setCrop(boolean crop) |
void |
setExpand(boolean expand) |
void |
setHeight(Integer height) |
void |
setWidth(Integer width) |
createLink, getGeneratorName, getImageOperation, setGeneratorName, setImageOperation
@Inject public SimpleResizeVariation(info.magnolia.module.site.SiteManager siteManager)
public void init()
public Integer getWidth()
public void setWidth(Integer width)
public Integer getHeight()
public void setHeight(Integer height)
public boolean isCrop()
public void setCrop(boolean crop)
public boolean isExpand()
public void setExpand(boolean expand)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.