Class Hatch
The Hatch Entity
Inherited Members
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: Dxflib.Entities.Hatch
Assembly: Dxflib.dll
Syntax
public class Hatch : Entity
Constructors
| Improve this Doc View SourceHatch(HatchBuffer)
Declaration
public Hatch(HatchBuffer hb)
Parameters
Type | Name | Description |
---|---|---|
HatchBuffer | hb |
Properties
| Improve this Doc View SourceBoundary
The Boundary Path as a polyline
Declaration
public GeoPolyline Boundary { get; }
Property Value
Type | Description |
---|---|
GeoPolyline |
BoundaryLoopsCount
The total count of boundary loops
Declaration
public int BoundaryLoopsCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsAssociative
Returns true if the hatch is associative to a polyline or a set of lines
Declaration
public bool IsAssociative { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSolid
Returns true if the hatch has solid fill
Declaration
public bool IsSolid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PatternAngle
The Pattern Angle.
Declaration
public double PatternAngle { get; }
Property Value
Type | Description |
---|---|
System.Double |
PatternDefLinesCount
The number of definition lines in the pattern
Declaration
public int PatternDefLinesCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PatternName
The Hatch Pattern Name
Declaration
public string PatternName { get; }
Property Value
Type | Description |
---|---|
System.String |
PatternScale
The Pattern Scale
Declaration
public double PatternScale { get; }
Property Value
Type | Description |
---|---|
System.Double |
PatternType
The HatchPatternType, pattern type
Declaration
public HatchPatternType PatternType { get; }
Property Value
Type | Description |
---|---|
HatchPatternType |
Style
The HatchStyles style.
Declaration
public HatchStyles Style { get; }
Property Value
Type | Description |
---|---|
HatchStyles |
Methods
| Improve this Doc View SourceUpdateReferencedEntities()
This function will build the Boundary of this hatch if it is IsAssociative.
Declaration
public override void UpdateReferencedEntities()