Table of Contents

ThinkGeo.MapSuite.Core.LineStyle

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class is the style used to draw lines.

Inheritance Hierarchy

Members Summary

Public Constructors

LineStyle()

Remarks
Parameters

LineStyle(GeoPen)

Remarks
Parameters

LineStyle(GeoPen,GeoPen)

Remarks
Parameters

LineStyle(GeoPen,GeoPen,GeoPen)

Remarks
Parameters

Protected Constructors

Public Methods

CloneDeep()

Remarks
Return Value
Parameters

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

Remarks
Return Value
Parameters

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

Remarks
Return Value
Parameters

GetRequiredColumnNames()

Remarks
Return Value
Parameters

DrawSample(GeoCanvas,DrawingRectangleF)

Remarks
Return Value
Parameters

DrawSample(GeoCanvas)

Remarks
Return Value
Parameters

SaveStyle(String)

Remarks
Return Value
Parameters

SaveStyle(Stream)

Remarks
Return Value
Parameters

ToString()

Remarks
Return Value
Parameters

Equals(Object)

Remarks
Return Value
Parameters

GetHashCode()

Remarks
Return Value
Parameters

GetType()

Remarks
Return Value
Parameters

Protected Methods

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

Remarks
Return Value
Parameters

DrawSampleCore(GeoCanvas,DrawingRectangleF)

Remarks
Return Value
Parameters

CloneDeepCore()

Remarks
Return Value
Parameters

GetRequiredColumnNamesCore()

Remarks
Return Value
Parameters

Finalize()

Remarks
Return Value
Parameters

MemberwiseClone()

Remarks
Return Value
Parameters

Public Properties

XOffsetInPixel

This property gets and sets the X pixel offset for drawing each feature.

Remarks

This property allows you to specify an X offset. When combined with a Y offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data.

Return Value

YOffsetInPixel

This property gets and sets the Y pixel offset for drawing each feature.

Remarks

This property allows you to specify an Y offset. When combined with an X offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data.

Return Value

CustomLineStyles

This property returns a collection of line styles, allowing you to stack multiple line styles on top of each other.

Remarks

Using this collection, you can stack multiple styles on top of each other. When we draw the feature, we will draw them in order that they exist in the collection. You can use these stacks to create drop shadow effects, multiple colored outlines, etc.

Return Value

OuterPen

This property gets and sets the outer pen for the line.

Remarks

You can set an inner, outer and center pen to give you a nice effect. The outer pen draws first, and should typically be black and larger then the inner pen. The inner pen draws next, and should be set as the color of the road you want. It should be thinner than the outer pen. The center pen draws last, and is used to represent a centerline in the road. We suggest that you only use the center pen for highways at low zoom level, as the dashed pen has some performance penalties.

Return Value

InnerPen

This property gets and sets the inner pen for the line.

Remarks

You can set an inner, outer and center pen to give you a nice effect. The outer pen draws first, and should typically be black and larger then the inner pen. The inner pen draws next, and should be set as the color of the road you want. It should be thinner than the outer pen. The center pen draws last, and is used to represent a centerline in the road. We suggest that you only use the center pen for highways at low zoom level, as the dashed pen has some performance penalties.

Return Value

CenterPen

This property gets and sets the center pen for the line.

Remarks

You can set an inner, outer and center pen to give you a nice effect. The outer pen draws first, and should typically be black and larger then the inner pen. The inner pen draws next, and should be set as the color of the road you want. It should be thinner than the outer pen. The center pen draws last, and is used to represent a centerline in the road. We suggest that you only use the center pen for highways at low zoom level, as the dashed pen has some performance penalties.

Return Value

OuterPenDrawingLevel

N/A

Remarks

N/A

Return Value

InnerPenDrawingLevel

N/A

Remarks

N/A

Return Value

CenterPenDrawingLevel

N/A

Remarks

N/A

Return Value

Name

N/A

Remarks

N/A

Return Value

IsActive

N/A

Remarks

N/A

Return Value

RequiredColumnNames

N/A

Remarks

N/A

Return Value

Filters

N/A

Remarks

N/A

Return Value

Protected Properties

IsDefault

N/A

Remarks

N/A

Return Value

FiltersCore

N/A

Remarks

N/A

Return Value

Public Events