Show / Hide Table of Contents

Class HatchPatternLineDefinition

Defines a single line thats is part of a HatchPattern.

Inheritance
System.Object
HatchPatternLineDefinition
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class HatchPatternLineDefinition : ICloneable

Constructors

| Improve this Doc View Source

HatchPatternLineDefinition()

Initializes a new instance of the HatchPatternLineDefinition class.

Declaration
public HatchPatternLineDefinition()

Properties

| Improve this Doc View Source

Angle

Gets or sets the angle of the line.

Declaration
public double Angle { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

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).

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Clone()

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.

Implements

System.ICloneable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX