Skip to content

QualityFamilyAreaStyle

Inheritance Hierarchy

Members Summary

Public Constructors Summary

Name
QualityFamilyAreaStyle()
QualityFamilyAreaStyle(GeoPen,GeoColor,Int32)
QualityFamilyAreaStyle(GeoPen,GeoColor,Int32,PenBrushDrawingOrder)

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
BaseColor GeoColor This gets or sets the base color of the style.
Cache Dictionary<String,AreaStyle> This gets the cached style in the class.
CustomAreaStyles Collection<AreaStyle> N/A
DrawingLevel DrawingLevel N/A
FillBrush GeoBrush N/A
Filters Collection<String> N/A
IsActive Boolean N/A
Name String N/A
NumberOfColors Int32 This gets or sets the number of colors in the style.
OutlinePen GeoPen N/A
PenBrushDrawingOrder PenBrushDrawingOrder N/A
RequiredColumnNames Collection<String> N/A
XOffsetInPixel Single N/A
YOffsetInPixel Single N/A

Protected Properties Summary

Name Return Type Description
FiltersCore Collection<String> N/A
IsDefault Boolean N/A
Shadow AreaStyle N/A

Public Methods Summary

Name
ClearCache()
CloneDeep()
Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
DrawSample(GeoCanvas,DrawingRectangleF)
DrawSample(GeoCanvas)
Equals(Object)
GetHashCode()
GetRequiredColumnNames()
GetType()
SaveStyle(String)
SaveStyle(Stream)
ToString()

Protected Methods Summary

Name
CloneDeepCore()
DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
DrawSampleCore(GeoCanvas,DrawingRectangleF)
Finalize()
GetRequiredColumnNamesCore()
MemberwiseClone()

Public Events Summary

Name Event Arguments Description
N/A N/A N/A

Members Detail

Public Constructors

Name
QualityFamilyAreaStyle()
QualityFamilyAreaStyle(GeoPen,GeoColor,Int32)
QualityFamilyAreaStyle(GeoPen,GeoColor,Int32,PenBrushDrawingOrder)

Protected Constructors

Public Properties

BaseColor

Summary

This gets or sets the base color of the style.

Remarks

None.

Return Value

GeoColor


Cache

Summary

This gets the cached style in the class.

Remarks

This gets the cached style in the class. The key of the style in the cache is feature.Id & feature.GetHashCode().

Return Value

Dictionary<String,AreaStyle>


CustomAreaStyles

Summary

N/A

Remarks

N/A

Return Value

Collection<AreaStyle>


DrawingLevel

Summary

N/A

Remarks

N/A

Return Value

DrawingLevel


FillBrush

Summary

N/A

Remarks

N/A

Return Value

GeoBrush


Filters

Summary

N/A

Remarks

N/A

Return Value

Collection<String>


IsActive

Summary

N/A

Remarks

N/A

Return Value

Boolean


Name

Summary

N/A

Remarks

N/A

Return Value

String


NumberOfColors

Summary

This gets or sets the number of colors in the style.

Remarks

None.

Return Value

Int32


OutlinePen

Summary

N/A

Remarks

N/A

Return Value

GeoPen


PenBrushDrawingOrder

Summary

N/A

Remarks

N/A

Return Value

PenBrushDrawingOrder


RequiredColumnNames

Summary

N/A

Remarks

N/A

Return Value

Collection<String>


XOffsetInPixel

Summary

N/A

Remarks

N/A

Return Value

Single


YOffsetInPixel

Summary

N/A

Remarks

N/A

Return Value

Single


Protected Properties

FiltersCore

Summary

N/A

Remarks

N/A

Return Value

Collection<String>


IsDefault

Summary

N/A

Remarks

N/A

Return Value

Boolean


Shadow

Summary

N/A

Remarks

N/A

Return Value

AreaStyle


Public Methods

ClearCache()

Summary

This method clears the cached style in the cache.

Remarks

This method clears the cached style in the cache.

Return Value

Type Description
Void None.

Parameters

Name Type Description
N/A N/A N/A

CloneDeep()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Style N/A

Parameters

Name Type Description
N/A N/A N/A

Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
features IEnumerable<Feature> N/A
canvas GeoCanvas N/A
labelsInThisLayer Collection<SimpleCandidate> N/A
labelsInAllLayers Collection<SimpleCandidate> N/A

Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
shapes IEnumerable<BaseShape> N/A
canvas GeoCanvas N/A
labelsInThisLayer Collection<SimpleCandidate> N/A
labelsInAllLayers Collection<SimpleCandidate> N/A

DrawSample(GeoCanvas,DrawingRectangleF)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
drawingExtent DrawingRectangleF N/A

DrawSample(GeoCanvas)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A

Equals(Object)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
obj Object N/A

GetHashCode()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetRequiredColumnNames()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
N/A N/A N/A

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

Name Type Description
N/A N/A N/A

SaveStyle(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
filePathName String N/A

SaveStyle(Stream)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
stream Stream N/A

ToString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

Protected Methods

CloneDeepCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Style N/A

Parameters

Name Type Description
N/A N/A N/A

DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)

Summary

This method draws the features on the view 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 view 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 Description
Void None

Parameters

Name Type Description
features IEnumerable<Feature> This parameter represents the features you want to draw on the view.
canvas GeoCanvas This parameter represents the view you want to draw the features on.
labelsInThisLayer Collection<SimpleCandidate> The labels will be drawn in the current layer only.
labelsInAllLayers Collection<SimpleCandidate> The labels will be drawn in all layers.

DrawSampleCore(GeoCanvas,DrawingRectangleF)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
drawingExtent DrawingRectangleF N/A

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

GetRequiredColumnNamesCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
N/A N/A N/A

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

Name Type Description
N/A N/A N/A

Public Events