User Tools

Site Tools


thinkgeo.mapsuite.core.qualityfamilyareastyle

This is an old revision of the document!


ThinkGeo.MapSuite.Core.QualityFamilyAreaStyle

This class is used to draw area features.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.Style
      • ThinkGeo.MapSuite.Core.AreaStyle
        • ThinkGeo.MapSuite.Core.QualityFamilyAreaStyle

Members Summary

Public Constructors

QualityFamilyAreaStyle

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This is the constructor the for the class. If you use this constructor, then you need to set the required properties manually.

QualityFamilyAreaStyle

  • Parameters:GeoPen,GeoColor,Int32
  • DeclaringType:N/A
  • Summary:This is the constructor the for the class.

QualityFamilyAreaStyle

Protected Constructors

Public Methods

ClearCache

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method clears the cached style in the cache.

CloneDeep

  • Parameters:N/A
  • DeclaringType:Style
  • Summary:N/A

Draw

Draw

DrawSample

DrawSample

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetRequiredColumnNames

  • Parameters:N/A
  • DeclaringType:Style
  • Summary:N/A

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

SaveStyle

  • Parameters:String
  • DeclaringType:Style
  • Summary:N/A

SaveStyle

  • Parameters:Stream
  • DeclaringType:Style
  • Summary:N/A

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

CloneDeepCore

  • Parameters:N/A
  • DeclaringType:Style
  • Summary:N/A

DrawCore

DrawSampleCore

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetRequiredColumnNamesCore

  • Parameters:N/A
  • DeclaringType:Style
  • Summary:N/A

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Public Properties

Advanced

BaseColor

  • Return:GeoColor
  • Summary:This gets or sets the base color of the style.

Cache

  • Return:Dictionary<String,AreaStyle>
  • Summary:This gets the cached style in the class.

CustomAreaStyles

DrawingLevel

FillSolidBrush

Filters

  • Return:Collection<String>
  • Summary:N/A

IsActive

  • Return:Boolean
  • Summary:N/A

Name

  • Return:String
  • Summary:N/A

NumberOfColors

  • Return:Int32
  • Summary:This gets or sets the number of colors in the style.

OutlinePen

PenBrushDrawingOrder

RequiredColumnNames

  • Return:Collection<String>
  • Summary:N/A

XOffsetInPixel

  • Return:Single
  • Summary:N/A

YOffsetInPixel

  • Return:Single
  • Summary:N/A

Protected Properties

FiltersCore

  • Return:Collection<String>
  • Summary:N/A

uBs=

  • Return:Boolean
  • Summary:N/A

Public Events

Public Constructors

QualityFamilyAreaStyle()

This is the constructor the for the class. If you use this constructor, then you need to set the required properties manually.

Remarks

None

Parameters

QualityFamilyAreaStyle(GeoPen,GeoColor,Int32)

This is the constructor the for the class.

Remarks

None.

Parameters

outlinePen

  • Type:GeoPen
  • Description:This parameter represents the outline pen that will be used on the style. baseColor * Type:GeoColor * Description:This parameter represents the base color that will be used in the class.

numberOfColors

  • Type:Int32
  • Description:This prameter represents how many colors will be used in the style, based on the base color. Go Back === QualityFamilyAreaStyle(GeoPen,GeoColor,Int32,PenBrushDrawingOrder) === This is the constructor the for the class. ==== Remarks ==== None. ==== Parameters ==== outlinePen * Type:GeoPen * Description:This parameter represents the outline pen that will be used on the style.

baseColor

  • Type:GeoColor
  • Description:This parameter represents the base color that will be used in the class. numberOfColors * Type:Int32 * Description:This prameter represents how many colors will be used in the style, based on the base color.

