User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.dotdensitystyle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.silverlightcore.dotdensitystyle [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.silverlightcore.dotdensitystyle [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle ====== ====== ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- +This class allows you to display information by drawing points on an area based on a value from the features data.
-<!-- Class -->+
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.SilverlightCore.Style]] +    *ThinkGeo.MapSuite.SilverlightCore.Style 
-***[[ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle]]+      ***ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle**
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} DotDensityStyle() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#DotDensityStyle()|DotDensityStyle]] ​  ​| ​   |    |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DotDensityStyle(String,​ Double, Int32, GeoColor)|DotDensityStyle]] ​  | String, Double, Int32, [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]] ​  ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DotDensityStyle(String,​ Double, PointStyle)|DotDensityStyle]] ​  | String, Double, [[ThinkGeo.MapSuite.SilverlightCore.PointStyle|PointStyle]] ​  ​| ​   |    |+
  
-==== Protected Constructors ​==== +  * //This is the constructor for the class.// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //This is the default constructor. If you use this constructor,​ you should set the values by the properties.//​ 
 +== Parameters ​== 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} DotDensityStyle(String,​Double,​Int32,​GeoColor) **
  
 +  * //This is the constructor for the class.//
 +== Remarks ==
 +  * //This constructor allows you to set everything you need to a standard scenario.//
 +== Parameters ==
 +  * //​columnName//​
 +    * Type:String
 +    * Description:​This parameter is the name of the column in the FeatureSource that will supply the data.
 +
 +  * //​pointToValueRatio//​
 +    * Type:Double
 +    * Description:​This parameter controls the point-to-value ratio for the random dots.
 +
 +  * //​pointSize//​
 +    * Type:Int32
 +    * Description:​This parameter controls the size of each randomly placed point in the area.
 +
 +  * //​pointColor//​
 +    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]]
 +    * Description:​This parameter controls the color of each randomly placed point in the area.
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} DotDensityStyle(String,​Double,​PointStyle) **
 +
 +  * //This is the constructor for the class.//
 +== Remarks ==
 +  * //If you require a custom point symbol, this constructor allows you to set everything you need. Custom points can include bitmaps and points that require custom fill brushes.//
 +== Parameters ==
 +  * //​columnName//​
 +    * Type:String
 +    * Description:​This parameter is the name of the column in the FeatureSource that will supply the data.
 +
 +  * //​pointToValueRatio//​
 +    * Type:Double
 +    * Description:​This parameter controls the point-to-value ratio for the random dots.
 +
 +  * //​customPointStyle//​
 +    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.PointStyle|PointStyle]]
 +    * Description:​This parameter represents a custom point you want to draw.
 +
 +<div newline></​div>​
 +==== Protected Constructors ====
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#​Draw(IEnumerable<​BaseShape>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​)|Draw]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]>,​ [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>,​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#Draw(IEnumerable<​Feature>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​)|Draw]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]>,​ [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>,​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DrawSample(GeoCanvas,​ DrawingRectangleF)|DrawSample]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetRequiredColumnNames()|GetRequiredColumnNames]] ​  ​| ​   | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Protected Methods ==== +  * //N/A// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +== Remarks ​== 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​DrawCore(IEnumerable<​Feature>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​)|DrawCore]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]>,​ [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>,​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]](overriden) ​  ​| ​   | +  * //N/A//
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​DrawSampleCore(GeoCanvas,​ DrawingRectangleF)|DrawSampleCore]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetRequiredColumnNamesCore()|GetRequiredColumnNamesCore]] ​  ​| ​   | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]](overriden) ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Public Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +  * Type:Void 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CachedPoints|CachedPoints]] ​  | Dictionary<​String,​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]>> ​  ​| ​   |    | +  * Description:N/A
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ColumnName|ColumnName]] ​  | String ​  ​| ​   |    | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CustomPointStyle|CustomPointStyle]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.PointStyle|PointStyle]] ​  ​| ​   |    | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​IsActive|IsActive]] ​  | Boolean ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Name|Name]] ​  | String ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​PointColor|PointColor]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]] ​  ​| ​   |    | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​PointSize|PointSize]] ​  | Int32   ​| ​   |    | +
-| {{wiki:PublicProperty.gif|Public Property}}[[#​PointToValueRatio|PointToValueRatio]] ​  | Double ​  ​| ​   |    | +
-| {{wiki:PublicProperty.gif|Public Property}}[[#​RequiredColumnNames|RequiredColumnNames]] ​  | Collection<​String> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   |+
  
-==== Protected Properties ==== +== Parameters ​== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+  * //​features//​ 
 +    * Type:​IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]>​ 
 +    * Description:​N/​A
  
-==== Public Events ==== +  * //canvas// 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^+    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
 +    * Description:​N/​A
  
-===== Public Constructors ===== +  * //​labelsInThisLayer//​ 
-==== DotDensityStyle() ==== +    * Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>​ 
-=== Parameters === +    ​* ​Description:N/A
-^  Name ^  Type ^  ​Description ​^+
  
-[[#Public Constructors|Go Back]] +  ​* //​labelsInAllLayers//​ 
-==== DotDensityStyle(String,​ Double, Int32, GeoColor) ==== +    ​* Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> 
-=== Parameters === +    * Description:​N/​A
-^  Name ^  Type ^  Description ^ +
-| columnName ​  ​| String<​!-- System.String --> ​  ​| ​   | +
-| pointToValueRatio ​  | Double<​!-- System.Double --> ​  ​| ​   +
-| pointSize ​  | Int32<!-- System.Int32 --> ​  ​| ​   | +
-| pointColor ​  ​| ​[[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoColor --  |    |+
  
-[[#Public Constructors|Go Back]] +<div newline></div
-==== DotDensityStyle(String,​ Double, PointStyle) ==== +** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<BaseShape>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
-=== Parameters === +
-^  Name ^  Type ^  Description ^ +
-| columnName ​  | String<!-- System.String --  |    | +
-| pointToValueRatio ​  | Double<!-- System.Double --  |    | +
-| customPointStyle ​  | [[ThinkGeo.MapSuite.SilverlightCore.PointStyle|PointStyle]]<!-- ThinkGeo.MapSuite.SilverlightCore.PointStyle --  |    |+
  
-[[#Public Constructors|Go Back]] +  * //N/A// 
-===== Protected Constructors ===== +== Remarks ​== 
-===== Public Methods ===== +  * //N/A//
-==== Draw(IEnumerable<​BaseShape>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​) ==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Void 
-| shapes ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]><​!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.BaseShape} --> ​  ​| ​   | +  Description:N/A
-| canvas ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   | +
-| labelsInThisLayer ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   | +
-| labelsInAllLayers ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Parameters == 
-[[#Public Methods|Go Back]] +  * //​shapes//​ 
-==== Draw(IEnumerable<​Feature>, GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​) ==== +    * Type:​IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]> 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //canvas// 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
-| features ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><​!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --> ​  ​| ​   | +    ​* Description:​N/​A
-| canvas ​  ​| ​[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   | +
-| labelsInThisLayer ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   +
-| labelsInAllLayers ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +  * //​labelsInThisLayer//​ 
-[[#Public Methods|Go Back]] +    * Type:​Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> 
-==== DrawSample(GeoCanvas,​ DrawingRectangleF) ==== +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //​labelsInAllLayers//​ 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> 
-| canvas ​  ​| ​[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --  |    | +    ​* Description:​N/​A
-| drawingExtent ​  | [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]]<​!-- ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetRequiredColumnNames() **
-==== Equals(Object==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   |+  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Collection<String> 
-==== GetHashCode() ==== +  * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Int32<!-- System.Int32 --  |    |+
  
-=== Parameters === +== Parameters == 
-^  Name ^  Type ^  Description ^+<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas,​DrawingRectangleF) **
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetRequiredColumnNames() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Void 
 +  Description:N/A
  
-<​!-- ​ThinkGeo.MapSuite.SilverlightCore.Style --> +== Parameters == 
-[[#Public Methods|Go Back]] +  * //​canvas//​ 
-==== GetType() ==== +    * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Type<!-- System.Type --> ​  ​| ​   |+
  
-=== Parameters === +  * //​drawingExtent//​ 
-^  Name ^  ​Type ^  ​Description ​^+    ​* ​Type:​[[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] 
 +    * Description:N/A
  
-<!-- System.Object --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} ToString() ​**
-==== ToString() ​==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| String<​!-- System.String --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:String 
-===== Protected Methods ===== +  * Description:N/A
-==== DrawCore(IEnumerable<​Feature>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​) ==== +
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  Type ^  Description ^ +<div newline></div
-| features ​  | IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --  |    | +** {{wiki:​PublicMethod.gif|}} Equals(Object) **
-| canvas ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   | +
-| labelsInThisLayer ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​     | +
-| labelsInAllLayers ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate--> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style(overriden) --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== DrawSampleCore(GeoCanvas,​ DrawingRectangleF) ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Boolean 
-| canvas ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   | +  Description:N/A
-| drawingExtent ​  | [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]]<​!-- ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +  * //obj// 
-==== Finalize() ​==== +    ​* ​Type:Object 
-=== Return Value === +    ​* Description:​N/​A
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^+** {{wiki:​PublicMethod.gif|}} GetHashCode() **
  
-<!-- System.Object --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== GetRequiredColumnNamesCore() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Int32 
 +  Description:N/A
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style(overriden) --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +<div newline></​div>​ 
-==== MemberwiseClone() ​==== +** {{wiki:​PublicMethod.gif|}} GetType() **
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Object<​!-- System.Object --> ​  ​| ​   ​|+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  * Type:Type 
-===== Public Properties ===== +  * Description:​N/​A
-==== CachedPoints ==== +
-=== Return Value === +
-^ Return ​Type ^ +
-| Dictionary<​String,​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]>><​!-- System.Collections.Generic.Dictionary{System.String,​System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.Vertex}} --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle --> +== Parameters ​== 
-[[#Public Properties|Go Back]] +<div newline></​div>​ 
-==== ColumnName ​==== +==== Protected Methods ​==== 
-=== Return Value === +** {{wiki:​ProtectedMethod.gif|}} GetRequiredColumnNamesCore() **
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle --> +  * //This method returns the column data for each feature that is required for the style to properly draw.// 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== CustomPointStyle ==== +  * //This abstract method is called from the concrete public method GetRequiredFieldNamesIn this method, we return the column names that are required for the style to draw the feature properlyFor 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 nameThis will ensure that the column data is returned to you in the feature when it is ready to drawIn 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 === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.SilverlightCore.PointStyle|PointStyle]]<​!-- ThinkGeo.MapSuite.SilverlightCore.PointStyle --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle --> +== Return Value == 
-[[#Public Properties|Go Back]] +  ​* ​Type:​Collection<​String>​ 
-==== IsActive ==== +  * Description:​This method returns a collection of column names that it needs.
-=== Return Value === +
-^ Return ​Type ^ +
-| Boolean<​!-- System.Boolean --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Parameters ​== 
-[[#Public Properties|Go Back]] +<div newline></​div>​ 
-==== Name ==== +** {{wiki:​ProtectedMethod.gif|}} DrawCore(IEnumerable<Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
-=== Return Value === +
-^ Return Type ^ +
-String<!-- System.String --  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +  * //This method draws the features on the canvas you provided.// 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== PointColor ==== +  * //This overridden method is called from the concrete public method DrawIn this method, we take the features you passed in and draw them on the canvas you providedEach style (based on its properties) may draw each feature differentlyWhen overriding this method, consider each feature and its column data valuesYou can use the full power of the GeoCanvas to do the drawingIf you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collectionIn 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 === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoColor --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle --> +== Return Value == 
-[[#Public Properties|Go Back]] +  ​* ​Type:Void 
-==== PointSize ==== +  * Description:​None
-=== Return Value === +
-^ Return ​Type ^ +
-| Int32<​!-- System.Int32 --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle --> +== Parameters == 
-[[#Public Properties|Go Back]] +  * //​features//​ 
-==== PointToValueRatio ==== +    * Type:​IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]> 
-=== Return Value === +    * Description:​This parameter represents the features you want to draw on the canvas.
-^ Return Type ^ +
-| Double<​!-- System.Double --> ​  |+
  
-<​!-- ​ThinkGeo.MapSuite.SilverlightCore.DotDensityStyle --> +  * //​canvas//​ 
-[[#Public Properties|Go Back]] +    * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
-==== RequiredColumnNames ==== +    * Description:​This parameter represents the canvas you want to draw the features on.
-=== Return Value === +
-^ Return Type ^ +
-| Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --+  * //​labelsInThisLayer//​ 
-[[#Public Properties|Go Back]] +    * Type:​Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]
-===== Protected Properties ​===== +    * Description:​The labels will be drawn in the current layer only. 
-===== Public ​Events ​===== + 
-__NOTOC__ +  * //​labelsInAllLayers//​ 
-[[Category:​SilverlightMapSuiteCore]] +    * Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]
-[[Category:ThinkGeo.MapSuite.SilverlightCore]] +    * Description:​The labels will be drawn in all layers. 
-[[Category:​UpdateDocumentation]]+ 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,​DrawingRectangleF) ** 
 + 
 +  * //N/A// 
 +== Remarks ​== 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​canvas//​ 
 +    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
 +    * Description:​N/​A 
 + 
 +  * //​drawingExtent//​ 
 +    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Finalize() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Object 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +==== Public ​Properties ​===
 +** {{wiki:​PublicProperty.gif|}} CustomPointStyle ** 
 + 
 +This property gets and sets a custom point style. 
 +== Remarks ​== 
 +You will use this property when you want to specify a point style that is not just a simple colored dot. You may want to use a bitmap or take advantage of a custom fill brush. 
 +== Return Value == 
 +  * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointStyle|PointStyle]] 
 + 
 +** {{wiki:​PublicProperty.gif|}} ColumnName ** 
 + 
 +This property gets and sets the column name that will be used for the density value. 
 +== Remarks == 
 +This value should represent a value in the FeatureSource that is numeric. It will be used in conjunction with the PointToValueRatio property to deterime how many points are drawn in the area. 
 +== Return Value == 
 +  * Type:​String 
 + 
 +** {{wiki:​PublicProperty.gif|}} PointSize ** 
 + 
 +This property gets and sets the point size of the density points. 
 +== Remarks == 
 +If you have sparse data, one way to better fill the area is to use larger point sizes. The opposite is also true; if you have lots of data, smaller point sizes look better. 
 +== Return Value == 
 +  * Type:​Int32 
 + 
 +** {{wiki:​PublicProperty.gif|}} PointColor ** 
 + 
 +This property gets and sets the color of the density points. 
 +== Remarks == 
 +None 
 +== Return Value == 
 +  * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]] 
 + 
 +** {{wiki:​PublicProperty.gif|}} PointToValueRatio ** 
 + 
 +This property gets and sets the ratio of points to value in the data. 
 +== Remarks == 
 +This property controls the ratio of points on the screen to numeric value in the data. For example, if you have a value of 100 in the data and you have the ratio set to 1, then you will get 100 points drawn. A ratio of higher than 1 will draw more points than the data value; in our example, a ratio of 2 will draw 200 points. Conversely, a ratio of less than 1 will draw fewer points than the data value; in our example, a ratio of 0.5 would draw 50 points. 
 +== Return Value == 
 +  * Type:​Double 
 + 
 +** {{wiki:​PublicProperty.gif|}} CachedPoints ** 
 + 
 +The cachedPoints for the dotdensity style to speed it up. 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  * Type:​Dictionary<​String,​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]>> 
 + 
 +** {{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<​String>​ 
 + 
 +==== Protected Properties ==== 
 +==== Public Events ====
  
thinkgeo.mapsuite.silverlightcore.dotdensitystyle.1440040134.txt.gz · Last modified: 2015/09/21 03:19 (external edit)