This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 416
b4332628 923f dcd9 41d6 cf942c7b81bb
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Represents the hatch gradient pattern style.
Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public class HatchGradientPattern : HatchPattern
VB
Public Class HatchGradientPattern
Inherits HatchPattern
C++
public ref class HatchGradientPattern : public HatchPattern
F#
type HatchGradientPattern =
class
inherit HatchPattern
end
Inheritance | Object → HatchPattern → HatchGradientPattern |
Gradient patterns are only supported by AutoCad2004 and higher DXF versions. It will default to a solid pattern if saved as AutoCad2000.
HatchGradientPattern() | Initializes a new instance of the HatchGradientPattern class as a default linear gradient. |
HatchGradientPattern(String) | Initializes a new instance of the HatchGradientPattern class as a default linear gradient. |
HatchGradientPattern(AciColor, AciColor, HatchGradientPatternType) | Initializes a new instance of the HatchGradientPattern class as a two color gradient. |
HatchGradientPattern(AciColor, Double, HatchGradientPatternType) | Initializes a new instance of the HatchGradientPattern class as a single color gradient. |
HatchGradientPattern(AciColor, AciColor, HatchGradientPatternType, String) | Initializes a new instance of the HatchGradientPattern class as a two color gradient. |
HatchGradientPattern(AciColor, Double, HatchGradientPatternType, String) | Initializes a new instance of the HatchGradientPattern class as a single color gradient. |
Angle | Gets or sets the pattern angle in degrees. (Inherited from HatchPattern) |
Centered | Gets or sets if the pattern is centered or not. |
Color1 | Gets or sets the gradient color 1. |
Color2 | Gets or sets the gradient color 2. |
Description | Gets or sets the hatch description (optional, this information is not saved in the DXF file). (Inherited from HatchPattern) |
Fill | Gets the solid fill flag. (Inherited from HatchPattern) |
GradientType | Gets or set the gradient pattern type. |
LineDefinitions | Gets the definition of the lines that make up the pattern (not applicable in Solid fills). (Inherited from HatchPattern) |
Name | Gets or sets the hatch pattern name. (Inherited from HatchPattern) |
Origin | Gets or sets the pattern origin. (Inherited from HatchPattern) |
Scale | Gets or sets the pattern scale (not applicable in Solid fills). (Inherited from HatchPattern) |
SingleColor | Gets or sets the gradient pattern color type. |
Style | Gets the hatch style. (Inherited from HatchPattern) |
Tint | Gets or sets the gradient pattern tint. |
Type | Gets or sets the hatch pattern type. (Inherited from HatchPattern) |
Clone |
(Overrides HatchPattern.Clone()) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
Save | Saves the current linetype to the specified file, if the file does not exist it creates a new one. (Inherited from HatchPattern) |
ToString | Returns a string that represents the current object. (Inherited from Object) |