====== ThinkGeo.Core.HeatStyle ====== ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.Core.Style ***ThinkGeo.Core.HeatStyle** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} HeatStyle() ** * //This is the default constructor of the class.// == Remarks == * //N/A// == Parameters ==
** {{wiki:PublicMethod.gif|}} HeatStyle(Int32) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //pointIntensity// * Type:Int32 * Description:The parameter represents the point intensity, the default value is 10.
** {{wiki:PublicMethod.gif|}} HeatStyle(Int32,Int32) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //pointIntensity// * Type:Int32 * Description:The parameter represents the point intensity, the default value is 10. * //alpha// * Type:Int32 * Description:The parameter represents the alpha value of color, the default value is 255.
** {{wiki:PublicMethod.gif|}} HeatStyle(Int32,Double,DistanceUnit) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //pointIntensity// * Type:Int32 * Description:The parameter represents the point intensity, the default value is 10. * //pointRadius// * Type:Double * Description:The parameter represents the point radius, the default value is 50 kilometers. * //pointRadiusUnit// * Type:[[ThinkGeo.Core.DistanceUnit|DistanceUnit]] * Description:The parameter represents the unit of point radius, the default value is kilometer.
** {{wiki:PublicMethod.gif|}} HeatStyle(Int32,Int32,Double,DistanceUnit) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //pointIntensity// * Type:Int32 * Description:The parameter represents the point intensity, the default value is 10. * //alpha// * Type:Int32 * Description:The parameter represents the alpha value of color, the default value is 255. * //pointRadius// * Type:Double * Description:The parameter represents the point radius, the default value is 50 kilometers. * //pointRadiusUnit// * Type:[[ThinkGeo.Core.DistanceUnit|DistanceUnit]] * Description:The parameter represents the unit of point radius, the default value is kilometer.
** {{wiki:PublicMethod.gif|}} HeatStyle(String,Double,Double) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //intensityColumnName// * Type:String * Description:The parameter represents the intensity column name, the default value is empty string. * //intensityRangeStart// * Type:Double * Description:The parameter represents the range start of intensity, the default value is 0. * //intensityRangeEnd// * Type:Double * Description:The parameter represents the range end of intensity, the default value is 0.
** {{wiki:PublicMethod.gif|}} HeatStyle(Int32,String,Double,Double) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //alpha// * Type:Int32 * Description:The parameter represents the alpha value of color, the default value is 255. * //intensityColumnName// * Type:String * Description:The parameter represents the intensity column name, the default value is empty string. * //intensityRangeStart// * Type:Double * Description:The parameter represents the range start of intensity, the default value is 0. * //intensityRangeEnd// * Type:Double * Description:The parameter represents the range end of intensity, the default value is 0.
** {{wiki:PublicMethod.gif|}} HeatStyle(String,Double,Double,Double,DistanceUnit) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //intensityColumnName// * Type:String * Description:The parameter represents the intensity column name, the default value is empty string. * //intensityRangeStart// * Type:Double * Description:The parameter represents the range start of intensity, the default value is 0. * //intensityRangeEnd// * Type:Double * Description:The parameter represents the range end of intensity, the default value is 0. * //pointRadius// * Type:Double * Description:The parameter represents the point radius, the default value is 50 kilometers. * //pointRadiusUnit// * Type:[[ThinkGeo.Core.DistanceUnit|DistanceUnit]] * Description:The parameter represents the unit of point radius, the default value is kilometer.
** {{wiki:PublicMethod.gif|}} HeatStyle(Int32,String,Double,Double,Double,DistanceUnit) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //alpha// * Type:Int32 * Description:The parameter represents the alpha value of color, the default value is 255. * //intensityColumnName// * Type:String * Description:The parameter represents the intensity column name, the default value is empty string. * //intensityRangeStart// * Type:Double * Description:The parameter represents the range start of intensity, the default value is 0. * //intensityRangeEnd// * Type:Double * Description:The parameter represents the range end of intensity, the default value is 0. * //pointRadius// * Type:Double * Description:The parameter represents the point radius, the default value is 50 kilometers. * //pointRadiusUnit// * Type:[[ThinkGeo.Core.DistanceUnit|DistanceUnit]] * Description:The parameter represents the unit of point radius, the default value is kilometer.
** {{wiki:PublicMethod.gif|}} HeatStyle(Int32,Int32,String,Double,Double,Double,DistanceUnit) ** * //This is a constructor for the class.// == Remarks == * //N/A// == Parameters == * //pointIntensity// * Type:Int32 * Description:The parameter represents the point intensity, the default value is 10. * //alpha// * Type:Int32 * Description:The parameter represents the alpha value of color, the default value is 255. * //intensityColumnName// * Type:String * Description:The parameter represents the intensity column name, the default value is empty string. * //intensityRangeStart// * Type:Double * Description:The parameter represents the range start of intensity, the default value is 0. * //intensityRangeEnd// * Type:Double * Description:The parameter represents the range end of intensity, the default value is 0. * //pointRadius// * Type:Double * Description:The parameter represents the point radius, the default value is 50 kilometers. * //pointRadiusUnit// * Type:[[ThinkGeo.Core.DistanceUnit|DistanceUnit]] * Description:The parameter represents the unit of point radius, the default value is kilometer.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} CloneDeep() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Style|Style]] * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Draw(IEnumerable,GeoCanvas,Collection,Collection) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //features// * Type:IEnumerable<[[ThinkGeo.Core.Feature|Feature]]> * Description:N/A * //canvas// * Type:[[ThinkGeo.Core.GeoCanvas|GeoCanvas]] * Description:N/A * //labelsInThisLayer// * Type:Collection<[[ThinkGeo.Core.SimpleCandidate|SimpleCandidate]]> * Description:N/A * //labelsInAllLayers// * Type:Collection<[[ThinkGeo.Core.SimpleCandidate|SimpleCandidate]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} Draw(IEnumerable,GeoCanvas,Collection,Collection) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapes// * Type:IEnumerable<[[ThinkGeo.Core.BaseShape|BaseShape]]> * Description:N/A * //canvas// * Type:[[ThinkGeo.Core.GeoCanvas|GeoCanvas]] * Description:N/A * //labelsInThisLayer// * Type:Collection<[[ThinkGeo.Core.SimpleCandidate|SimpleCandidate]]> * Description:N/A * //labelsInAllLayers// * Type:Collection<[[ThinkGeo.Core.SimpleCandidate|SimpleCandidate]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} GetRequiredColumnNames() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} DrawSample(GeoCanvas,DrawingRectangleF) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.Core.GeoCanvas|GeoCanvas]] * Description:N/A * //drawingExtent// * Type:[[ThinkGeo.Core.DrawingRectangleF|DrawingRectangleF]] * Description:N/A
** {{wiki:PublicMethod.gif|}} DrawSample(GeoCanvas) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.Core.GeoCanvas|GeoCanvas]] * Description:N/A
** {{wiki:PublicMethod.gif|}} SaveStyle(String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //filePathName// * Type:String * Description:N/A
** {{wiki:PublicMethod.gif|}} SaveStyle(Stream) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //stream// * Type:Stream * Description:N/A
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
===== Protected Methods ===== ** {{wiki:ProtectedMethod.gif|}} DrawCore(IEnumerable,GeoCanvas,Collection,Collection) ** * //N/A// == Remarks == * //This abstract method is called from the concrete public method Draw. In this method, we take the features you passed in and draw them on the view you provided. Each style (based on its properties) may draw each feature differently. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.// == Return Value == * Type:Void * Description:None == Parameters == * //features// * Type:IEnumerable<[[ThinkGeo.Core.Feature|Feature]]> * Description:This parameter represents the features you want to draw on the view. * //canvas// * Type:[[ThinkGeo.Core.GeoCanvas|GeoCanvas]] * Description:This parameter represents the view you want to draw the features on. * //labelsInThisLayer// * Type:Collection<[[ThinkGeo.Core.SimpleCandidate|SimpleCandidate]]> * Description:The labels will be drawn in the current layer only. * //labelsInAllLayers// * Type:Collection<[[ThinkGeo.Core.SimpleCandidate|SimpleCandidate]]> * Description:The labels will be drawn in all layers.
** {{wiki:ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** * //N/A// == Remarks == * //This abstract method is called from the concrete public method GetRequiredFieldNames. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore we read that property and add it to the collection.// == Return Value == * Type:Collection * Description:This method returns a collection of column names that the style needs. == Parameters ==
** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Style|Style]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,DrawingRectangleF) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.Core.GeoCanvas|GeoCanvas]] * Description:N/A * //drawingExtent// * Type:[[ThinkGeo.Core.DrawingRectangleF|DrawingRectangleF]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} PointIntensity ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} Alpha ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} IntensityRangeStart ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} IntensityRangeEnd ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} IntensityColumnName ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} PointRadius ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} PointRadiusUnit ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.DistanceUnit|DistanceUnit]] ** {{wiki:PublicProperty.gif|}} ColorPalette ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.Core.GeoColor|GeoColor]]> ** {{wiki:PublicProperty.gif|}} Name ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} IsActive ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} RequiredColumnNames ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection ** {{wiki:PublicProperty.gif|}} Filters ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} IsDefault ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:ProtectedProperty.gif|}} FiltersCore ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection ==== Public Events ====