This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.qualityfamilyareastyle [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.silverlightcore.qualityfamilyareastyle [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle ====== | ====== ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | + | This class is used to draw area features. | |
- | <!-- Class --> | + | |
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.SilverlightCore.Style]] | + | *ThinkGeo.MapSuite.SilverlightCore.Style |
- | ***[[ThinkGeo.MapSuite.SilverlightCore.AreaStyle]] | + | *ThinkGeo.MapSuite.SilverlightCore.AreaStyle |
- | ****[[ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle]] | + | ***ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} QualityFamilyAreaStyle() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#QualityFamilyAreaStyle()|QualityFamilyAreaStyle]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#QualityFamilyAreaStyle(GeoPen, GeoColor, Int32)|QualityFamilyAreaStyle]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]], Int32 | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#QualityFamilyAreaStyle(GeoPen, GeoColor, Int32, PenBrushDrawingOrder)|QualityFamilyAreaStyle]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]], Int32, [[ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | | | + | |
- | ==== Protected Constructors ==== | + | This is the constructor the for the class. If you use this constructor, then you need to set the required properties manually. |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | None | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} QualityFamilyAreaStyle(GeoPen,GeoColor,Int32) ** | ||
+ | This is the constructor the for the class. | ||
+ | == Remarks == | ||
+ | None. | ||
+ | == Parameters == | ||
+ | * //outlinePen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter represents the outline pen that will be used on the style. | ||
+ | |||
+ | * //baseColor// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]] | ||
+ | * Description:This parameter represents the base color that will be used in the class. | ||
+ | |||
+ | * //numberOfColors// | ||
+ | * Type:Int32 | ||
+ | * Description:This prameter represents how many colors will be used in the style, based on the base color. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} QualityFamilyAreaStyle(GeoPen,GeoColor,Int32,PenBrushDrawingOrder) ** | ||
+ | |||
+ | This is the constructor the for the class. | ||
+ | == Remarks == | ||
+ | None. | ||
+ | == Parameters == | ||
+ | * //outlinePen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter represents the outline pen that will be used on the style. | ||
+ | |||
+ | * //baseColor// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]] | ||
+ | * Description:This parameter represents the base color that will be used in the class. | ||
+ | |||
+ | * //numberOfColors// | ||
+ | * Type:Int32 | ||
+ | * Description:This prameter represents how many colors will be used in the style, based on the base color. | ||
+ | |||
+ | * //penBrushDrawingOrder// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
+ | * Description:This parameter describes the PenBrushDrawingOrder that will be used when drawing the area type feature. | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ClearCache() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ClearCache()|ClearCache]] | | | | | + | |
- | | {{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}}[[#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}}[[#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 | | | + | |
+ | This method clears the cached style in the cache. | ||
+ | == Remarks == | ||
+ | This method clears the cached style in the cache. | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:None. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //features// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //canvas// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //labelsInThisLayer// | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //labelsInAllLayers// | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //shapes// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //canvas// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //labelsInThisLayer// | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //labelsInAllLayers// | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetRequiredColumnNames() ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Collection<String> | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DrawSample(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:PublicMethod.gif|}} ToString() ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //obj// | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
==== Protected Methods ==== | ==== Protected Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | | {{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) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawSampleCore(GeoCanvas, DrawingRectangleF)|DrawSampleCore]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]], [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]](overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetRequiredColumnNamesCore()|GetRequiredColumnNamesCore]] | | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | ==== Public Properties ==== | + | This method draws the features on the canvas you provided. |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Advanced|Advanced]] | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyleAdvanced|AreaStyleAdvanced]] | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]] | | | + | This overridden method is called from the concrete public method Draw. In this method, we take the features you passed in and draw them on the canvas you provided. Each style (based on its properties) may draw each feature differently. When overriding this 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. |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#BaseColor|BaseColor]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]] | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Cache|Cache]] | Dictionary<String,[[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]]> | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CustomAreaStyles|CustomAreaStyles]] | Collection<[[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]]> | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#FillSolidBrush|FillSolidBrush]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoSolidBrush|GeoSolidBrush]] | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]] | | | + | |
- | | {{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}}[[#NumberOfColors|NumberOfColors]] | Int32 | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#OutlinePen|OutlinePen]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#RequiredColumnNames|RequiredColumnNames]] | Collection<String> | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#XOffsetInPixel|XOffsetInPixel]] | Single | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#YOffsetInPixel|YOffsetInPixel]] | Single | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]] | | | + | |
- | ==== Protected Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
+ | * Description:None | ||
- | ==== Public Events ==== | + | == Parameters == |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | * //features// |
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]> | ||
+ | * Description:This parameter represents the features you want to draw on the canvas. | ||
- | ===== Public Constructors ===== | + | * //canvas// |
- | ==== QualityFamilyAreaStyle() ==== | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] |
- | === Parameters === | + | * Description:This parameter represents the canvas you want to draw the features on. |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Public Constructors|Go Back]] | + | * //labelsInThisLayer// |
- | ==== QualityFamilyAreaStyle(GeoPen, GeoColor, Int32) ==== | + | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> |
- | === Parameters === | + | * Description:The labels will be drawn in the current layer only. |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outlinePen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | | baseColor | [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoColor --> | | | + | |
- | | numberOfColors | Int32<!-- System.Int32 --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //labelsInAllLayers// |
- | ==== QualityFamilyAreaStyle(GeoPen, GeoColor, Int32, PenBrushDrawingOrder) ==== | + | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> |
- | === Parameters === | + | * Description:The labels will be drawn in all layers. |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outlinePen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | | baseColor | [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoColor --> | | | + | |
- | | numberOfColors | Int32<!-- System.Int32 --> | | | + | |
- | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ===== Protected Constructors ===== | + | ** {{wiki:ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,DrawingRectangleF) ** |
- | ===== Public Methods ===== | + | |
- | ==== ClearCache() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | N/A |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== Draw(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //canvas// |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] |
- | | canvas | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> | | | + | * Description:N/A |
- | | 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 --> | + | * //drawingExtent// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] |
- | ==== Draw(IEnumerable<BaseShape>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** |
- | | shapes | IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.BaseShape} --> | | | + | |
- | | 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 --> | + | N/A |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== DrawSample(GeoCanvas, DrawingRectangleF) ==== | + | N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Collection<String> |
- | | 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 == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== Equals(Object) ==== | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
- | === 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:Void |
- | ==== GetHashCode() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | <!-- 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:Object |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== GetType() ==== | + | ==== Public Properties ==== |
- | === Return Value === | + | ** {{wiki:PublicProperty.gif|}} NumberOfColors ** |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | This gets or sets the number of colors in the style. |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | None. | ||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
- | <!-- System.Object --> | + | ** {{wiki:PublicProperty.gif|}} Cache ** |
- | [[#Public Methods|Go Back]] | + | |
- | ==== ToString() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | This gets the cached style in the class. |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | This gets the cached style in the class. The key of the style in the cache is feature.Id & feature.GetHashCode(). | ||
+ | == Return Value == | ||
+ | * Type:Dictionary<String,[[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]]> | ||
- | <!-- System.Object --> | + | ** {{wiki:PublicProperty.gif|}} BaseColor ** |
- | [[#Public Methods|Go Back]] | + | |
- | ===== Protected Methods ===== | + | |
- | ==== DrawCore(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | This gets or sets the base color of the style. |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --> | | | + | None. |
- | | canvas | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> | | | + | == Return Value == |
- | | labelsInThisLayer | Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]] |
- | | labelsInAllLayers | Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style(overriden) --> | + | ** {{wiki:PublicProperty.gif|}} XOffsetInPixel ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ==== DrawSampleCore(GeoCanvas, DrawingRectangleF) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | N/A |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | canvas | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> | | | + | N/A |
- | | drawingExtent | [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]]<!-- ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF --> | | | + | == Return Value == |
+ | * Type:Single | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style(overriden) --> | + | ** {{wiki:PublicProperty.gif|}} YOffsetInPixel ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | N/A |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Single | ||
- | <!-- System.Object --> | + | ** {{wiki:PublicProperty.gif|}} FillSolidBrush ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ==== GetRequiredColumnNamesCore() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | | + | |
- | === Parameters === | + | N/A |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoSolidBrush|GeoSolidBrush]] | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | ** {{wiki:PublicProperty.gif|}} CustomAreaStyles ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ==== MemberwiseClone() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | N/A |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]]> | ||
- | <!-- System.Object --> | + | ** {{wiki:PublicProperty.gif|}} OutlinePen ** |
- | [[#Protected Methods|Go Back]] | + | |
- | ===== Public Properties ===== | + | |
- | ==== Advanced ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.AreaStyleAdvanced|AreaStyleAdvanced]]<!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyleAdvanced --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyle --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== BaseColor ==== | + | N/A |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeoColor|GeoColor]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoColor --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle --> | + | ** {{wiki:PublicProperty.gif|}} PenBrushDrawingOrder ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== Cache ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Dictionary<String,[[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]]><!-- System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.SilverlightCore.AreaStyle} --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== CustomAreaStyles ==== | + | N/A |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] |
- | | Collection<[[ThinkGeo.MapSuite.SilverlightCore.AreaStyle|AreaStyle]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.AreaStyle} --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyle --> | + | ** {{wiki:PublicProperty.gif|}} Advanced ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== FillSolidBrush ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeoSolidBrush|GeoSolidBrush]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoSolidBrush --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyle --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== IsActive ==== | + | N/A |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.AreaStyleAdvanced|AreaStyleAdvanced]] |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | ** {{wiki:PublicProperty.gif|}} Name ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== Name ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== NumberOfColors ==== | + | N/A |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:String |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle --> | + | ** {{wiki:PublicProperty.gif|}} IsActive ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== OutlinePen ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyle --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== PenBrushDrawingOrder ==== | + | N/A |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Boolean |
- | | [[ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.SilverlightCore.PenBrushDrawingOrder --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyle --> | + | ** {{wiki:PublicProperty.gif|}} RequiredColumnNames ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== RequiredColumnNames ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== XOffsetInPixel ==== | + | N/A |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Collection<String> |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyle --> | + | ==== Protected Properties ==== |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} bho= ** |
- | ==== YOffsetInPixel ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.AreaStyle --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ===== Protected Properties ===== | + | N/A |
- | ===== Public Events ===== | + | == Return Value == |
- | __NOTOC__ | + | * Type:Boolean |
- | [[Category:SilverlightMapSuiteCore]] | + | |
- | [[Category:ThinkGeo.MapSuite.SilverlightCore]] | + | ==== Public Events ==== |
- | [[Category:UpdateDocumentation]] | + | |