예제 #1
0
 /// <summary>
 /// Retrieves a ARGB struct for the specified index.
 /// </summary>
 public ARGB this[int index]
 {
     get
     {
         return(ARGB.FromValue(Data[index]));
     }
     set
     {
         Data[index] = value.AsInt32;
     }
 }
예제 #2
0
 /// <summary>
 /// Retrieves a ARGB struct for the specified index.
 /// </summary>
 public ARGB this[int X, int Y]
 {
     get
     {
         return(ARGB.FromValue(Data[PositionToIndex(X, Y)]));
     }
     set
     {
         Data[PositionToIndex(X, Y)] = value.AsInt32;
     }
 }
예제 #3
0
 /// <summary>
 /// Retrieves a ARGB struct for the specified index.
 /// </summary>
 public ARGB this[int x, int y]
 {
     get
     {
         return(ARGB.FromValue(Data[PositionToIndex(x, y)]));
     }
     set
     {
         Data[PositionToIndex(x, y)] = value.AsInt32;
     }
 }