# IconAtlas class

Namespace: [Grasshopper2.UI.Icon](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.icon.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class IconAtlas : IDisposable
```

A class which caches icons as bitmaps on the disk.

## Constructors

- [IconAtlas](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/ctor.md)

## Properties

- [Continent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/continent.md): Gets the continent this atlas refers to. The continent uniquely identifies a set of cached icons.
- [Folder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/folder.md): Gets the folder in which images inside this atlas are cached.
- [Size](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/size.md): Gets the size of the cached icons.

## Methods

- [Clear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/clear.md): Clear the disk and the memory cache.
- [Dispose](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/dispose.md)
- [GetOrCreate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/getorcreate.md): Gets the cached version of an icon, or render the supplied icon to a bitmap and cache it.
- [LoadFromDisk](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/loadfromdisk.md): Load this atlas from the cache folder. You should only need to call this method if you have reason to believe the contents of the folder were modified through some mechanism other than this atlas instance.
- [SaveToDisk](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconatlas/savetodisk.md): Save this atlas to the cache folder. You should only need to call this method if you have reason to believe the contents of the folder were modified through some mechanism other than this atlas instance.
