ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
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.
*System.Object **ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
SetLineCap | GeoDashCap, GeoDashCap, GeoDashCap | This method allows you to set the start, end and dash caps at one time. | |
ToString | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
Brush | GeoBrush | This property gets and sets the brush for this GeoPen. | |
Color | GeoColor | This property gets and sets the GeoColor for this GeoPen. | |
DashCap | GeoDashCap | This property gets and sets the dash cap for this GeoPen. | |
DashPattern | Collection<Double> | This property gets and sets the dash pattern for this GeoPen. | |
EndCap | GeoDashCap | This property gets and sets the end cap for this GeoPen. | |
Id | Int64 | The id of the GeoBrush. This is always used as a key when in the cached brushes. | |
LineDashStyle | LineDashStyle | This property gets and sets the dash style for this GeoPen. | |
LineJoin | DrawingLineJoin | This property gets and sets the line join for this GeoPen. | |
MiterLimit | Double | This property gets and sets the miter limit for this GeoPen. | |
StartCap | GeoDashCap | This property gets and sets the start cap for this GeoPen. | |
Width | Double | This property gets and sets the width for this GeoPen. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This constructor creates a GeoPen.
This overload creates a GeoPen with its default values.
Name | Type | Description |
---|
This constructor creates a GeoPen.
This overload creates a GeoPen by specifying a GeoBrush.
Name | Type | Description |
---|---|---|
brush | GeoBrush<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –> | This parameter represents the brush that will be used to draw the line. |
This constructor creates a GeoPen.
This overload creates a GeoPen by specifying a GeoColor.
Name | Type | Description |
---|---|---|
color | GeoColor<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoColor –> | This parameter represents the color that will be used to draw the line. |
This constructor creates a GeoPen.
This overload creates a GeoPen by specifying a GeoColor and a line width.
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. |
This constructor creates a GeoPen.
This overload creates a GeoPen by specifying a GeoBrush and a line width.
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. |
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method allows you to set the start, end and dash caps at one time.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This property gets and sets the brush for this GeoPen.
Return Type |
---|
GeoBrush<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the GeoColor for this GeoPen.
Return Type |
---|
GeoColor<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoColor –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the dash cap for this GeoPen.
Return Type |
---|
GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the dash pattern for this GeoPen.
Return Type |
---|
Collection<Double><!– System.Collections.ObjectModel.Collection{System.Double} –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the end cap for this GeoPen.
Return Type |
---|
GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
The id of the GeoBrush. This is always used as a key when in the cached brushes.
Return Type |
---|
Int64<!– System.Int64 –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the dash style for this GeoPen.
Return Type |
---|
LineDashStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.LineDashStyle –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the line join for this GeoPen.
Return Type |
---|
DrawingLineJoin<!– ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLineJoin –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the miter limit for this GeoPen.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the start cap for this GeoPen.
Return Type |
---|
GeoDashCap<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoDashCap –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back
This property gets and sets the width for this GeoPen.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen –> Go Back