Click or drag to resize

BrushCacheGdiGdiBrush Class

Class used to wrap a native Gdi Brush, and to give it back to the cache if it is no longer in use.
Inheritance Hierarchy
SystemObject
  Altaxo.Graph.GdiBrushCacheGdiGdiBrush

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class GdiBrush : IDisposable

The BrushCacheGdiGdiBrush type exposes the following members.

Constructors
 NameDescription
Public methodBrushCacheGdiGdiBrush Initializes a new instance of the BrushCacheGdiGdiBrush class.
Top
Properties
 NameDescription
Public propertyBrush Gets the native Gdi Brush. This object must not be modified! If it is modified, the function DoNotReturnToCache must be called in order to avoid giving the modified object back to the cache!
Public propertyKey Gets the BrushX together with its environment, that is used to create the native Gdi Brush.
Top
Methods
 NameDescription
Public methodStatic memberCreateGdiBrush Creates a GDI Brush from a BrushX object and its environment.
Public methodDispose By disposing this object, it is returned to the cache. You should therefore no longer used it!
Public methodDoNotReturnToCache Call this function if you need to modify the native Brush object. By calling this function, this object is not returned to the cache.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Operators
 NameDescription
Public operatorStatic member(BrushCacheGdiGdiBrush to Brush) Performs an implicit conversion from BrushCacheGdiGdiBrush to Brush.
Top
See Also