Class HatchPatternLineDefinition
Defines a single line thats is part of a HatchPattern.
Inheritance
Implements
Inherited Members
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class HatchPatternLineDefinition : ICloneable
Constructors
| Improve this Doc View SourceHatchPatternLineDefinition()
Initializes a new instance of the HatchPatternLineDefinition class.
Declaration
public HatchPatternLineDefinition()
Properties
| Improve this Doc View SourceAngle
Gets or sets the angle of the line.
Declaration
public double Angle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
DashPattern
Gets he dash pattern of the line it is equivalent as the segments of a Linetype.
Declaration
public List<double> DashPattern { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.Double> |
Remarks
Positive values means solid segments and negative values means spaces (one entry per element).
Delta
Gets or sets the local displacements between lines of the same family.
Declaration
public Vector2 Delta { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
Remarks
The Delta.X value indicates the displacement between members of the family in the direction of the line. It is used only for dashed lines. The Delta.Y value indicates the spacing between members of the family; that is, it is measured perpendicular to the lines.
Origin
Gets or sets the origin of the line.
Declaration
public Vector2 Origin { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
Methods
| Improve this Doc View SourceClone()
Creates a new HatchPatternLineDefinition that is a copy of the current instance.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new HatchPatternLineDefinition that is a copy of this instance. |