PenDescriptor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PenDescriptor class holds the PenStyleSetInfo for a class and an instance of the Pen described by that info (if it's already been created). The PenDescriptor is what gets cached for later use.
public ref class PenDescriptor
public class PenDescriptor
type PenDescriptor = class
Public Class PenDescriptor
- Inheritance
-
PenDescriptor
Constructors
PenDescriptor(PenStyleSetInfo) |
Constructor that creates a descriptor based on a specified PenStyleSetInfo. |
Properties
Pen |
Gets a cloned instance of the Pen defined by this descriptor. If the pen has not been previously created, it creates it first. This is a singleton. Do not dispose - this will crash! Use immediately. |
PenStyleSetInfo |
Gets the Pen information for this descriptor. |