User Tools

Site Tools


12.0:apis:thinkgeo.core.huefamilyareastyle

ThinkGeo.Core.HueFamilyAreaStyle

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Core.Style
      • ThinkGeo.Core.AreaStyle
        • ThinkGeo.Core.HueFamilyAreaStyle

Members Summary

Public Constructors

HueFamilyAreaStyle()

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

HueFamilyAreaStyle(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.

HueFamilyAreaStyle(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.

Protected Constructors

Public Methods

ClearCache()

  • N/A
Remarks
  • This method clears the cached style in the cache.
Return Value
  • Type:Void
  • Description:None.
Parameters

CloneDeep()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Style
  • Description:N/A
Parameters

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

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • features
    • Type:IEnumerable<Feature>
    • Description:N/A

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

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • shapes
    • Type:IEnumerable<BaseShape>
    • Description:N/A

GetRequiredColumnNames()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<String>
  • Description:N/A
Parameters

DrawSample(GeoCanvas,DrawingRectangleF)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawSample(GeoCanvas)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

SaveStyle(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • filePathName
    • Type:String
    • Description:N/A

SaveStyle(Stream)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • stream
    • Type:Stream
    • Description:N/A

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

Protected Methods

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

  • N/A
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:Void
  • Description:None
Parameters
  • features
    • Type:IEnumerable<Feature>
    • Description:This parameter represents the features you want to draw on the view.
  • canvas
    • Type:GeoCanvas
    • Description:This parameter represents the view 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.

DrawSampleCore(GeoCanvas,DrawingRectangleF)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloneDeepCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Style
  • Description:N/A
Parameters

GetRequiredColumnNamesCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<String>
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Public Properties

NumberOfColors

  • N/A
Remarks
  • None.
Return Value
  • Type:Int32

Cache

  • N/A
Remarks
  • This gets the cached style in the class. The key of the style in the cache is feature.Id & feature.GetHashCode().
Return Value

BaseColor

  • N/A
Remarks
  • None.
Return Value

XOffsetInPixel

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

YOffsetInPixel

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

FillBrush

  • N/A
Remarks
  • N/A
Return Value

CustomAreaStyles

  • N/A
Remarks
  • N/A
Return Value

OutlinePen

  • N/A
Remarks
  • N/A
Return Value

PenBrushDrawingOrder

  • N/A
Remarks
  • N/A
Return Value

DrawingLevel

  • N/A
Remarks
  • N/A
Return Value

Name

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

IsActive

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

RequiredColumnNames

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<String>

Filters

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<String>

Protected Properties

Shadow

  • N/A
Remarks
  • N/A
Return Value

IsDefault

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

FiltersCore

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<String>

Public Events

12.0/apis/thinkgeo.core.huefamilyareastyle.txt · Last modified: 2019/09/26 09:42 (external edit)