Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

68fb8752 b264 fc51 2e15 0281ba3f4247

haplokuon edited this page May 6, 2023 · 1 revision

LinearDimension(Vector2, Vector2, Double, Double, DimensionStyle) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the LinearDimension class.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public LinearDimension(
	Vector2 firstPoint,
	Vector2 secondPoint,
	double offset,
	double rotation,
	DimensionStyle style
)

VB

Public Sub New ( 
	firstPoint As Vector2,
	secondPoint As Vector2,
	offset As Double,
	rotation As Double,
	style As DimensionStyle
)

C++

public:
LinearDimension(
	Vector2 firstPoint, 
	Vector2 secondPoint, 
	double offset, 
	double rotation, 
	DimensionStyle^ style
)

F#

new : 
        firstPoint : Vector2 * 
        secondPoint : Vector2 * 
        offset : float * 
        rotation : float * 
        style : DimensionStyle -> LinearDimension

Parameters

  Vector2
First reference point of the dimension.
  Vector2
Second reference point of the dimension.
  Double
Distance between the mid point reference line and the dimension line.
  Double
Rotation in degrees of the dimension line.
  DimensionStyle
The style to use with the dimension.

Remarks

The reference points define the distance to be measure.

See Also

Reference

LinearDimension Class
LinearDimension Overload
netDxf.Entities Namespace

Clone this wiki locally