<< Click to Display Table of Contents >> NShape Reference
|
Manages objects of the drawing library.
public static class ToolCache |
The ToolCache manages objects needed for drawing. For every style there is exactly one corresponding GDI+ object used for drawing it. If a style changes, the ToolCache has to be notified about the change. All GDI+ objects are disposed and deleted in this case.
If a GDI+ object is requested that does not exist in the ToolCache yet, it is created and stored for future use.
Name |
Description |
---|---|
Disposes and deletes all objects contained in the ToolCache. |
|
Returns a GDI+ brush for the given color style / fill style / GDI+ image |
|
Returns the bounds of the (transformed) cap bounds for the given cap style and line style. |
|
Fills the given point array with the points defining the line cap. |
|
Gets a GDI+ font for the given character style. |
|
Gets a GDI+ string format for the given paragraph style. |
|
Gets a transformed brush for the given fill style. |
|
Disposes and deletes all cached objects representing the given style. |
|
Removes all objects depending on styles of the given style set. |
Namespace: Dataweb.NShape.Advanced
Assembly: Dataweb.NShape