ThinkGeo.MapSuite.Styles.AreaStyle
Inheritance Hierarchy
Members Summary
Public Constructors
AreaStyle()
Parameters
AreaStyle(GeoSolidBrush)
Parameters
AreaStyle(GeoPen)
Parameters
AreaStyle(GeoPen,GeoSolidBrush)
Parameters
AreaStyle(GeoPen,GeoSolidBrush,PenBrushDrawingOrder)
Parameters
Protected Constructors
Public Methods
CloneDeep()
Return Value
Parameters
Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
GetRequiredColumnNames()
Return Value
Type:Collection<String>
Description:N/A
Parameters
DrawSample(GeoCanvas,DrawingRectangleF)
Return Value
Type:Void
Description:N/A
Parameters
DrawSample(GeoCanvas)
Return Value
Type:Void
Description:N/A
Parameters
SaveStyle(String)
Return Value
Type:Void
Description:N/A
Parameters
filePathName
Type:String
Description:N/A
SaveStyle(Stream)
Return Value
Type:Void
Description:N/A
Parameters
stream
Type:Stream
Description:N/A
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
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
Type:Void
Description:None
Parameters
DrawSampleCore(GeoCanvas,DrawingRectangleF)
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
Type:Void
Description:None
Parameters
CloneDeepCore()
Return Value
Parameters
GetRequiredColumnNamesCore()
Return Value
Type:Collection<String>
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
XOffsetInPixel
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
YOffsetInPixel
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
FillSolidBrush
Return Value
CustomAreaStyles
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
OutlinePen
Return Value
PenBrushDrawingOrder
Return Value
Advanced
Return Value
DrawingLevel
Return Value
IsDefault
Return Value
Name
Return Value
StyleClass
Return Value
IsActive
Return Value
RequiredColumnNames
Return Value
Filters
Return Value
Protected Properties
FiltersCore
Return Value
Public Events