This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.portablecore.linestyle [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.portablecore.linestyle [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.PortableCore.LineStyle ====== | + | ====== ThinkGeo.MapSuite.Core.LineStyle ====== |
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Class --> | ||
This class is the style used to draw lines. | This class is the style used to draw lines. | ||
- | === Remarks === | ||
- | This class is commonly used to draw lines on the GeoCanvas. It is specialized for drawing roads, as this is the main kind of line feature that is most often drawn. 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. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.PortableCore.Style]] | + | *ThinkGeo.MapSuite.Core.Style |
- | ***[[ThinkGeo.MapSuite.PortableCore.LineStyle]] | + | ***ThinkGeo.MapSuite.Core.LineStyle** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} LineStyle() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle()|LineStyle]] | | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle(GeoPen)|LineStyle]] | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]] | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle(GeoPen, GeoPen)|LineStyle]] | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]] | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LineStyle(GeoPen, GeoPen, GeoPen)|LineStyle]] | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]] | | This is a constructor for the class. | | + | |
- | ==== 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.Core.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.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the outer pen used to draw the feature. | ||
+ | |||
+ | * //innerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.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.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the outer pen used to draw the feature. | ||
+ | |||
+ | * //innerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter is the inner pen used to draw the feature. | ||
+ | |||
+ | * //centerPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.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|}} CloneDeep() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#CloneDeep()|CloneDeep]] | | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | Create a copy of style using the deep clone process. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Draw(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>)|Draw]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]>, [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]>, Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]> | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | This method draws the features on the canvas you provided. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Draw(IEnumerable<BaseShape>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>)|Draw]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.BaseShape|BaseShape]]>, [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]>, Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]> | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | This method draws the shapes on the canvas you provided. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawSample(GeoCanvas, DrawingRectangleF)|DrawSample]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], [[ThinkGeo.MapSuite.PortableCore.DrawingRectangleF|DrawingRectangleF]] | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | This method draws a sample feature on the canvas you provided. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawSample(GeoCanvas)|DrawSample]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]] | [[ThinkGeo.MapSuite.PortableCore.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.PortableCore.Style|Style]] | This method returns the column data for each feature that is required for the style to properly draw. | | + | |
- | | {{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}}[[#CloneDeepCore()|CloneDeepCore]] | | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | Create a copy of style using the deep clone process. The default implementation method uses serialization. | | + | * //N/A// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawCore(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>)|DrawCore]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]>, [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]>, Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]> | [[ThinkGeo.MapSuite.PortableCore.Style|Style]](overriden) | This method draws the features on the canvas you provided. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawSampleCore(GeoCanvas, DrawingRectangleF)|DrawSampleCore]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], [[ThinkGeo.MapSuite.PortableCore.DrawingRectangleF|DrawingRectangleF]] | [[ThinkGeo.MapSuite.PortableCore.Style|Style]](overriden) | This method draws a sample feature on the canvas you provided. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetRequiredColumnNamesCore()|GetRequiredColumnNamesCore]] | | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | This method returns the column data for each feature that is required for the style to properly draw. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:[[ThinkGeo.MapSuite.Core.Style|Style]] |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CenterPen|CenterPen]] | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]] | | This property gets and sets the center pen for the line. | | + | * Description:N/A |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CenterPenDrawingLevel|CenterPenDrawingLevel]] | [[ThinkGeo.MapSuite.PortableCore.DrawingLevel|DrawingLevel]] | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CustomLineStyles|CustomLineStyles]] | Collection<[[ThinkGeo.MapSuite.PortableCore.LineStyle|LineStyle]]> | | This property returns a collection of line styles, allowing you to stack multiple line styles on top of each other. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Filters|Filters]] | Collection<String> | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#InnerPen|InnerPen]] | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]] | | This property gets and sets the inner pen for the line. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#InnerPenDrawingLevel|InnerPenDrawingLevel]] | [[ThinkGeo.MapSuite.PortableCore.DrawingLevel|DrawingLevel]] | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsActive|IsActive]] | Boolean | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | This property gets and sets the active status of the style. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | This property gets and set the name of the style. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#OuterPen|OuterPen]] | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]] | | This property gets and sets the outer pen for the line. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#OuterPenDrawingLevel|OuterPenDrawingLevel]] | [[ThinkGeo.MapSuite.PortableCore.DrawingLevel|DrawingLevel]] | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#RequiredColumnNames|RequiredColumnNames]] | Collection<String> | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | This property gets the collection of fields that are required for the style. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#XOffsetInPixel|XOffsetInPixel]] | Single | | This property gets and sets the X pixel offset for drawing each feature. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#YOffsetInPixel|YOffsetInPixel]] | Single | | This property gets and sets the Y pixel offset for drawing each feature. | | + | |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#FiltersCore|FiltersCore]] | Collection<String> | [[ThinkGeo.MapSuite.PortableCore.Style|Style]] | | | + | ** {{wiki:PublicMethod.gif|}} Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | ==== Public Events ==== | + | * //N/A// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
- | ===== Public Constructors ===== | + | == Return Value == |
- | ==== LineStyle() ==== | + | * Type:Void |
- | This is a constructor for the class. | + | * Description:N/A |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Public Constructors|Go Back]] | + | == Parameters == |
- | ==== LineStyle(GeoPen) ==== | + | * //features// |
- | This is a constructor for the class. | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | === Overloads === | + | * Description:N/A |
- | This constructor allows you to pass in a single outer pen. Use this when you do not need any additional pens to draw the feature. | + | |
- | === Remarks === | + | |
- | Use this when you do not need any additional pens to draw the feature. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outerPen | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | This parameter is the outer pen used to draw the feature. | | + | |
- | [[#Public Constructors|Go Back]] | + | * //canvas// |
- | ==== LineStyle(GeoPen, GeoPen) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | This is a constructor for the class. | + | * Description:N/A |
- | === Overloads === | + | |
- | This constructor allows you to pass in an outer and inner pen. This is common for drawing roads. | + | |
- | === Remarks === | + | |
- | This is a common constructor for drawing roads. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outerPen | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | This parameter is the outer pen used to draw the feature. | | + | |
- | | innerPen | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | This parameter is the inner pen used to draw the feature. | | + | |
- | [[#Public Constructors|Go Back]] | + | * //labelsInThisLayer// |
- | ==== LineStyle(GeoPen, GeoPen, GeoPen) ==== | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | This is a constructor for the class. | + | * Description:N/A |
- | === Overloads === | + | |
- | This constructor allows you to pass in an outer, inner and center pen. This is common for drawing low level highways with center lines. | + | |
- | === Remarks === | + | |
- | This is common for drawing low level highways with center lines. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | outerPen | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | This parameter is the outer pen used to draw the feature. | | + | |
- | | innerPen | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | This parameter is the inner pen used to draw the feature. | | + | |
- | | centerPen | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | This parameter is the center pen used to draw the feature. | | + | |
- | [[#Public Constructors|Go Back]] | + | * //labelsInAllLayers// |
- | ===== Protected Constructors ===== | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | ===== Public Methods ===== | + | * Description:N/A |
- | ==== CloneDeep() ==== | + | |
- | Create a copy of style using the deep clone process. | + | |
- | === Remarks === | + | |
- | The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.Style|Style]]<!-- ThinkGeo.MapSuite.PortableCore.Style --> | A cloned style. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Draw(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | * //N/A// |
- | This method draws the features on the canvas you provided. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method DrawCore. 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. | + | |
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | == Return Value == |
- | === Return Value === | + | * Type:Void |
- | ^ Return Type ^ Description ^ | + | * Description:N/A |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //shapes// |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Feature} --> | This parameter represents the features you want to draw on the canvas. | | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]> |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | This parameter represents the canvas you want to draw the features on. | | + | * Description:N/A |
- | | labelsInThisLayer | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | The labels will be drawn in the current layer only. | | + | |
- | | labelsInAllLayers | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | The labels will be drawn in all layers. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | * //canvas// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | ==== Draw(IEnumerable<BaseShape>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | * Description:N/A |
- | This method draws the shapes on the canvas you provided. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method DrawCore. In this method, we take the shapes you passed in and draw them on the canvas you provided. Each style (based on its properties) may draw each shape differently. | + | |
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //labelsInThisLayer// |
- | === Return Value === | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | ^ Return Type ^ Description ^ | + | * Description:N/A |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //labelsInAllLayers// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | | shapes | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.BaseShape|BaseShape]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.BaseShape} --> | This parameter represents the shapes you want to draw on the canvas. | | + | * Description:N/A |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | This parameter represents the canvas you want to draw the shapes on. | | + | |
- | | labelsInThisLayer | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | The labels will be drawn in the current layer only. | | + | |
- | | labelsInAllLayers | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | The labels will be drawn in all layers. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetRequiredColumnNames() ** |
- | ==== DrawSample(GeoCanvas, DrawingRectangleF) ==== | + | |
- | This method draws a sample feature on the canvas you provided. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method DrawSampleCore. In this method we draw a sample style on the canvas you provided. This is typically used to display a legend or other sample area. | + | |
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //N/A// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //N/A// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Collection<String> |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | This parameter represents the canvas you want to draw the features on. | | + | * Description:N/A |
- | | drawingExtent | [[ThinkGeo.MapSuite.PortableCore.DrawingRectangleF|DrawingRectangleF]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingRectangleF --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== DrawSample(GeoCanvas) ==== | + | ** {{wiki:PublicMethod.gif|}} DrawSample(GeoCanvas,DrawingRectangleF) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== Equals(Object) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //canvas// |
- | | obj | Object<!-- System.Object --> | | | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | * //drawingExtent// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] |
- | ==== GetHashCode() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawSample(GeoCanvas) ** |
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetRequiredColumnNames() ==== | + | * //N/A// |
- | This method returns the column data for each feature that is required for the style to properly draw. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method GetRequiredColumnNamesCore. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. | + | |
- | In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore we read that property and add it to the collection. | + | == Return Value == |
+ | * Type:Void | ||
+ | * Description:N/A | ||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | == Parameters == |
- | === Return Value === | + | * //canvas// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | This method returns a collection of column names that the style needs. | | + | * Description:N/A |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetType() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== ToString() ==== | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | === 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:Boolean |
- | ===== Protected Methods ===== | + | * Description:N/A |
- | ==== CloneDeepCore() ==== | + | |
- | Create a copy of style using the deep clone process. The default implementation method uses serialization. | + | |
- | === Remarks === | + | |
- | The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.Style|Style]]<!-- ThinkGeo.MapSuite.PortableCore.Style --> | A cloned style. | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //obj// |
+ | * Type:Object | ||
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | ==== DrawCore(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>) ==== | + | |
- | This method draws the features on the canvas you provided. | + | |
- | === Remarks === | + | |
- | 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. | + | * //N/A// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //N/A// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Int32 |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Feature} --> | This parameter represents the features you want to draw on the canvas. | | + | * Description:N/A |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | This parameter represents the canvas you want to draw the features on. | | + | |
- | | labelsInThisLayer | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | The labels will be drawn in the current layer only. | | + | |
- | | labelsInAllLayers | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | The labels will be drawn in all layers. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style(overriden) --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ==== DrawSampleCore(GeoCanvas, DrawingRectangleF) ==== | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | This method draws a sample feature on the canvas you provided. | + | |
- | === Remarks === | + | |
- | This virtual method is called from the concrete public method Draw. In this method, we draw a sample style on the canvas you provided. This is typically used to display a legend or other sample area. | + | |
- | When implementing this virtual method, consider the canvas size and draw the sample image appropriately. You should keep in mind that the sample typically shows up on a legend. | + | * //N/A// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //N/A// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Type |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | This parameter represents the canvas you want to draw the features on. | | + | * Description:N/A |
- | | drawingExtent | [[ThinkGeo.MapSuite.PortableCore.DrawingRectangleF|DrawingRectangleF]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingRectangleF --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style(overriden) --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ==== Finalize() ==== | + | ==== Protected Methods ==== |
- | === Return Value === | + | ** {{wiki:ProtectedMethod.gif|}} DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This method draws the features on the canvas you provided.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //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.// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== GetRequiredColumnNamesCore() ==== | + | * Description:None |
- | This method returns the column data for each feature that is required for the style to properly draw. | + | |
- | === Remarks === | + | |
- | This abstract method is called from the concrete public method GetRequiredFieldNames. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. | + | |
- | In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore we read that property and add it to the collection. | + | == Parameters == |
- | === Return Value === | + | * //features// |
- | ^ Return Type ^ Description ^ | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | This method returns a collection of column names that the style needs. | | + | * Description:This parameter represents the features you want to draw on the canvas. |
- | === Parameters === | + | * //canvas// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
+ | * Description:This parameter represents the canvas you want to draw the features on. | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | * //labelsInThisLayer// |
- | [[#Protected Methods|Go Back]] | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | ==== MemberwiseClone() ==== | + | * Description:The labels will be drawn in the current layer only. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | * //labelsInAllLayers// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
+ | * Description:The labels will be drawn in all layers. | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,DrawingRectangleF) ** |
- | ===== Public Properties ===== | + | |
- | ==== 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 === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | * //This method draws a sample feature on the canvas you provided.// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== CenterPenDrawingLevel ==== | + | * //This virtual method is called from the concrete public method Draw. In this method, we draw a sample style on the canvas you provided. This is typically used to display a legend or other sample area. When implementing this virtual method, consider the canvas size and draw the sample image appropriately. You should keep in mind that the sample typically shows up on a legend.// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingLevel --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ==== CustomLineStyles ==== | + | * Description:None |
- | 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 === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<[[ThinkGeo.MapSuite.PortableCore.LineStyle|LineStyle]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.LineStyle} --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //canvas// |
- | ==== Filters ==== | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | === Return Value === | + | * Description:This parameter represents the canvas you want to draw the features on. |
- | ^ Return Type ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | * //drawingExtent// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] |
- | ==== InnerPen ==== | + | * Description:N/A |
- | 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 === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | <div newline></div> |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** |
- | ==== InnerPenDrawingLevel ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingLevel --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== IsActive ==== | + | * //N/A// |
- | This property gets and sets the active status of the style. | + | |
- | === Remarks === | + | |
- | If the style is not active then it will not draw. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.Style|Style]] |
- | ==== Name ==== | + | * Description:N/A |
- | This property gets and set the name of the style. | + | |
- | === Remarks === | + | |
- | This name is not used by the system; it is only for the developer. However, it can be used if you generate your own legend. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | <div newline></div> |
- | ==== OuterPen ==== | + | ** {{wiki:ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** |
- | 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 === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.PortableCore.GeoPen --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== OuterPenDrawingLevel ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingLevel --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Collection<String> |
- | ==== RequiredColumnNames ==== | + | * Description:N/A |
- | This property gets the collection of fields that are required for the style. | + | |
- | === Remarks === | + | |
- | This property gets the collection of fields that are required for the style. These are in addition to any other columns you specify in styles that inherit from this one. For example, if you have use a ValueStyle and it requires a column name for the value comparison, then that column does not need to be in this collection. You only use the RequiredColumnNames for columns you need beyond those required by specific inherited styles. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | <div newline></div> |
- | ==== XOffsetInPixel ==== | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
- | 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 === | + | |
- | ^ Return Type ^ | + | |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== YOffsetInPixel ==== | + | * //N/A// |
- | 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 === | + | |
- | ^ Return Type ^ | + | |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.LineStyle --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ===== Protected Properties ===== | + | * Description:N/A |
- | ==== FiltersCore ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Style --> | + | == Parameters == |
- | [[#Protected Properties|Go Back]] | + | <div newline></div> |
- | ===== Public Events ===== | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
- | __NOTOC__ | + | |
- | [[Category:MapSuitePortableCore]] | + | * //N/A// |
- | [[Category:ThinkGeo.MapSuite.PortableCore]] | + | == Remarks == |
- | [[Category:UpdateDocumentation]] | + | * //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.Core.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.Core.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.Core.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.Core.GeoPen|GeoPen]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} OuterPenDrawingLevel ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} InnerPenDrawingLevel ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} CenterPenDrawingLevel ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | |||
+ | ** {{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> | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Filters ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Collection<String> | ||
+ | |||
+ | ==== Protected Properties ==== | ||
+ | ** {{wiki:ProtectedProperty.gif|}} IsDefault ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:ProtectedProperty.gif|}} FiltersCore ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Collection<String> | ||
+ | |||
+ | ==== Public Events ==== | ||