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

a402ebe1 557f bb0c efd2 fddf85ab7e2a

haplokuon edited this page May 6, 2023 · 1 revision

HatchPattern Class

netDxf 3.0.0 Library

Represents a hatch pattern style.

Definition

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

C#

public class HatchPattern : ICloneable

VB

Public Class HatchPattern
	Implements ICloneable

C++

public ref class HatchPattern : ICloneable

F#

type HatchPattern = 
    class
        interface ICloneable
    end
Inheritance Object → HatchPattern
Derived netDxf.Entities.HatchGradientPattern
Implements ICloneable

Constructors

HatchPattern(String) Initializes a new instance of the HatchPattern class.
HatchPattern(String, IEnumerable(HatchPatternLineDefinition)) Initializes a new instance of the HatchPattern class.
HatchPattern(String, String) Initializes a new instance of the HatchPattern class.
HatchPattern(String, IEnumerable(HatchPatternLineDefinition), String) Initializes a new instance of the HatchPattern class.

Properties

Angle Gets or sets the pattern angle in degrees.
Description Gets or sets the hatch description (optional, this information is not saved in the DXF file).
Dots Dots hatch pattern.
Fill Gets the solid fill flag.
Line Lines hatch pattern.
LineDefinitions Gets the definition of the lines that make up the pattern (not applicable in Solid fills).
Name Gets or sets the hatch pattern name.
Net Net or squares hatch pattern.
Origin Gets or sets the pattern origin.
Scale Gets or sets the pattern scale (not applicable in Solid fills).
Solid Solid hatch pattern.
Style Gets the hatch style.
Type Gets or sets the hatch pattern type.

Methods

Clone  
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)
Load Creates a new hatch pattern from the definition in a PAT file.
NamesFromFile Gets the list of hatch pattern names defined in a PAT file.
Save Saves the current linetype to the specified file, if the file does not exist it creates a new one.
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally