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

8c42bb71 4979 f962 c2ef a229dcdad3ad

haplokuon edited this page May 6, 2023 · 1 revision

SetAxis Method

netDxf 3.0.0 Library

Sets the ellipse major and minor axis from the two parameters.

Definition

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

C#

public void SetAxis(
	double axis1,
	double axis2
)

VB

Public Sub SetAxis ( 
	axis1 As Double,
	axis2 As Double
)

C++

public:
void SetAxis(
	double axis1, 
	double axis2
)

F#

member SetAxis : 
        axis1 : float * 
        axis2 : float -> unit 

Parameters

  Double
Ellipse axis.
  Double
Ellipse axis.

Remarks

It is not required that axis1 is greater than axis2. The larger value will be assigned as major axis and the lower as minor axis.

See Also

Reference

Ellipse Class
netDxf.Entities Namespace

Clone this wiki locally