Click or drag to resize

HatchGradientPattern Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents the hatch gradient pattern style.
Inheritance Hierarchy

Namespace:  netDxf.Entities
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class HatchGradientPattern : HatchPattern
Request Example View Source

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 (Overrides HatchPatternClone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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