Pen |
public class GdiPen : IDisposable
The PenCacheGdiGdiPen type exposes the following members.
Name | Description | |
---|---|---|
PenCacheGdiGdiPen | Initializes a new instance of the PenCacheGdiGdiPen class. |
Name | Description | |
---|---|---|
Key | Gets the BrushX together with its environment, that is used to create the native Gdi Brush. | |
Pen | 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! |
Name | Description | |
---|---|---|
CreateGdiPen | Creates a Gdi+ Pen from a independent PenX, a bounding rectangle, and the effective resolution of the drawing. | |
Dispose | By disposing this object, it is returned to the cache. You should therefore no longer used it! | |
DoNotReturnToCache | Call this function if you need to modify the native Brush object. By calling this function, this object is not returned to the cache. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
(PenCacheGdiGdiPen to Pen) | Performs an implicit conversion from PenCacheGdiGdiPen to Brush. |