RedBadger.Xpf.Media.Imaging.TextureImage.TextureImage C# (CSharp) Method

TextureImage() public method

public TextureImage ( ITexture texture ) : System
texture ITexture
return System
        public TextureImage(ITexture texture)
        {
            if (texture == null)
            {
                throw new ArgumentNullException("texture");
            }

            this.texture = texture;
            this.PixelHeight = this.Texture.Height;
            this.PixelWidth = this.Texture.Width;
        }
TextureImage