Piccolo.NET

PNodeCache.CreateImageCache Method 

Override this method to customize the image cache creation process. For example if you want to create a shadow effect you would do that here. Fill in the cacheOffsetRef if needed to make your image cache line up with the nodes children.

public virtual Image CreateImageCache(
   ref SizeF cacheOffsetRef
);

Parameters

cacheOffsetRef
Set this value to apply an offset to the image cache.

Return Value

The newly created image cache.

See Also

PNodeCache Class | UMD.HCIL.PiccoloX.Nodes Namespace