Table of Contents

Class GeoHatchBrush

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This class represents a brush that fills with various patterns.

public class GeoHatchBrush : GeoBrush
Inheritance
GeoHatchBrush
Inherited Members

Remarks

This class represents a brush that fills with various patterns.

Constructors

GeoHatchBrush(GeoHatchStyle, GeoColor)

This is the constructor for the class.

public GeoHatchBrush(GeoHatchStyle hatchStyle, GeoColor foregroundColor)

Parameters

hatchStyle GeoHatchStyle

This property is the hatch pattern you want to use to fill the area.

foregroundColor GeoColor

This property is the foreground color you want to use for the pattern.

Remarks

You will use this constructor when you want to only specify the foreground color of the pattern and leave the background transparent.

GeoHatchBrush(GeoHatchStyle, GeoColor, GeoColor)

This is the constructor for the class.

public GeoHatchBrush(GeoHatchStyle hatchStyle, GeoColor foregroundColor, GeoColor backgroundColor)

Parameters

hatchStyle GeoHatchStyle

This property is the hatch pattern you want to use to fill the area.

foregroundColor GeoColor

This property is the foreground color you want to use for the pattern.

backgroundColor GeoColor

This property is the background color you want to use for the pattern.

Remarks

This constructor allows you to choose both the background and foreground color for the pattern.

Properties

BackgroundColor

This property gets and sets the background color for the fill pattern.

public GeoColor BackgroundColor { get; set; }

Property Value

GeoColor

This property gets the background color for the fill pattern.

Remarks

In this case the foreground color will be transparent.

ForegroundColor

This property gets and sets the foreground color for the fill pattern.

public GeoColor ForegroundColor { get; set; }

Property Value

GeoColor

This property gets the foreground color for the fill pattern.

Remarks

In this case the background color will be transparent.

HatchStyle

This property gets and sets the pattern you want to use for the fill.

public GeoHatchStyle HatchStyle { get; set; }

Property Value

GeoHatchStyle

This property gets the pattern you want to use for the fill.

Remarks

None