Click or drag to resize

Pen Class

Defines attributes for line drawing methods in Graphics
Inheritance Hierarchy
SystemObject
  Eto.DrawingPen

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public sealed class Pen : IHandlerSource, IDisposable, 
	IControlObjectSource

The Pen type exposes the following members.

Constructors
  NameDescription
Public methodPen(Brush, Single)
Creates a new pen with the specified brush and thickness
Public methodPen(Color, Single)
Creates a new pen with the specified color and thickness
Top
Properties
  NameDescription
Public propertyBrush
Gets the brush associated with the pen.
Public propertyColor Obsolete.
Gets or sets the color of the pen
Public propertyControlObject
Gets the control object for this widget
Public propertyDashStyle
Gets or sets the dash style of the pen
Public propertyHandler
Gets the platform handler object for the widget
Public propertyStatic memberInstantiator Obsolete.
Gets a delegate that can be used to create instances of the Pen with low overhead
Public propertyLineCap
Gets or sets the line cap style of the pen
Public propertyLineJoin
Gets or sets the line join style of the pen
Public propertyMiterLimit
Gets or sets the miter limit on the ratio of the length vs. the Thickness of this pen
Public propertyThickness
Gets or sets the thickness (width) of the pen
Top
Methods
  NameDescription
Public methodDispose
Releases all resource used by the Pen object.
Top
See Also