ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –> This class represents a brush that fills with various patterns.
This class represents a brush that fills with various patterns.
*System.Object ThinkGeo.MapSuite.PortableCore.GeoBrush *ThinkGeo.MapSuite.PortableCore.GeoHatchBrush
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | GeoHatchStyle, GeoColor | This is the constructor for the class. | |
![]() | GeoHatchStyle, GeoColor, GeoColor | This is the constructor for the class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | GeoBrush | Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization. | |
![]() | Object | ||
![]() | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | GeoColor | This property gets and sets the background color for the fill pattern. | |
![]() | GeoColor | This property gets and sets the foreground color for the fill pattern. | |
![]() | GeoHatchStyle | This property gets and sets the pattern you want to use for the fill. | |
![]() | Int64 | GeoBrush | The id of the GeoBrush. This is always used as a key when in the cached brushes. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This is the constructor for the class.
This constructor allows you to provide a foreground color for the pattern fill.
You will use this constructor when you want to only specify the foreground color of the pattern and leave the background transparent.
Name | Type | Description |
---|---|---|
hatchStyle | GeoHatchStyle<!– ThinkGeo.MapSuite.PortableCore.GeoHatchStyle –> | This property is the hatch pattern you want to use to fill the area. |
foregroundColor | GeoColor<!– ThinkGeo.MapSuite.PortableCore.GeoColor –> | This property is the foreground color you want to use for the pattern. |
This is the constructor for the class.
This constructor allows you to provide a foreground and background color for the pattern fill.
This constructor allows you to choose both the background and foreground color for the pattern.
Name | Type | Description |
---|---|---|
hatchStyle | GeoHatchStyle<!– ThinkGeo.MapSuite.PortableCore.GeoHatchStyle –> | This property is the hatch pattern you want to use to fill the area. |
foregroundColor | GeoColor<!– ThinkGeo.MapSuite.PortableCore.GeoColor –> | This property is the foreground color you want to use for the pattern. |
backgroundColor | GeoColor<!– ThinkGeo.MapSuite.PortableCore.GeoColor –> | This property is the background color you want to use for the pattern. |
Create a copy of GeoBrush using the deep clone process.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
GeoBrush<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> | A cloned GeoBrush. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
GeoBrush<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> | A cloned GeoBrush. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This property gets and sets the background color for the fill pattern.
In this case the foreground color will be transparent.
Return Type |
---|
GeoColor<!– ThinkGeo.MapSuite.PortableCore.GeoColor –> |
<!– ThinkGeo.MapSuite.PortableCore.GeoHatchBrush –> Go Back
This property gets and sets the foreground color for the fill pattern.
In this case the background color will be transparent.
Return Type |
---|
GeoColor<!– ThinkGeo.MapSuite.PortableCore.GeoColor –> |
<!– ThinkGeo.MapSuite.PortableCore.GeoHatchBrush –> Go Back
This property gets and sets the pattern you want to use for the fill.
Return Type |
---|
GeoHatchStyle<!– ThinkGeo.MapSuite.PortableCore.GeoHatchStyle –> |
<!– ThinkGeo.MapSuite.PortableCore.GeoHatchBrush –> Go Back
The id of the GeoBrush. This is always used as a key when in the cached brushes.
Return Type |
---|
Int64<!– System.Int64 –> |
<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> Go Back