penBrushDrawingOrder

  • Description:This parameter describes the PenBrushDrawingOrder that will be used when drawing the area type feature. Go Back ===== Protected Constructors ===== ===== Public Methods ===== === ClearCache() === This method clears the cached style in the cache. ==== Remarks ==== This method clears the cached style in the cache. Return Value * Return Type:Void * Description:None. ==== Parameters ==== Go Back === CloneDeep() === N/A ==== Remarks ==== N/A Return Value * Return Type:Style * Description:N/A ==== Parameters ==== 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<Feature> * Description:N/A canvas * Type:GeoCanvas * Description:N/A labelsInThisLayer * Type:Collection<SimpleCandidate> * Description:N/A labelsInAllLayers * Type:Collection<SimpleCandidate> * Description:N/A 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<BaseShape> * Description:N/A canvas * Type:GeoCanvas * Description:N/A labelsInThisLayer * Type:Collection<SimpleCandidate> * Description:N/A labelsInAllLayers * Type:Collection<SimpleCandidate> * Description:N/A Go Back === DrawSample(GeoCanvas,DrawingRectangleF) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== canvas * Type:GeoCanvas * Description:N/A drawingExtent * Type:DrawingRectangleF * Description:N/A Go Back === DrawSample(GeoCanvas) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== canvas * Type:GeoCanvas * Description:N/A Go Back === Equals(Object) === N/A ==== Remarks ==== N/A Return Value * Return Type:Boolean * Description:N/A ==== Parameters ==== obj * Type:Object * Description:N/A Go Back === GetHashCode() === N/A ==== Remarks ==== N/A Return Value * Return Type:Int32 * Description:N/A ==== Parameters ==== Go Back === GetRequiredColumnNames() === N/A ==== Remarks ==== N/A Return Value * Return Type:Collection<String> * Description:N/A ==== Parameters ==== Go Back === GetType() === N/A ==== Remarks ==== N/A Return Value * Return Type:Type * Description:N/A ==== Parameters ==== Go Back === SaveStyle(String) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== filePathName * Type:String * Description:N/A Go Back === SaveStyle(Stream) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== stream * Type:Stream * Description:N/A Go Back === ToString() === N/A ==== Remarks ==== N/A Return Value * Return Type:String * Description:N/A ==== Parameters ==== Go Back ===== Protected Methods ===== === CloneDeepCore() === N/A ==== Remarks ==== N/A Return Value * Return Type:Style * Description:N/A ==== Parameters ==== 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<Feature> * Description:This parameter represents the features you want to draw on the canvas. canvas * Type:GeoCanvas * Description:This parameter represents the canvas you want to draw the features on. labelsInThisLayer * Type:Collection<SimpleCandidate> * Description:The labels will be drawn in the current layer only. labelsInAllLayers * Type:Collection<SimpleCandidate> * Description:The labels will be drawn in all layers. Go Back === DrawSampleCore(GeoCanvas,DrawingRectangleF) === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== canvas * Type:GeoCanvas * Description:N/A drawingExtent * Type:DrawingRectangleF * Description:N/A Go Back === Finalize() === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== Go Back === GetRequiredColumnNamesCore() === N/A ==== Remarks ==== N/A Return Value * Return Type:Collection<String> * Description:N/A ==== Parameters ==== Go Back === MemberwiseClone() === N/A ==== Remarks ==== N/A Return Value * Return Type:Object * Description:N/A ==== Parameters ==== Go Back ===== Public Properties ===== === Advanced === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:AreaStyleAdvanced Go Back === BaseColor === This gets or sets the base color of the style. ==== Remarks ==== None. ==== Return Value ==== Return Type:GeoColor Go Back === Cache === 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 ==== Return Type:Dictionary<String,AreaStyle> Go Back === CustomAreaStyles === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Collection<AreaStyle> Go Back === DrawingLevel === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:DrawingLevel Go Back === FillSolidBrush === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:GeoSolidBrush Go Back === Filters === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Collection<String> Go Back === IsActive === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Boolean Go Back === Name === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:String Go Back === NumberOfColors === This gets or sets the number of colors in the style. ==== Remarks ==== None. ==== Return Value ==== Return Type:Int32 Go Back === OutlinePen === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:GeoPen Go Back === PenBrushDrawingOrder === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:PenBrushDrawingOrder Go Back === RequiredColumnNames === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Collection<String> Go Back === XOffsetInPixel === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Single Go Back === YOffsetInPixel === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Single Go Back ===== Protected Properties ===== === FiltersCore === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type:Collection<String> Go Back === uBs= === N/A ==== Remarks ==== N/A ==== Return Value ==== Return Type**:Boolean

Go Back

Public Events

thinkgeo.mapsuite.core.qualityfamilyareastyle.1442486278.txt.gz · Last modified: 2015/09/17 10:37 by admin