User Tools

Site Tools


12.0:apis:thinkgeo.core.geopen

ThinkGeo.Core.GeoPen

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Core.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,Single)

  • 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:Single
    • Description:This parameter represents the width of the line.

GeoPen(GeoBrush,Single)

  • 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:Single
    • Description:This parameter represents the width of the line.

Protected Constructors

Public Methods

SetLineCap(DrawingLineCap,DrawingLineCap,GeoDashCap)

  • N/A
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.

CloneDeep()

  • N/A
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:GeoPen
  • Description:A cloned GeoPen.
Parameters

GetType()

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

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

Protected Methods

CloneDeepCore()

  • N/A
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:GeoPen
  • Description:A cloned GeoPen.
Parameters

MemberwiseClone()

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

Finalize()

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

Public Properties

Brush

  • N/A
Remarks
  • None
Return Value

Color

  • N/A
Remarks
  • N/A
Return Value

DashCap

  • N/A
Remarks
  • None
Return Value

DashPattern

  • N/A
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
  • Type:Collection<Single>

DashStyle

  • N/A
Remarks
  • None
Return Value

EndCap

  • N/A
Remarks
  • None
Return Value

LineJoin

  • N/A
Remarks
  • None
Return Value

MiterLimit

  • N/A
Remarks
  • None
Return Value
  • Type:Single

StartCap

  • N/A
Remarks
  • None
Return Value

Width

  • N/A
Remarks
  • None
Return Value
  • Type:Single

Id

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int64

Protected Properties

Public Events

12.0/apis/thinkgeo.core.geopen.txt · Last modified: 2019/09/26 09:32 (external edit)