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

225ff6db 08a6 15bb 8879 1a6a2aec6b69

haplokuon edited this page May 6, 2023 · 1 revision

HatchGradientPattern(AciColor, Double, HatchGradientPatternType, String) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the HatchGradientPattern class as a single color gradient.

Definition

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

C#

public HatchGradientPattern(
	AciColor color,
	double tint,
	HatchGradientPatternType type,
	string description
)

VB

Public Sub New ( 
	color As AciColor,
	tint As Double,
	type As HatchGradientPatternType,
	description As String
)

C++

public:
HatchGradientPattern(
	AciColor^ color, 
	double tint, 
	HatchGradientPatternType type, 
	String^ description
)

F#

new : 
        color : AciColor * 
        tint : float * 
        type : HatchGradientPatternType * 
        description : string -> HatchGradientPattern

Parameters

  AciColor
Gradient color.
  Double
Gradient tint.
  HatchGradientPatternType
Gradient type.
  String
Description of the pattern (optional, this information is not saved in the DXF file). By default it will use the supplied name.

See Also

Reference

HatchGradientPattern Class
HatchGradientPattern Overload
netDxf.Entities Namespace

Clone this wiki locally