Click or drag to resize

DashStyle Class

Dash style for a Pen
Inheritance Hierarchy
SystemObject
  Eto.DrawingDashStyle

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public sealed class DashStyle : IEquatable<DashStyle>

The DashStyle type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDashes
Gets the dashes and gaps for this style
Public propertyIsSolid
Gets a value indicating whether this dash style is solid
Public propertyOffset
Gets the offset of the first dash
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current DashStyle.
(Overrides ObjectEquals(Object).)
Public methodEquals(DashStyle)
Determines whether the specified DashStyle is equal to the current DashStyle.
Public methodGetHashCode
Serves as a hash function for a DashStyle object.
(Overrides ObjectGetHashCode.)
Public methodStatic memberParse
Attempts to parse the specified value into a dash style. This can be one of the system styles (solid, dash, dot, dashdot, dashdotdot), or a series of numbers separated by commas specifying the solid and gap parts (see Dashes).
Public methodToString
Returns a String that represents the current DashStyle.
(Overrides ObjectToString.)
Public methodStatic memberTryParse
Attempts to parse the specified value into a dash style. This can be one of the system styles (solid, dash, dot, dashdot, dashdotdot), or a series of numbers separated by commas specifying the solid and gap parts (see Dashes)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two DashStyle objects for equality
Public operatorStatic memberInequality
Compares two DashStyle objects for inequality
Top
See Also