User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.geopen

ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen

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.

<!– Class –> This class represents a GeoPen, which is used to draw lines on a GeoCanvas.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGeoPen This constructor creates a GeoPen.
Public MethodGeoPen GeoBrush This constructor creates a GeoPen.
Public MethodGeoPen GeoColor This constructor creates a GeoPen.
Public MethodGeoPen GeoColor, Double This constructor creates a GeoPen.
Public MethodGeoPen GeoBrush, Double This constructor creates a GeoPen.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodSetLineCap GeoDashCap, GeoDashCap, GeoDashCap This method allows you to set the start, end and dash caps at one time.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyBrush GeoBrush This property gets and sets the brush for this GeoPen.
Public PropertyColor GeoColor This property gets and sets the GeoColor for this GeoPen.
Public PropertyDashCap GeoDashCap This property gets and sets the dash cap for this GeoPen.
Public PropertyDashPattern Collection<Double> This property gets and sets the dash pattern for this GeoPen.
Public PropertyEndCap GeoDashCap This property gets and sets the end cap for this GeoPen.
Public PropertyId Int64 The id of the GeoBrush. This is always used as a key when in the cached brushes.
Public PropertyLineDashStyle LineDashStyle This property gets and sets the dash style for this GeoPen.
Public PropertyLineJoin DrawingLineJoin This property gets and sets the line join for this GeoPen.
Public PropertyMiterLimit Double This property gets and sets the miter limit for this GeoPen.
Public PropertyStartCap GeoDashCap This property gets and sets the start cap for this GeoPen.
Public PropertyWidth Double This property gets and sets the width for this GeoPen.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GeoPen()

This constructor creates a GeoPen.

Overloads

This overload creates a GeoPen with its default values.

Parameters

Name Type Description

Go Back

GeoPen(GeoBrush)

This constructor creates a GeoPen.

Overloads

This overload creates a GeoPen by specifying a GeoBrush.

Parameters

Name Type Description
brush GeoBrush<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –> This parameter represents the brush that will be used to draw the line.

Go Back

GeoPen(GeoColor)

This constructor creates a GeoPen.

Overloads

This overload creates a GeoPen by specifying a GeoColor.

Parameters

Name Type Description
color GeoColor<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoColor –> This parameter represents the color that will be used to draw the line.

Go Back

GeoPen(GeoColor, Double)

This constructor creates a GeoPen.

Overloads

This overload creates a GeoPen by specifying a GeoColor and a line width.

Parameters

Name Type Description
color GeoColor<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoColor –> This parameter represents the color that will be used to draw the line.
width Double<!– System.Double –> This parameter represents the width of the line.

Go Back

GeoPen(GeoBrush, Double)

This constructor creates a GeoPen.

Overloads

This overload creates a GeoPen by specifying a GeoBrush and a line width.

Parameters

Name Type Description
brush GeoBrush<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –> This parameter represents the brush that will be used to draw the line.
width Double<!– System.Double –> This parameter represents the width of the line.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

SetLineCap(GeoDashCap, GeoDashCap, GeoDashCap)

This method allows you to set the start, end and dash caps at one time.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
startCap GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –> This parameter specifies the start cap to be used.
endCap GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –> This parameter specifies the end cap to be used.
dashCap GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –> This parameter specifies the dash cap to be used.

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Brush

This property gets and sets the brush for this GeoPen.

Return Value

Return Type
GeoBrush<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

Color

This property gets and sets the GeoColor for this GeoPen.

Return Value

Return Type
GeoColor<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoColor –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

DashCap

This property gets and sets the dash cap for this GeoPen.

Return Value

Return Type
GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

DashPattern

This property gets and sets the dash pattern for this GeoPen.

Return Value

Return Type
Collection<Double><!– System.Collections.ObjectModel.Collection{System.Double} –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

EndCap

This property gets and sets the end cap for this GeoPen.

Return Value

Return Type
GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

Id

The id of the GeoBrush. This is always used as a key when in the cached brushes.

Return Value

Return Type
Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

LineDashStyle

This property gets and sets the dash style for this GeoPen.

Return Value

Return Type
LineDashStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.LineDashStyle –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

LineJoin

This property gets and sets the line join for this GeoPen.

Return Value

Return Type
DrawingLineJoin<!– ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLineJoin –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

MiterLimit

This property gets and sets the miter limit for this GeoPen.

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

StartCap

This property gets and sets the start cap for this GeoPen.

Return Value

Return Type
GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

Width

This property gets and sets the width for this GeoPen.

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.windowsphonecore.geopen.txt · Last modified: 2017/03/16 21:59 (external edit)