Skip to content

GeoPen

Inheritance Hierarchy

  • Object
  • GeoPen

Members Summary

Public Constructors Summary

Name
GeoPen()
GeoPen(GeoBrush)
GeoPen(GeoColor)
GeoPen(GeoColor,Single)
GeoPen(GeoBrush,Single)

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
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<Single> This property gets the dash pattern for this GeoPen.
DashStyle LineDashStyle This property gets and sets the dash style for this GeoPen.
EndCap DrawingLineCap 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.
LineJoin DrawingLineJoin This property gets and sets the line join for this GeoPen.
MiterLimit Single This property gets and sets the miter limit for this GeoPen.
StartCap DrawingLineCap This property gets and sets the start cap for this GeoPen.
Width Single This property gets and sets the width for this GeoPen.

Protected Properties Summary

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

Public Methods Summary

Name
CloneDeep()
Equals(Object)
GetHashCode()
GetType()
SetLineCap(DrawingLineCap,DrawingLineCap,GeoDashCap)
ToString()

Protected Methods Summary

Name
CloneDeepCore()
Finalize()
MemberwiseClone()

Public Events Summary

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

Members Detail

Public Constructors

Name
GeoPen()
GeoPen(GeoBrush)
GeoPen(GeoColor)
GeoPen(GeoColor,Single)
GeoPen(GeoBrush,Single)

Protected Constructors

Public Properties

Brush

Summary

This property gets and sets the brush for this GeoPen.

Remarks

None

Return Value

GeoBrush


Color

Summary

This property gets and sets the GeoColor for this GeoPen.

Remarks

N/A

Return Value

GeoColor


DashCap

Summary

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

Remarks

None

Return Value

GeoDashCap


DashPattern

Summary

This property gets the dash pattern for this GeoPen.

Remarks

Assigning a value other than null (Nothing in Visual Basic) to this property will set the DashStyle property for this GeoPen to Custom. The elements in the dashArray array set the length of each dash and space in the dash pattern. The first element sets the length of a dash, the second element sets the length of a space, the third element sets the length of a dash, and so on. The length of each dash and space in the dash pattern is the product of the element value in the array and the width of the GeoPen.

Return Value

Collection<Single>


DashStyle

Summary

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

Remarks

None

Return Value

LineDashStyle


EndCap

Summary

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

Remarks

None

Return Value

DrawingLineCap


Id

Summary

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

Remarks

N/A

Return Value

Int64


LineJoin

Summary

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

Remarks

None

Return Value

DrawingLineJoin


MiterLimit

Summary

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

Remarks

None

Return Value

Single


StartCap

Summary

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

Remarks

None

Return Value

DrawingLineCap


Width

Summary

This property gets and sets the width for this GeoPen.

Remarks

None

Return Value

Single


Protected Properties

Public Methods

CloneDeep()

Summary

Create a copy of GeoPen using the deep clone process.

Remarks

The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.

Return Value

Type Description
GeoPen A cloned GeoPen.

Parameters

Name Type Description
N/A N/A 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

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

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

SetLineCap(DrawingLineCap,DrawingLineCap,GeoDashCap)

Summary

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

Remarks

None

Return Value

Type Description
Void N/A

Parameters

Name Type Description
startCap DrawingLineCap This parameter specifies the start cap to be used.
endCap DrawingLineCap This parameter specifies the end cap to be used.
dashCap GeoDashCap This parameter specifies the dash cap to be used.

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

Create a copy of GeoPen using the deep clone process. The default implementation uses serialization.

Remarks

The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.

Return Value

Type Description
GeoPen A cloned GeoPen.

Parameters

Name Type Description
N/A N/A 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

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

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

Public Events