This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.areastyle [2015/09/17 10:25] admin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.Core.AreaStyle ====== | ||
- | This class is used to draw area features. | ||
- | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | ||
- | *ThinkGeo.MapSuite.Core.Style | ||
- | ***ThinkGeo.MapSuite.Core.AreaStyle** | ||
- | *[[ThinkGeo.MapSuite.Core.HueFamilyAreaStyle]] | ||
- | *[[ThinkGeo.MapSuite.Core.QualityFamilyAreaStyle]] | ||
- | ===== Members Summary ===== | ||
- | === Public Constructors === | ||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#AreaStyle()|AreaStyle]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is the constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#AreaStyle(GeoSolidBrush)|AreaStyle]]** | ||
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is the constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#AreaStyle(GeoPen)|AreaStyle]]** | ||
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is the constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#AreaStyle(GeoPen,GeoSolidBrush)|AreaStyle]]** | ||
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]],[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is the constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#AreaStyle(GeoPen,GeoSolidBrush,PenBrushDrawingOrder)|AreaStyle]]** | ||
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]],[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]],[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is the constructor for the class. | ||
- | </div> | ||
- | |||
- | === Protected Constructors === | ||
- | === Public Methods === | ||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#CloneDeep()|CloneDeep]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|Draw]]** | ||
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|Draw]]** | ||
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#DrawSample(GeoCanvas,DrawingRectangleF)|DrawSample]]** | ||
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#DrawSample(GeoCanvas)|DrawSample]]** | ||
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | ||
- | * **Parameters**:Object | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#GetRequiredColumnNames()|GetRequiredColumnNames]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#SaveStyle(String)|SaveStyle]]** | ||
- | * **Parameters**:String | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#SaveStyle(Stream)|SaveStyle]]** | ||
- | * **Parameters**:Stream | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | === Protected Methods === | ||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#CloneDeepCore()|CloneDeepCore]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|DrawCore]]** | ||
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This method draws the features on the canvas you provided. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#DrawSampleCore(GeoCanvas,DrawingRectangleF)|DrawSampleCore]]** | ||
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This method draws a sample feature on the canvas you provided. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#GetRequiredColumnNamesCore()|GetRequiredColumnNamesCore]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | === Public Properties === | ||
- | **{{wiki:PublicProperty.gif|}}[[#Advanced|Advanced]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.AreaStyleAdvanced|AreaStyleAdvanced]] | ||
- | * **Summary**:This property lets you access the advanced properties of the style. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#CustomAreaStyles|CustomAreaStyles]]** | ||
- | * **Return**:Collection<[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]]> | ||
- | * **Summary**:This property returns a collection of area styles, allowing you to stack multiple area styles on top of each other. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#DrawingLevel|DrawingLevel]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
- | * **Summary**:N/A | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#FillSolidBrush|FillSolidBrush]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | ||
- | * **Summary**:This property gets and sets the solid brush you want to use to fill in the area features. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#Filters|Filters]]** | ||
- | * **Return**:Collection<String> | ||
- | * **Summary**:N/A | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#IsActive|IsActive]]** | ||
- | * **Return**:Boolean | ||
- | * **Summary**:N/A | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#Name|Name]]** | ||
- | * **Return**:String | ||
- | * **Summary**:N/A | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#OutlinePen|OutlinePen]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
- | * **Summary**:This property gets and sets the outline pen you want to use to outline the features. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#PenBrushDrawingOrder|PenBrushDrawingOrder]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
- | * **Summary**:This property gets and sets the pen and brush drawing order. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#RequiredColumnNames|RequiredColumnNames]]** | ||
- | * **Return**:Collection<String> | ||
- | * **Summary**:N/A | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#XOffsetInPixel|XOffsetInPixel]]** | ||
- | * **Return**:Single | ||
- | * **Summary**:This property gets and sets the X pixel offset for drawing each feature. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#YOffsetInPixel|YOffsetInPixel]]** | ||
- | * **Return**:Single | ||
- | * **Summary**:This property gets and sets the Y pixel offset for drawing each feature. | ||
- | |||
- | === Protected Properties === | ||
- | **{{wiki:ProtectedProperty.gif|}}[[#FiltersCore|FiltersCore]]** | ||
- | * **Return**:Collection<String> | ||
- | * **Summary**:N/A | ||
- | |||
- | **{{wiki:ProtectedProperty.gif|}}[[#uBs=|uBs=]]** | ||
- | * **Return**:Boolean | ||
- | * **Summary**:N/A | ||
- | |||
- | === Public Events === | ||
- | ===== Public Constructors ===== | ||
- | === AreaStyle() === | ||
- | This is the constructor for the class. | ||
- | ==== Remarks ==== | ||
- | If you use this constructor, you will need to set the properties of the fill brush and outline pen manually. | ||
- | ==== Parameters ==== | ||
- | [[#Public Constructors|Go Back]] | ||
- | === AreaStyle(GeoSolidBrush) === | ||
- | This is the constructor for the class. | ||
- | ==== Remarks ==== | ||
- | This constructor allows you to specify just a fill brush. In this way, the area you draw will not have an outline. | ||
- | ==== Parameters ==== | ||
- | **fillSolidBrush** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | ||
- | * **Description:This parameter is the solid brush you want to fill the area with. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | === AreaStyle(GeoPen) === | ||
- | This is the constructor for the class. | ||
- | ==== Remarks ==== | ||
- | This constructor allows you to specify just an outline pen. In this way, the area you draw will have an outline, but a transparent interior (no fill). | ||
- | ==== Parameters ==== | ||
- | **outlinePen** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
- | * **Description:This parameter is the outline pen you want to use to outline the area. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | === AreaStyle(GeoPen,GeoSolidBrush) === | ||
- | This is the constructor for the class. | ||
- | ==== Remarks ==== | ||
- | This constructor allows you to specify a fill brush and an outline pen. | ||
- | ==== Parameters ==== | ||
- | **outlinePen** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
- | * **Description:This parameter is the outline pen you want to use to outline the area. | ||
- | |||
- | **fillSolidBrush** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | ||
- | * **Description:This parameter is the solid brush you wish to fill the area with. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | === AreaStyle(GeoPen,GeoSolidBrush,PenBrushDrawingOrder) === | ||
- | This is the constructor for the class. | ||
- | ==== Remarks ==== | ||
- | This constructor allows you to specify a fill brush and an outline pen. It also allows you to specify which is drawn first. If the pen is drawn first, the outline will be thinner than if the pen is drawn last. The effect is subtle but noticeable. | ||
- | ==== Parameters ==== | ||
- | **outlinePen** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
- | * **Description:This parameter is the outline pen you want to use to outline the area. | ||
- | |||
- | **fillSolidBrush** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | ||
- | * **Description:This parameter is the solid brush you wish to fill the area with. | ||
- | |||
- | **penBrushDrawingOrder** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
- | * **Description:This parameter allows you to choose whether the outline pen or the fill brush is drawn first. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | ===== Protected Constructors ===== | ||
- | ===== Public Methods ===== | ||
- | === CloneDeep() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **features** | ||
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | ||
- | * **Description**:N/A | ||
- | |||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:N/A | ||
- | |||
- | **labelsInThisLayer** | ||
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **Description**:N/A | ||
- | |||
- | **labelsInAllLayers** | ||
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **shapes** | ||
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]> | ||
- | * **Description**:N/A | ||
- | |||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:N/A | ||
- | |||
- | **labelsInThisLayer** | ||
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **Description**:N/A | ||
- | |||
- | **labelsInAllLayers** | ||
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === DrawSample(GeoCanvas,DrawingRectangleF) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:N/A | ||
- | |||
- | **drawingExtent** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === DrawSample(GeoCanvas) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === Equals(Object) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Boolean | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **obj** | ||
- | * **Type**:Object | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === GetHashCode() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Int32 | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === GetRequiredColumnNames() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Collection<String> | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === GetType() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Type | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === SaveStyle(String) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **filePathName** | ||
- | * **Type**:String | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === SaveStyle(Stream) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **stream** | ||
- | * **Type**:Stream | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === ToString() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:String | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | ===== Protected Methods ===== | ||
- | === CloneDeepCore() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Style|Style]] | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | === 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. | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:None | ||
- | |||
- | ==== Parameters ==== | ||
- | **features** | ||
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | ||
- | * **Description**:This parameter represents the features you want to draw on the canvas. | ||
- | |||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:This parameter represents the canvas you want to draw the features on. | ||
- | |||
- | **labelsInThisLayer** | ||
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **Description**:The labels will be drawn in the current layer only. | ||
- | |||
- | **labelsInAllLayers** | ||
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
- | * **Description**:The labels will be drawn in all layers. | ||
- | |||
- | [[#Protected Methods|Go Back]] | ||
- | === DrawSampleCore(GeoCanvas,DrawingRectangleF) === | ||
- | 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. | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:None | ||
- | |||
- | ==== Parameters ==== | ||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:This parameter represents the canvas you want to draw the features on. | ||
- | |||
- | **drawingExtent** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Protected Methods|Go Back]] | ||
- | === Finalize() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | === GetRequiredColumnNamesCore() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Collection<String> | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | === MemberwiseClone() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Object | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | === Advanced === | ||
- | This property lets you access the advanced properties of the style. | ||
- | ==== Remarks ==== | ||
- | This property lets you access the advanced properties of the style. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.AreaStyleAdvanced|AreaStyleAdvanced]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === CustomAreaStyles === | ||
- | This property returns a collection of area styles, allowing you to stack multiple area styles on top of each other. | ||
- | ==== Remarks ==== | ||
- | Using this collection, you can stack multiple area styles on top of each other. When we draw the features, 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.Core.AreaStyle|AreaStyle]]> | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === DrawingLevel === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === FillSolidBrush === | ||
- | This property gets and sets the solid brush you want to use to fill in the area features. | ||
- | ==== Remarks ==== | ||
- | This solid brush is used to fill in the area features that will draw. You can also optionally specify an outline pen to give the area an outline. The default solid brush has a fill color of transparent, which means it will not draw anything. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === Filters === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Collection<String> | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === IsActive === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Boolean | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === Name === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Return Value ==== | ||
- | **Return Type**:String | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === OutlinePen === | ||
- | This property gets and sets the outline pen you want to use to outline the features. | ||
- | ==== Remarks ==== | ||
- | This outline pen is used to outline the features that will draw. You can also optionally specify a fill brush to give the area a solid fill. The default outline pen color is transparent, which means it will not draw anything. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === PenBrushDrawingOrder === | ||
- | This property gets and sets the pen and brush drawing order. | ||
- | ==== Remarks ==== | ||
- | This property controls whether the outline pen or the fill brush is drawn first. The default is for the fill brush to be drawn first. If you have the outline pen draw first then the thickness of the pen will be smaller, creating a subtle but noticeable effect. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === RequiredColumnNames === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Collection<String> | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === 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 enables 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 align it with raster satellite data. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Single | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === YOffsetInPixel === | ||
- | This property gets and sets the Y pixel offset for drawing each feature. | ||
- | ==== Remarks ==== | ||
- | This property allows you to specify a Y offset. When combined with an X offset, it enables 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 align it with raster satellite data. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Single | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | ===== Protected Properties ===== | ||
- | === FiltersCore === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Collection<String> | ||
- | |||
- | [[#Protected Properties|Go Back]] | ||
- | === uBs= === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Boolean | ||
- | |||
- | [[#Protected Properties|Go Back]] | ||
- | ===== Public Events ===== | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.