User Tools

Site Tools


thinkgeo.mapsuite.portablecore.geosolidbrush

This is an old revision of the document!


ThinkGeo.MapSuite.PortableCore.GeoSolidBrush

<!– Class –> This class defines a GeoBrush of a single color. Brushes are used to fill area shapes on a GeoCanvas.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGeoSolidBrush This is the constructor used to create a new GeoSolidBrush.
Public MethodGeoSolidBrush GeoColor This is the constructor used to create a new GeoSolidBrush.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodCloneDeep GeoBrush Create a copy of GeoBrush using the deep clone process.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodCloneDeepCore GeoBrush Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization.
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyColor GeoColor This property gets or sets the color of the GeoSolidBrush.
Public PropertyId Int64 GeoBrush The id of the GeoBrush. This is always used as a key when in the cached brushes.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GeoSolidBrush()

This is the constructor used to create a new GeoSolidBrush.

Overloads

This constructor creates a GeoSolidBrush in the color black.

Parameters

Name Type Description

Go Back

GeoSolidBrush(GeoColor)

This is the constructor used to create a new GeoSolidBrush.

Overloads

This constructor creates a GeoSolidBrush by passing in a GeoColor.

Parameters

Name Type Description
color GeoColor<!– ThinkGeo.MapSuite.PortableCore.GeoColor –> This parameter represent the color of the GeoSolidBrush.

Go Back

Protected Constructors

Public Methods

CloneDeep()

Create a copy of GeoBrush using the deep clone process.

Remarks

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 Value

Return Type Description
GeoBrush<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> A cloned GeoBrush.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

CloneDeepCore()

Create a copy of GeoBrush using the deep clone process. The default implementation uses serialization.

Remarks

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 Value

Return Type Description
GeoBrush<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> A cloned GeoBrush.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Color

This property gets or sets the color of the GeoSolidBrush.

Return Value

Return Type
GeoColor<!– ThinkGeo.MapSuite.PortableCore.GeoColor –>

<!– ThinkGeo.MapSuite.PortableCore.GeoSolidBrush –> Go Back

Id

The id of the GeoBrush. This is always used as a key when in the cached brushes.

Return Value

Return Type
Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.PortableCore.GeoBrush –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.portablecore.geosolidbrush.1440040132.txt.gz · Last modified: 2015/09/23 01:35 (external edit)