Click or drag to resize

HatchGradientPattern Constructor (AciColor, AciColor, HatchGradientPatternType, String)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Initializes a new instance of the HatchGradientPattern class as a two color gradient.

Namespace:  netDxf.Entities
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public HatchGradientPattern(
	AciColor color1,
	AciColor color2,
	HatchGradientPatternType type,
	string description
)
Request Example View Source

Parameters

color1
Type: netDxfAciColor
Gradient color 1.
color2
Type: netDxfAciColor
Gradient color 2.
type
Type: netDxf.EntitiesHatchGradientPatternType
Gradient type.
description
Type: SystemString
Description of the pattern (optional, this information is not saved in the dxf file). By default it will use the supplied name.
See Also