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

00e3b2be 249f c6c3 016d 73f10350af0a

haplokuon edited this page May 6, 2023 · 1 revision

Hatch Class

netDxf 3.0.0 Library

Represents a hatch entity.

Definition

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

C#

public class Hatch : EntityObject

VB

Public Class Hatch
	Inherits EntityObject

C++

public ref class Hatch : public EntityObject

F#

type Hatch = 
    class
        inherit EntityObject
    end
Inheritance Object → DxfObjectEntityObject → Hatch

Constructors

Hatch(HatchPattern, Boolean) Initializes a new instance of the Hatch class.
Hatch(HatchPattern, IEnumerable(HatchBoundaryPath), Boolean) Initializes a new instance of the Hatch class.

Properties

Associative Gets if the hatch is associative or not, which means if the hatch object is associated with the hatch boundary entities.
BoundaryPaths Gets the hatch boundary paths.
CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
(Inherited from EntityObject)
Elevation Gets or sets the hatch elevation, its position along its normal.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsVisible Gets or set the entity visibility.
(Inherited from EntityObject)
Layer Gets or sets the entity layer.
(Inherited from EntityObject)
Linetype Gets or sets the entity line type.
(Inherited from EntityObject)
LinetypeScale Gets or sets the entity line type scale.
(Inherited from EntityObject)
Lineweight Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
(Inherited from EntityObject)
Normal Gets or sets the entity normal.
(Inherited from EntityObject)
Owner Gets the owner of the actual DXF object.
(Inherited from EntityObject)
Pattern Gets the hatch pattern.
Reactors Gets the list of DXF objects that has been attached to this entity.
(Inherited from EntityObject)
Transparency Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject)
Type Gets the entity type.
(Inherited from EntityObject)
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new Hatch that is a copy of the current instance.
(Overrides EntityObject.Clone())
CreateBoundary Creates a list of entities that represents the boundary of the hatch and optionally associates to it.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject)
TransformBy(Matrix4) Moves, scales, and/or rotates the current entity given a 4x4 transformation matrix.
(Inherited from EntityObject)
TransformBy(Matrix3, Vector3) Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
(Overrides EntityObject.TransformBy(Matrix3, Vector3))
UnLinkBoundary Unlinks the boundary from the hatch, turning the associative property to false.

Events

HatchBoundaryPathAdded  
HatchBoundaryPathRemoved  
LayerChanged
(Inherited from EntityObject)
LinetypeChanged
(Inherited from EntityObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally