Exemple #1
0
 /// <summary>
 /// Clone this gesture image
 /// </summary>
 /// <returns>Clone</returns>
 public ImageGestureImage Clone()
 {
     return(new ImageGestureImage
     {
         Height = Height,
         Rows = Rows.Clone() as ulong[],
         Pixels = Pixels.Clone() as byte[],
         SimilarityPadding = SimilarityPadding,
         Size = Size,
         Width = Width
     });
 }
Exemple #2
0
 /// <summary>
 /// Clone this gesture image
 /// </summary>
 /// <returns>Clone</returns>
 public ImageGestureImage Clone()
 {
     return(new ImageGestureImage
     {
         Height = Height,
         Name = Name,
         Rows = Rows.Clone() as ulong[],
         Pixels = (Pixels == null ? null : Pixels.Clone() as byte[]),
         SimilarityPadding = SimilarityPadding,
         Size = Size,
         Width = Width
     });
 }