public static TextureBrush TiledTextureFromCode(string str) { return(new TextureBrush(Draw.ImageFromCode(ref str), WrapMode.Tile)); }