Click or drag to resize

HatchGradientPattern Class

Represents the hatch gradient pattern style.
Inheritance Hierarchy

Namespace:  DXFReaderNET.Entities
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class HatchGradientPattern : HatchPattern

The HatchGradientPattern type exposes the following members.

Constructors
  NameDescription
Public methodHatchGradientPattern
Initializes a new instance of the HatchGradientPattern class as a default linear gradient.
Public methodHatchGradientPattern(String)
Initializes a new instance of the HatchGradientPattern class as a default linear gradient.
Public methodHatchGradientPattern(AciColor, AciColor, HatchGradientPatternType)
Initializes a new instance of the HatchGradientPattern class as a two color gradient.
Public methodHatchGradientPattern(AciColor, Double, HatchGradientPatternType)
Initializes a new instance of the HatchGradientPattern class as a single color gradient.
Public methodHatchGradientPattern(AciColor, AciColor, HatchGradientPatternType, String)
Initializes a new instance of the HatchGradientPattern class as a two color gradient.
Public methodHatchGradientPattern(AciColor, Double, HatchGradientPatternType, String)
Initializes a new instance of the HatchGradientPattern class as a single color gradient.
Top
Properties
  NameDescription
Public propertyAngle
Gets or sets the pattern angle in degrees.
(Inherited from HatchPattern.)
Public propertyCentered
Gets or sets if the pattern is centered or not.
Public propertyColor1
Gets or sets the gradient color 1.
Public propertyColor2
Gets or sets the gradient color 2.
Public propertyDescription
Gets or sets the hatch description (optional, this information is not saved in the dxf file).
(Inherited from HatchPattern.)
Public propertyFill
Gets the solid fill flag.
(Inherited from HatchPattern.)
Public propertyGradientType
Gets or set the gradient pattern type.
Public propertyLineDefinitions
Gets the definition of the lines that make up the pattern (not applicable in Solid fills).
(Inherited from HatchPattern.)
Public propertyName
Gets or sets the hatch pattern name.
(Inherited from HatchPattern.)
Public propertyOrigin
Gets or sets the pattern origin.
(Inherited from HatchPattern.)
Public propertyScale
Gets or sets the pattern scale (not applicable in Solid fills).
(Inherited from HatchPattern.)
Public propertySingleColor
Gets or sets the gradient pattern color type.
Public propertyStyle
Gets the hatch style.
(Inherited from HatchPattern.)
Public propertyTint
Gets or sets the gradient pattern tint.
Public propertyType
Gets or sets the hatch pattern type.
(Inherited from HatchPattern.)
Top
Methods
  NameDescription
Public methodClone
Creates a new HatchGradientPattern that is a copy of the current instance.
(Overrides HatchPatternClone.)
Public methodToFile
Save a PAT file with pattern info.
(Inherited from HatchPattern.)
Public methodToString
Returns a string containg the pattern info.
(Inherited from HatchPattern.)
Top
Remarks
Gradient patterns are only supported by AutoCad2004 and higher dxf versions. It will default to a solid pattern if saved as AutoCad2000.
See Also