Skip to content

PointStyle

Inheritance Hierarchy

Members Summary

Public Constructors Summary

Name
PointStyle()
PointStyle(GeoImage)
PointStyle(GeoFont,String,GeoBrush)
PointStyle(GeoFont,String,GeoBrush,GeoPen)
PointStyle(PointSymbolType,Int32,GeoBrush)
PointStyle(PointSymbolType,Int32,GeoBrush,GeoPen)

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
CustomPointStyles Collection<PointBaseStyle> N/A
DrawingLevel DrawingLevel N/A
FillBrush GeoBrush N/A
Filters Collection<String> N/A
GlyphContent String This property gets and sets the content of the character you want to use from the font you selected in the CharacterFont property.
GlyphFont GeoFont This property gets and sets the font that is used for the character if the PointType is Glyph.
Image GeoImage This property gets and sets the image used if the PointType property is Image.
ImageScale Double This property gets and sets the scale of the image you want to draw.
IsActive Boolean N/A
Mask AreaStyle N/A
MaskMargin DrawingMargin N/A
MaskType MaskType N/A
Name String N/A
OutlinePen GeoPen N/A
PointType PointType This property gets and sets the type of point you want to draw.
RequiredColumnNames Collection<String> N/A
RotationAngle Single N/A
SymbolSize Single N/A
SymbolType PointSymbolType This property gets and sets the type of symbol you want to use if the PointType is Symbol.
XOffsetInPixel Single N/A
YOffsetInPixel Single N/A

Protected Properties Summary

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

Public Methods Summary

Name
CloneDeep()
CreateCompoundCircleStyle(GeoColor,Single,GeoColor,Single,GeoColor,Single)
CreateCompoundCircleStyle(GeoColor,Single,GeoColor,Single,GeoColor,Single,GeoColor,Single)
CreateCompoundPointStyle(PointSymbolType,GeoColor,GeoColor,Single,Single,PointSymbolType,GeoColor,GeoColor,Single,Single)
CreateSimpleCircleStyle(GeoColor,Single)
CreateSimpleCircleStyle(GeoColor,Single,GeoColor,Single)
CreateSimpleCircleStyle(GeoColor,Single,GeoColor)
CreateSimplePointStyle(PointSymbolType,GeoColor,Single)
CreateSimplePointStyle(PointSymbolType,GeoColor,GeoColor,Single,Single)
CreateSimplePointStyle(PointSymbolType,GeoColor,GeoColor,Single)
CreateSimpleSquareStyle(GeoColor,Single)
CreateSimpleSquareStyle(GeoColor,Single,GeoColor)
CreateSimpleSquareStyle(GeoColor,Single,GeoColor,Single)
CreateSimpleStarStyle(GeoColor,Single)
CreateSimpleStarStyle(GeoColor,Single,GeoColor)
CreateSimpleStarStyle(GeoColor,Single,GeoColor,Single)
CreateSimpleTriangleStyle(GeoColor,Single)
CreateSimpleTriangleStyle(GeoColor,Single,GeoColor)
CreateSimpleTriangleStyle(GeoColor,Single,GeoColor,Single)
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()
Parse(String)
SaveStyle(String)
SaveStyle(Stream)
ToString()

Protected Methods Summary

Name
CloneDeepCore()
DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
DrawGlyph(GeoFont,String,Feature,GeoCanvas,GeoBrush,GeoPen,Single,Single)
DrawImage(GeoImage,Feature,GeoCanvas,Single,Single)
DrawSampleCore(GeoCanvas,DrawingRectangleF)
DrawSymbol(PointSymbolType,Feature,GeoCanvas,GeoBrush,GeoPen,Single,Single)
Finalize()
GetRequiredColumnNamesCore()
MemberwiseClone()
Parse(JObject)

Public Events Summary

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

Members Detail

Public Constructors

Name
PointStyle()
PointStyle(GeoImage)
PointStyle(GeoFont,String,GeoBrush)
PointStyle(GeoFont,String,GeoBrush,GeoPen)
PointStyle(PointSymbolType,Int32,GeoBrush)
PointStyle(PointSymbolType,Int32,GeoBrush,GeoPen)

Protected Constructors

Public Properties

CustomPointStyles

Summary

N/A

Remarks

N/A

Return Value

Collection<PointBaseStyle>


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>


GlyphContent

Summary

