Show / Hide Table of Contents

Class HatchBoundaryPath.Line

Represents a line edge of a HatchBoundaryPath.

Inheritance
System.Object
HatchBoundaryPath.Edge
HatchBoundaryPath.Line
Implements
System.ICloneable
Inherited Members
HatchBoundaryPath.Edge.Type
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 Line : HatchBoundaryPath.Edge, ICloneable

Constructors

| Improve this Doc View Source

Line()

Initializes a new instance of the HatchBoundaryPath.Line class.

Declaration
public Line()
| Improve this Doc View Source

Line(EntityObject)

Initializes a new instance of the HatchBoundaryPath.Line class.

Declaration
public Line(EntityObject entity)
Parameters
Type Name Description
EntityObject entity

EntityObject that represents the edge.

Fields

| Improve this Doc View Source

End

Gets or sets the end point of the line.

Declaration
public Vector2 End
Field Value
Type Description
Vector2
| Improve this Doc View Source

Start

Gets or sets the start point of the line.

Declaration
public Vector2 Start
Field Value
Type Description
Vector2

Methods

| Improve this Doc View Source

Clone()

Clones the actual edge.

Declaration
public override object Clone()
Returns
Type Description
System.Object

A copy of the actual edge.

Overrides
HatchBoundaryPath.Edge.Clone()
| Improve this Doc View Source

ConvertFrom(EntityObject)

Creates a BoundaryBoundaryPath from an EntityObject.

Declaration
public static HatchBoundaryPath.Line ConvertFrom(EntityObject entity)
Parameters
Type Name Description
EntityObject entity

An EntityObject.

Returns
Type Description
HatchBoundaryPath.Line

A HatchBoundaryPath line.

| Improve this Doc View Source

ConvertTo()

Converts the actual edge to its entity equivalent.

Declaration
public override EntityObject ConvertTo()
Returns
Type Description
EntityObject

An EntityObject equivalent to the actual edge.

Overrides
HatchBoundaryPath.Edge.ConvertTo()

Implements

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