不管怎样,原理都是一样的:图像是通过清除污垢而形成的。
Either way, it's the same principle: the image is made by cleaning away the dirt.
如果需要更频繁地清除图像,则可能要创建数个图像注册表,并按需要直接清除图像。
If you need to dispose of images more often than that, you might want to create several image registries and dispose of the images directly as required.
当清除顶级显示(Display)时,图像注册表将负责清除它的图像。
An image registry will take care of disposing of its images when the top-level display is disposed of.
应用推荐