Show / Hide Table of Contents

Class LineBuffer

The LineBuffer Class that is used in extraction of the Line Class

Inheritance
System.Object
EntityBuffer
LineBuffer
Inherited Members
EntityBuffer.EntityType
EntityBuffer.Handle
EntityBuffer.LayerName
EntityBuffer.EntityReferenceList
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: Dxflib.Entities
Assembly: Dxflib.dll
Syntax
public class LineBuffer : EntityBuffer

Constructors

| Improve this Doc View Source

LineBuffer()

Constructor that will return all values to their defaults

Declaration
public LineBuffer()

Properties

| Improve this Doc View Source

Thickness

The Thickness of the Thickness

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

X0

The X starting coordinate of the line

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

X1

The X ending coordinate of the line

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

Y0

The Y starting coordinate of the line

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

Y1

The Y ending coordinate of the line

Declaration
public double Y1 { get; set; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Parse(TaggedDataList, Int32)

Main Parsing function for the LineBuffer.

Declaration
public override bool Parse(TaggedDataList list, int index)
Parameters
Type Name Description
TaggedDataList list

The List of Tagged Data

System.Int32 index

The Index where the entity starts

Returns
Type Description
System.Boolean

True if parse was successful

Overrides
EntityBuffer.Parse(TaggedDataList, Int32)
Remarks

This parsing function will first try and parse the information for the base class EntityBuffer. If that function returns false then it will attempt to parse based on the Dxflib.Entities.LineGroupCodes. If that fails then the line buffer does not fill anything and the extraction process moves to the next line.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX