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

b57b64ff 7ee7 62f6 adef 6af7ef33895d

haplokuon edited this page May 6, 2023 · 1 revision

HatchGradientPattern(AciColor, AciColor, HatchGradientPatternType, String) Constructor

netDxf 3.0.0 Library

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

Definition

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

C#

public HatchGradientPattern(
	AciColor color1,
	AciColor color2,
	HatchGradientPatternType type,
	string description
)

VB

Public Sub New ( 
	color1 As AciColor,
	color2 As AciColor,
	type As HatchGradientPatternType,
	description As String
)

C++

public:
HatchGradientPattern(
	AciColor^ color1, 
	AciColor^ color2, 
	HatchGradientPatternType type, 
	String^ description
)

F#

new : 
        color1 : AciColor * 
        color2 : AciColor * 
        type : HatchGradientPatternType * 
        description : string -> HatchGradientPattern

Parameters

  AciColor
Gradient color 1.
  AciColor
Gradient color 2.
  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