Back to Devexpress

DXPen Members

corelibraries-devexpress-dot-drawing-dot-dxpen-dot-underscore-members.md

latest5.2 KB
Original Source

DXPen Members

Defines an object used to draw lines and curves.

Constructors

NameDescription
DXPen(DXBrush, Single)Initializes a new instance of the DXPen class with specified settings.
DXPen(DXBrush)Initializes a new instance of the DXPen class with specified settings.
DXPen(Color, Single, DXLineCap)Initializes a new instance of the DXPen class with specified settings.
DXPen(Color, Single)Initializes a new instance of the DXPen class with specified settings.
DXPen(Color)Initializes a new instance of the DXPen class with specified settings.

Properties

NameDescription
BrushGets or sets the brush that determines the pen attributes.
ColorGets the pen color.
CustomEndCapGets or sets a custom cap to use at the line end.
CustomStartCapGets or sets a custom cap to use at the line start.
DashCapGets or sets the cap style used at the dash end.
DashOffsetGets or sets the distance between the start of a line to the start of a dash pattern.
DashPatternGets or sets an array of custom dashes and spaces.
DashStyleGets or sets the style applied to dashed lines.
EndCapGets or sets the cap style applied to the end of lines.
LineJoinGets or sets the join style for the ends of two consecutive lines.
MiterLimitGets or sets the limit of the thickness of the join on a mitered corner.
PenTypeObtains the type of lines the DXPen draws.
StartCapGets or sets the cap style applied to the line start.
WidthGets or sets the width of the pen.

Methods

NameDescription
Clone()Clones the current DXPen object.
Dispose()Disposes of the DXPen instance.
Equals(DXPen)Determines whether the specified DXPen object is equal to the current DXPen instance.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current DXPen instance.
GetHashCode()Gets the hash code for the DXPen.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

DXPen Class

DevExpress.Drawing Namespace