User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.geopen

ThinkGeo.MapSuite.SilverlightCore.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.

This class represents a GeoPen, which is used to draw lines on a GeoCanvas.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.SilverlightCore.GeoPen

Members Summary

Public Constructors

GeoPen()

  • This constructor creates a GeoPen.
Remarks
  • N/A
Parameters

GeoPen(GeoBrush)

  • This constructor creates a GeoPen.
Remarks
  • None
Parameters
  • brush
    • Type:GeoBrush
    • Description:This parameter represents the brush that will be used to draw the line.

GeoPen(GeoColor)

  • This constructor creates a GeoPen.
Remarks
  • None
Parameters
  • color
    • Type:GeoColor
    • Description:This parameter represents the color that will be used to draw the line.

GeoPen(GeoColor,Double)

  • This constructor creates a GeoPen.
Remarks
  • None
Parameters
  • color
    • Type:GeoColor
    • Description:This parameter represents the color that will be used to draw the line.
  • width
    • Type:Double
    • Description:This parameter represents the width of the line.

GeoPen(GeoBrush,Double)

  • This constructor creates a GeoPen.
Remarks
  • None
Parameters
  • brush
    • Type:GeoBrush
    • Description:This parameter represents the brush that will be used to draw the line.
  • width
    • Type:Double
    • Description:This parameter represents the width of the line.

Protected Constructors

Public Methods

SetLineCap(GeoDashCap,GeoDashCap,GeoDashCap)

  • This method allows you to set the start, end and dash caps at one time.
Remarks
  • None
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • startCap
    • Description:This parameter specifies the start cap to be used.
  • endCap
    • Description:This parameter specifies the end cap to be used.
  • dashCap
    • Description:This parameter specifies the dash cap to be used.

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

Brush

This property gets and sets the brush for this GeoPen.

Remarks

None

Return Value

Color

This property gets and sets the GeoColor for this GeoPen.

Remarks

N/A

Return Value

DashCap

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

Remarks

None

Return Value

DashPattern

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

Remarks

None

Return Value
  • Type:Collection<Double>

LineDashStyle

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

Remarks

None

Return Value

EndCap

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

Remarks

None

Return Value

LineJoin

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

Remarks

None

Return Value

MiterLimit

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

Remarks

None

Return Value
  • Type:Double

StartCap

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

Remarks

None

Return Value

Width

This property gets and sets the width for this GeoPen.

Remarks

None

Return Value
  • Type:Double

Id

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

Remarks

N/A

Return Value
  • Type:Int64

Protected Properties

Public Events

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