ThinkGeo.Core.PointStyle
Inheritance Hierarchy
Members Summary
Public Constructors
PointStyle()
If you use this constructor, you should set the various properties manually. Specifically, you will want to set the PointType, which allows you to choose between bitmap, character and symbol as an option for displaying your points.
Parameters
PointStyle(GeoImage)
Parameters
PointStyle(GeoFont,String,GeoBrush)
Parameters
glyphContent
Type:String
Description:N/A
PointStyle(PointSymbolType,Int32,GeoBrush)
Parameters
PointStyle(PointSymbolType,Int32,GeoBrush,GeoPen)
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
GetType()
Return Value
Type:Type
Description:N/A
Parameters
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
Parse(String)
Return Value
Parameters
styleJson
Type:String
Description:N/A
CreateSimplePointStyle(PointSymbolType,GeoColor,Single)
Return Value
Parameters
CreateSimplePointStyle(PointSymbolType,GeoColor,GeoColor,Single,Single)
Return Value
Parameters
CreateSimplePointStyle(PointSymbolType,GeoColor,GeoColor,Single)
Return Value
Parameters
CreateSimpleCircleStyle(GeoColor,Single)
Return Value
Parameters
CreateSimpleCircleStyle(GeoColor,Single,GeoColor,Single)
Return Value
Parameters
CreateSimpleCircleStyle(GeoColor,Single,GeoColor)
Return Value
Parameters
CreateSimpleSquareStyle(GeoColor,Single)
Return Value
Parameters
CreateSimpleSquareStyle(GeoColor,Single,GeoColor)
Return Value
Parameters
CreateSimpleSquareStyle(GeoColor,Single,GeoColor,Single)
Return Value
Parameters
CreateSimpleStarStyle(GeoColor,Single)
Return Value
Parameters
CreateSimpleStarStyle(GeoColor,Single,GeoColor)
Return Value
Parameters
CreateSimpleStarStyle(GeoColor,Single,GeoColor,Single)
Return Value
Parameters
CreateSimpleTriangleStyle(GeoColor,Single)
Return Value
Parameters
CreateSimpleTriangleStyle(GeoColor,Single,GeoColor)
Return Value
Parameters
CreateSimpleTriangleStyle(GeoColor,Single,GeoColor,Single)
Return Value
Parameters
CreateCompoundCircleStyle(GeoColor,Single,GeoColor,Single,GeoColor,Single)
Return Value
Parameters
CreateCompoundCircleStyle(GeoColor,Single,GeoColor,Single,GeoColor,Single,GeoColor,Single)
Return Value
Parameters
CreateCompoundPointStyle(PointSymbolType,GeoColor,GeoColor,Single,Single,PointSymbolType,GeoColor,GeoColor,Single,Single)
Return Value
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 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
DrawSampleCore(GeoCanvas,DrawingRectangleF)
This virtual method is called from the concrete public method Draw. In this method, we draw a sample style on the view you provided. This is typically used to display a legend or other sample area. When implementing this virtual method, consider the view 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
GetTextSize(GeoCanvas)
Return Value
Parameters
CloneDeepCore()
Return Value
Parameters
GetRequiredColumnNamesCore()
Return Value
Type:Collection<String>
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
Parse(JObject)
Return Value
Parameters
Public Properties
PointType
When using the PointStyle you choose between a bitmap, a font or a predefined symbol to represent the point. Each of these options has corresponding properties on the point symbol. If you set the type to character, then you need to set the properties that start with “Glyph,” such as “CharacterFont.” The same is true for the symbol.
Return Value
Image
Return Value
ImageScale
This property allows you to scale the image up and down depending on how large or small you want it. It can be changed dynamically, so you could change it at every scale level to resize the bitmap based on the current scale. A scale of 1 would be the original size, while a scale of 2 would double the size. A scale of .5 would reduce the size of the image by half, and so on.
Return Value
GlyphFont
Return Value
GlyphContent
You need to specify the content of the character you want to use from the font you selected. For example, if you choose 1, then we will use the first character in the font you set in the CharacterFont property.
Return Value
SymbolType
Return Value
Mask
Return Value
MaskMargin
Return Value
MaskType
Return Value
DrawingLevel
Return Value
FillBrush
Return Value
OutlinePen
Return Value
SymbolSize
Return Value
RotationAngle
Return Value
XOffsetInPixel
Return Value
YOffsetInPixel
Return Value
CustomPointStyles
Return Value
Name
Return Value
IsActive
Return Value
RequiredColumnNames
Return Value
Filters
Return Value
Protected Properties
IsDefault
Return Value
FiltersCore
Return Value
Public Events