Exemple #1
0
        public ITextureSwatch this[TKey textureSwatchKey]
        {
            get
            {
                ITextureAtlasContracts.Indexer(this, textureSwatchKey);

                return(this.swatches[textureSwatchKey]);
            }
        }
Exemple #2
0
        public bool ContainsKey(TKey textureSwatchKey)
        {
            ITextureAtlasContracts.ContainsKey(textureSwatchKey);

            return(this.swatches.ContainsKey(textureSwatchKey));
        }