Click or drag to resize

PenData Class

Converts a pen into a format that can be serialized. Currently only supports pen width, DashStyle and pen color.
Inheritance Hierarchy
SystemObject
  Deltabit.WinFormsPenData

Namespace:  Deltabit.WinForms
Assembly:  Deltabit.HotImage (in Deltabit.HotImage.dll) Version: 2.1.1.0 (2.1.1)
Syntax
public class PenData

The PenData type exposes the following members.

Constructors
  NameDescription
Public methodPenData
Default constructor sets color to black and width to 1
Public methodPenData(Pen)
This class only stores data for pen color and the pen width and dashstyle
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldColor
The pen color.
Public fieldDashStyle
The DashStyle of the pen.
Public fieldWidth
The width of the pen.
Top
See Also