Esempio n. 1
0
 /// <summary>
 /// Constructs a new CroppingTrimmer with a given <paramref name="alphaTolerance"/>
 /// </summary>
 /// <param name="alphaTolerance">The alpha tolerance to be used when cropping</param>
 public CroppingTrimmer(int alphaTolerance)
 {
     trimmer = new Trimmer(alphaTolerance);
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a new CroppingTrimmer with alphaTolerance equal to 0
 /// </summary>
 public CroppingTrimmer()
 {
     trimmer = new Trimmer(0);
 }