Class CropEffectAttribute
The CropEffect attribute is used to add a crop effect to a format.
Inherited Members
Namespace: ImageVault.Client.Descriptors.Effects
Assembly: ImageVault.Client.dll
Syntax
public sealed class CropEffectAttribute : EffectAttribute
Constructors
CropEffectAttribute(Int32)
Initializes a new instance of the CropEffectAttribute class.
Declaration
public CropEffectAttribute(int sortOrder = 1)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | sortOrder |
CropEffectAttribute(Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the CropEffectAttribute class.
Declaration
public CropEffectAttribute(int x, int y, int width, int height, int sortOrder = 1)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | |
System.Int32 | y | |
System.Int32 | width | |
System.Int32 | height | |
System.Int32 | sortOrder |
Properties
Height
Get/Sets the Height of the CropEffectAttribute
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Width
Get/Sets the Width of the CropEffectAttribute
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
X
Get/Sets the X of the CropEffectAttribute
Declaration
public int X { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Y
Get/Sets the Y of the CropEffectAttribute
Declaration
public int Y { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
CreateEffect()
Create the crop effect
Declaration
public override Effect CreateEffect()
Returns
Type | Description |
---|---|
Effect |