This property gets and sets the content of the character you want to use from the font you selected in the CharacterFont property.

Remarks

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

String


GlyphFont

Summary

This property gets and sets the font that is used for the character if the PointType is Glyph.

Remarks

This property allows you to set the font from which to select a character index if you choose the Glyph PointType.

Return Value

GeoFont


Image

Summary

This property gets and sets the image used if the PointType property is Image.

Remarks

This property is where you can set the image for the points if the PointType is Image. It uses a NativeImage, so you can either reference a file or supply a stream.

Return Value

GeoImage


ImageScale

Summary

This property gets and sets the scale of the image you want to draw.

Remarks

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

Double


IsActive

Summary

N/A

Remarks

N/A

Return Value

Boolean


Mask

Summary

N/A

Remarks

N/A

Return Value

AreaStyle


MaskMargin

Summary

N/A

Remarks

N/A

Return Value

DrawingMargin


MaskType

Summary

N/A

Remarks

N/A

Return Value

MaskType


Name

Summary

N/A

Remarks

N/A

Return Value

String


OutlinePen

Summary

N/A

Remarks

N/A

Return Value

GeoPen


PointType

Summary

This property gets and sets the type of point you want to draw.

Remarks

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

PointType


RequiredColumnNames

Summary

N/A

Remarks

N/A

Return Value

Collection<String>


RotationAngle

Summary

N/A

Remarks

N/A

Return Value

Single


SymbolSize

Summary

N/A

Remarks

N/A

Return Value

Single


SymbolType

Summary

This property gets and sets the type of symbol you want to use if the PointType is Symbol.

Remarks

You can choose between a number of predefined symbols. The symbols are simple geometric objects that are typically used for abstract representations on a map. If there is a specific symbol you need that is not part of our symbol collection, you can submit it to us and we will consider adding it.

Return Value

PointSymbolType


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


Public Methods

CloneDeep()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Style N/A

Parameters

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

CreateCompoundCircleStyle(GeoColor,Single,GeoColor,Single,GeoColor,Single)

Summary

Static API to create a compound circle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor1 GeoColor This parameter determines the outer circle's PointStyle fill color.
size1 Single This parameter determines the outer circle's PointStyle size.
outlineColor1 GeoColor This parameter determines the outer circle's PointStyle outline color.
outlineWidth1 Single This parameter determines the outer circle's PointStyle outline width.
fillColor2 GeoColor This parameter determines the inner circle's PointStyle fill color.
size2 Single This parameter determines the inner circle's PointStyle size.

CreateCompoundCircleStyle(GeoColor,Single,GeoColor,Single,GeoColor,Single,GeoColor,Single)

Summary

Static API to create a compound circle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor1 GeoColor This parameter determines the outer circle's PointStyle fill color.
size1 Single This parameter determines the outer circle's PointStyle size.
outlineColor1 GeoColor This parameter determines the outer circle's PointStyle outline color.
outlineWidth1 Single This parameter determines the outer circle's PointStyle outline width.
fillColor2 GeoColor This parameter determines the inner circle's PointStyle fill color.
size2 Single This parameter determines the inner circle's PointStyle size.
outlineColor2 GeoColor This parameter determines the inner circle's PointStyle outline color.
outlineWidth2 Single This parameter determines the inner circle's PointStyle outline width.

CreateCompoundPointStyle(PointSymbolType,GeoColor,GeoColor,Single,Single,PointSymbolType,GeoColor,GeoColor,Single,Single)

Summary

Static API to create a compound circle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
pointStyle1 PointSymbolType This parameter determines the outer circle's pointstyle symbol type.
fillColor1 GeoColor This parameter determines the outer circle's PointStyle fill color.
outlineColor1 GeoColor This parameter determines the outer circle's PointStyle outline color.
outlineWidth1 Single This parameter determines the outer circle's PointStyle outline width.
size1 Single This parameter determines the outer circle's PointStyle size.
pointStyle2 PointSymbolType This parameter determines the inner circle's pointstyle symbol type.
fillColor2 GeoColor This parameter determines the inner circle's PointStyle fill color.
outlineColor2 GeoColor This parameter determines the inner circle's PointStyle outline color.
outlineWidth2 Single This parameter determines the inner circle's PointStyle outline width.
size2 Single This parameter determines the inner circle PointStyle size.

CreateSimpleCircleStyle(GeoColor,Single)

