Package com.scene7.ipsapi
Class SmartCropAdd
java.lang.Object
com.scene7.ipsapi.SmartCropAdd
Java class for SmartCropAdd complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SmartCropAdd">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cropWidth" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="cropHeight" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="cropName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="cropRect" type="{http://www.scene7.com/IpsApi/xsd/2024-05-30-beta}NormalizedCropRect"/>
<element name="swatchColor" type="{http://www.scene7.com/IpsApi/xsd/2024-05-30-beta}SwatchColor" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the value of the cropHeight property.Gets the value of the cropName property.Gets the value of the cropRect property.doubleGets the value of the cropWidth property.Gets the value of the swatchColor property.voidsetCropHeight(double value) Sets the value of the cropHeight property.voidsetCropName(String value) Sets the value of the cropName property.voidsetCropRect(NormalizedCropRect value) Sets the value of the cropRect property.voidsetCropWidth(double value) Sets the value of the cropWidth property.voidsetSwatchColor(SwatchColor value) Sets the value of the swatchColor property.
-
Constructor Details
-
SmartCropAdd
public SmartCropAdd()
-
-
Method Details
-
getCropWidth
public double getCropWidth()Gets the value of the cropWidth property. -
setCropWidth
public void setCropWidth(double value) Sets the value of the cropWidth property. -
getCropHeight
public double getCropHeight()Gets the value of the cropHeight property. -
setCropHeight
public void setCropHeight(double value) Sets the value of the cropHeight property. -
getCropName
Gets the value of the cropName property.- Returns:
- possible object is
String
-
setCropName
Sets the value of the cropName property.- Parameters:
value- allowed object isString
-
getCropRect
Gets the value of the cropRect property.- Returns:
- possible object is
NormalizedCropRect
-
setCropRect
Sets the value of the cropRect property.- Parameters:
value- allowed object isNormalizedCropRect
-
getSwatchColor
Gets the value of the swatchColor property.- Returns:
- possible object is
SwatchColor
-
setSwatchColor
Sets the value of the swatchColor property.- Parameters:
value- allowed object isSwatchColor
-