ClassPen
Class
The pen implementation for Silverlight.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
cs-api-definition
public class Pen
Inheritance: objectPen
Constructors
Pen(Brush)
Initializes a new instance of the Pen class.
Declaration
cs-api-definition
public Pen(Brush brush)
Parameters
brush
Brush
The brush.
Pen(Brush, double)
Initializes a new instance of the Pen class.
Declaration
cs-api-definition
public Pen(Brush brush, double thickness)
Parameters
brush
Brush
The brush.
thickness
The thickness.
Pen(Brush, double, DashStyle)
Initializes a new instance of the Pen class.
Properties
Brush
Gets or sets the Brush object that defines the appearance of this pen.
Declaration
cs-api-definition
public Brush Brush { get; set; }
Property Value
Brush
DashStyle
Gets or sets the style used for dashed pens.
Methods
Clone()
Creates an exact copy of this pen.
ToString()
Returns a string that represents this instance.