Summary

Static API to create a circle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.

CreateSimpleCircleStyle(GeoColor,Single,GeoColor,Single)

Summary

Static API to create a circle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.
outlineWidth Single This parameter determines the PointStyle outline width.

CreateSimpleCircleStyle(GeoColor,Single,GeoColor)

Summary

Static API to create a circle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.

CreateSimplePointStyle(PointSymbolType,GeoColor,Single)

Summary

Static API to create a point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
pointStyle PointSymbolType This parameter determines the PointStyle symbol type.
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.

CreateSimplePointStyle(PointSymbolType,GeoColor,GeoColor,Single,Single)

Summary

Static API to create a point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
pointStyle PointSymbolType This parameter determines the PointStyle symbol type.
fillColor GeoColor This parameter determines the PointStyle fill color.
outlineColor GeoColor This parameter determines the PointStyle outline color.
outlineWidth Single This parameter determines the PointStyle outline width.
size Single This parameter determines the PointStyle size.

CreateSimplePointStyle(PointSymbolType,GeoColor,GeoColor,Single)

Summary

Static API to create a point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
pointStyle PointSymbolType This parameter determines the PointStyle symbol type.
fillColor GeoColor This parameter determines the PointStyle fill color.
outlineColor GeoColor This parameter determines the PointStyle outline color.
size Single This parameter determines the PointStyle size.

CreateSimpleSquareStyle(GeoColor,Single)

Summary

Static API to create a square point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.

CreateSimpleSquareStyle(GeoColor,Single,GeoColor)

Summary

Static API to create a square point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.

CreateSimpleSquareStyle(GeoColor,Single,GeoColor,Single)

Summary

Static API to create a square point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.
outlineWidth Single This parameter determines the PointStyle outline width.

CreateSimpleStarStyle(GeoColor,Single)

Summary

Static API to create a star point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.

CreateSimpleStarStyle(GeoColor,Single,GeoColor)

Summary

Static API to create a star point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.

CreateSimpleStarStyle(GeoColor,Single,GeoColor,Single)

Summary

Static API to create a star point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.
outlineWidth Single This parameter determines the PointStyle outline width.

CreateSimpleTriangleStyle(GeoColor,Single)

Summary

Static API to create a triangle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.

CreateSimpleTriangleStyle(GeoColor,Single,GeoColor)

Summary

Static API to create a triangle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.

CreateSimpleTriangleStyle(GeoColor,Single,GeoColor,Single)

Summary

Static API to create a triangle point style.

Remarks

N/A

Return Value

Type Description
PointStyle The created point style.

Parameters

Name Type Description
fillColor GeoColor This parameter determines the PointStyle fill color.
size Single This parameter determines the PointStyle size.
outlineColor GeoColor This parameter determines the PointStyle outline color.
outlineWidth Single This parameter determines the PointStyle outline width.

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

Parse(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
PointStyle N/A

Parameters

Name Type Description
styleJson String 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.

DrawGlyph(GeoFont,String,Feature,GeoCanvas,GeoBrush,GeoPen,Single,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
glyphFont GeoFont N/A
glyphConent String N/A
pointFeature Feature N/A
canvas GeoCanvas N/A
geoBrush GeoBrush N/A
geoPen GeoPen N/A
symbolSize Single N/A
rotationAngle Single N/A

DrawImage(GeoImage,Feature,GeoCanvas,Single,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
geoImage GeoImage N/A
feature Feature N/A
canvas GeoCanvas N/A
symbolSize Single N/A
rotationAngle Single N/A

DrawSampleCore(GeoCanvas,DrawingRectangleF)

Summary

This method draws a sample feature on the view you provided.

Remarks

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 Description
Void None

Parameters

Name Type Description
canvas GeoCanvas This parameter represents the view you want to draw the features on.
drawingExtent DrawingRectangleF N/A

DrawSymbol(PointSymbolType,Feature,GeoCanvas,GeoBrush,GeoPen,Single,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
symbolType PointSymbolType N/A
feature Feature N/A
canvas GeoCanvas N/A
geoBrush GeoBrush N/A
geoPen GeoPen N/A
symbolSize Single N/A
rotationAngle Single 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

Parse(JObject)

Summary

N/A

Remarks

N/A

Return Value

Type Description
PointStyle N/A

Parameters

Name Type Description
jObject JObject N/A

Public Events