Class TrimEffect
Trims a media clip in time, allowing the user to cut out a specific part of the media
Implements
Inherited Members
Namespace: ImageVault.Common.Data.Effects
Assembly: ImageVault.Common.dll
Syntax
public class TrimEffect : Effect, ICloneable
Constructors
TrimEffect()
Initializes a new instance of the TrimEffect class.
Declaration
public TrimEffect()
TrimEffect(Double, Double)
Initializes a new instance of the TrimEffect class.
Declaration
public TrimEffect(double start, double stop)
Parameters
Type | Name | Description |
---|---|---|
System.Double | start | The time (in seconds) where the clip should start |
System.Double | stop | The time (in seconds) where the clip should stop |
Properties
Start
Get/Sets the Start of the TrimEffect
Declaration
public double Start { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The number of seconds where the media should start |
Stop
Get/Sets the Stop of the TrimEffect
Declaration
public double Stop { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The number of seconds where the media should stop |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |
Overrides
Equals(TrimEffect)
Determines whether the specified TrimEffect is equal to the current TrimEffect.
Declaration
public bool Equals(TrimEffect other)
Parameters
Type | Name | Description |
---|---|---|
TrimEffect | other | The TrimEffect to compare with the current TrimEffect. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified TrimEffect is equal to the current TrimEffect; otherwise, false. |
Equals(Object)
Determines whether the specified System.Object is equal to the current TrimEffect.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current TrimEffect. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified System.Object is equal to the current TrimEffect; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current TrimEffect. |
Overrides
ToString()
Returns a System.String that represents the current TrimEffect.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current TrimEffect. |