Show / Hide Table of Contents

Class HatchBoundaryPath.Ellipse

Represents a ellipse edge of a HatchBoundaryPath.

Inheritance
System.Object
HatchBoundaryPath.Edge
HatchBoundaryPath.Ellipse
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 Ellipse : HatchBoundaryPath.Edge, ICloneable

Constructors

| Improve this Doc View Source

Ellipse()

Initializes a new instance of the HatchBoundaryPath.Ellipse class.

Declaration
public Ellipse()
| Improve this Doc View Source

Ellipse(EntityObject)

Initializes a new instance of the HatchBoundaryPath.Ellipse class.

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

EntityObject that represents the edge.

Fields

| Improve this Doc View Source

Center

Gets or sets the center of the ellipse.

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

EndAngle

Gets or sets the end angle of the ellipse.

Declaration
public double EndAngle
Field Value
Type Description
System.Double
| Improve this Doc View Source

EndMajorAxis

Gets or sets the position of the end of the major axis.

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

IsCounterclockwise

Gets or sets if the ellipse is counter clockwise.

Declaration
public bool IsCounterclockwise
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

MinorRatio

Gets or sets the scale of the minor axis in respect of the major axis.

Declaration
public double MinorRatio
Field Value
Type Description
System.Double
| Improve this Doc View Source

StartAngle

Gets or sets the start angle of the ellipse.

Declaration
public double StartAngle
Field Value
Type Description
System.Double

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)

Initializes a new instance of the HatchBoundaryPath.Ellipse class.

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

EntityObject that represents the edge.

Returns
Type Description
HatchBoundaryPath.Ellipse
| 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