This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 411
ca0b17a1 446f e49a e962 3c349c03f74d
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Initializes a new instance of the Hatch
class.
Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public Hatch(
HatchPattern pattern,
bool associative
)
VB
Public Sub New (
pattern As HatchPattern,
associative As Boolean
)
C++
public:
Hatch(
HatchPattern^ pattern,
bool associative
)
F#
new :
pattern : HatchPattern *
associative : bool -> Hatch
- HatchPattern
- Hatch pattern.
- Boolean
- Defines if the hatch is associative or not.
This constructor is initialized with an empty list of boundary paths, remember a hatch without boundaries will be discarded when saving the file.
When creating an associative hatch do not add the entities that make the boundary to the document, it will be done automatically. Doing so will throw an exception.
The hatch boundary paths must be on the same plane as the hatch. The normal and the elevation of the boundary paths will be omitted (the hatch elevation and normal will be used instead). Only the x and y coordinates for the center of the line, ellipse, circle and arc will be used.