This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.linestyle [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.silverlightcore.linestyle [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.SilverlightCore.LineStyle ====== | ====== ThinkGeo.MapSuite.SilverlightCore.LineStyle ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | + | This class is the style used to draw lines. | |
- | <!-- Class --> | + | |
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.SilverlightCore.Style]] | + | *ThinkGeo.MapSuite.SilverlightCore.Style |
- | ***[[ThinkGeo.MapSuite.SilverlightCore.LineStyle]] | + | ***ThinkGeo.MapSuite.SilverlightCore.LineStyle** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} LineStyle() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle()|LineStyle]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle(GeoPen)|LineStyle]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle(GeoPen, GeoPen)|LineStyle]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle(GeoPen, GeoPen, GeoPen)|LineStyle]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | | | | + | |
- | ==== Protected Constructors ==== | + | * //This is a constructor for the class.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} LineStyle(GeoPen) ** | ||
+ | * //This is a constructor for the class.// | ||
+ | == Remarks == | ||
+ | * //Use this when you do not need any additional pens to draw the feature.// | ||
+ | == Parameters == | ||
+ | * //outerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the outer pen used to draw the feature. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} LineStyle(GeoPen,GeoPen) ** | ||
+ | |||
+ | * //This is a constructor for the class.// | ||
+ | == Remarks == | ||
+ | * //This is a common constructor for drawing roads.// | ||
+ | == Parameters == | ||
+ | * //outerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the outer pen used to draw the feature. | ||
+ | |||
+ | * //innerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the inner pen used to draw the feature. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} LineStyle(GeoPen,GeoPen,GeoPen) ** | ||
+ | |||
+ | * //This is a constructor for the class.// | ||
+ | == Remarks == | ||
+ | * //This is common for drawing low level highways with center lines.// | ||
+ | == Parameters == | ||
+ | * //outerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the outer pen used to draw the feature. | ||
+ | |||
+ | * //innerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the inner pen used to draw the feature. | ||
+ | |||
+ | * //centerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the center pen used to draw the feature. | ||
+ | |||
+ | <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<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 | | | + | |
- | ==== 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]](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 ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CenterPen|CenterPen]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | | | | + | * Description:N/A |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CustomLineStyles|CustomLineStyles]] | Collection<[[ThinkGeo.MapSuite.SilverlightCore.LineStyle|LineStyle]]> | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#InnerPen|InnerPen]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | | | | + | |
- | | {{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}}[[#OuterPen|OuterPen]] | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#RequiredColumnNames|RequiredColumnNames]] | Collection<String> | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#XOffsetInPixel|XOffsetInPixel]] | Single | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#YOffsetInPixel|YOffsetInPixel]] | Single | | | | + | |
- | ==== 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// |
- | ==== LineStyle() ==== | + | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Public Constructors|Go Back]] | + | * //labelsInAllLayers// |
- | ==== LineStyle(GeoPen) ==== | + | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outerPen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ==== LineStyle(GeoPen, GeoPen) ==== | + | ** {{wiki:PublicMethod.gif|}} Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outerPen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | | innerPen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | ==== LineStyle(GeoPen, GeoPen, GeoPen) ==== | + | == Remarks == |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outerPen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | | innerPen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | | centerPen | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:Void |
- | ===== Public Methods ===== | + | * Description:N/A |
- | ==== Draw(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //shapes// |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --> | | | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]> |
- | | 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 --> | + | * //canvas// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] |
- | ==== Draw(IEnumerable<BaseShape>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //labelsInThisLayer// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> |
- | | 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 --> | + | * //labelsInAllLayers// |
- | [[#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 === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} GetRequiredColumnNames() ** |
- | | canvas | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> | | | + | |
- | | drawingExtent | [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]]<!-- ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Equals(Object) ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Collection<String> |
- | | obj | Object<!-- System.Object --> | | | + | * Description:N/A |
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== GetHashCode() ==== | + | ** {{wiki:PublicMethod.gif|}} DrawSample(GeoCanvas,DrawingRectangleF) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== GetRequiredColumnNames() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //canvas// |
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | * //drawingExtent// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] |
- | ==== GetType() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ToString() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ===== Protected Methods ===== | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | ==== DrawCore(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --> | | | + | * //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(overriden) --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Boolean |
- | ==== DrawSampleCore(GeoCanvas, DrawingRectangleF) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //obj// |
- | | canvas | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> | | | + | * Type:Object |
- | | drawingExtent | [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]]<!-- ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style(overriden) --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Int32 |
- | ==== GetRequiredColumnNamesCore() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== MemberwiseClone() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Type |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ===== Public Properties ===== | + | ==== Protected Methods ==== |
- | ==== CenterPen ==== | + | ** {{wiki:ProtectedMethod.gif|}} DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.LineStyle --> | + | * //This method draws the features on the canvas you provided.// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== CustomLineStyles ==== | + | * //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.// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<[[ThinkGeo.MapSuite.SilverlightCore.LineStyle|LineStyle]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.LineStyle} --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.LineStyle --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ==== InnerPen ==== | + | * Description:None |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.LineStyle --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //features// |
- | ==== IsActive ==== | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]> |
- | === Return Value === | + | * Description:This parameter represents the features you want to draw on the canvas. |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | * //canvas// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] |
- | ==== Name ==== | + | * Description:This parameter represents the canvas you want to draw the features on. |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | * //labelsInThisLayer// |
- | [[#Public Properties|Go Back]] | + | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> |
- | ==== OuterPen ==== | + | * Description:The labels will be drawn in the current layer only. |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoPen --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.LineStyle --> | + | * //labelsInAllLayers// |
- | [[#Public Properties|Go Back]] | + | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> |
- | ==== RequiredColumnNames ==== | + | * Description:The labels will be drawn in all layers. |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Style --> | + | <div newline></div> |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,DrawingRectangleF) ** |
- | ==== XOffsetInPixel ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.LineStyle --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== YOffsetInPixel ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.LineStyle --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ===== Protected Properties ===== | + | * Description:N/A |
- | ===== Public Events ===== | + | |
- | __NOTOC__ | + | == Parameters == |
- | [[Category:SilverlightMapSuiteCore]] | + | * //canvas// |
- | [[Category:ThinkGeo.MapSuite.SilverlightCore]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] |
- | [[Category:UpdateDocumentation]] | + | * Description:N/A |
+ | |||
+ | * //drawingExtent// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Collection<String> | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <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|}} XOffsetInPixel ** | ||
+ | |||
+ | This property gets and sets the X pixel offset for drawing each feature. | ||
+ | == Remarks == | ||
+ | This property allows you to specify an X offset. When combined with a Y offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data. | ||
+ | == Return Value == | ||
+ | * Type:Single | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} YOffsetInPixel ** | ||
+ | |||
+ | This property gets and sets the Y pixel offset for drawing each feature. | ||
+ | == Remarks == | ||
+ | This property allows you to specify an Y offset. When combined with an X offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data. | ||
+ | == Return Value == | ||
+ | * Type:Single | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} CustomLineStyles ** | ||
+ | |||
+ | This property returns a collection of line styles, allowing you to stack multiple line styles on top of each other. | ||
+ | == Remarks == | ||
+ | Using this collection, you can stack multiple styles on top of each other. When we draw the feature, we will draw them in order that they exist in the collection. You can use these stacks to create drop shadow effects, multiple colored outlines, etc. | ||
+ | == Return Value == | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.SilverlightCore.LineStyle|LineStyle]]> | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} OuterPen ** | ||
+ | |||
+ | This property gets and sets the outer pen for the line. | ||
+ | == Remarks == | ||
+ | You can set an inner, outer and center pen to give you a nice effect. The outer pen draws first, and should typically be black and larger then the inner pen. The inner pen draws next, and should be set as the color of the road you want. It should be thinner than the outer pen. The center pen draws last, and is used to represent a centerline in the road. We suggest that you only use the center pen for highways at low zoom level, as the dashed pen has some performance penalties. | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} InnerPen ** | ||
+ | |||
+ | This property gets and sets the inner pen for the line. | ||
+ | == Remarks == | ||
+ | You can set an inner, outer and center pen to give you a nice effect. The outer pen draws first, and should typically be black and larger then the inner pen. The inner pen draws next, and should be set as the color of the road you want. It should be thinner than the outer pen. The center pen draws last, and is used to represent a centerline in the road. We suggest that you only use the center pen for highways at low zoom level, as the dashed pen has some performance penalties. | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} CenterPen ** | ||
+ | |||
+ | This property gets and sets the center pen for the line. | ||
+ | == Remarks == | ||
+ | You can set an inner, outer and center pen to give you a nice effect. The outer pen draws first, and should typically be black and larger then the inner pen. The inner pen draws next, and should be set as the color of the road you want. It should be thinner than the outer pen. The center pen draws last, and is used to represent a centerline in the road. We suggest that you only use the center pen for highways at low zoom level, as the dashed pen has some performance penalties. | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoPen|GeoPen]] | ||
+ | |||
+ | ** {{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 ==== | ||
+ | ** {{wiki:ProtectedProperty.gif|}} bho= ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ==== Public Events ==== | ||