Пример #1
0
 public NineSliceTexture(Texture2D texture, RectOffset border, Color color)
 {
     this.Texture = texture;
     this.Border = border;
     this.Color = color;
 }
Пример #2
0
 public NineSliceTexture(Texture2D texture, RectOffset border)
 {
     this.Texture = texture;
     this.Border = border;
     this.Color = Color.White;
 }