ThinkGeo.UI.Wpf.DrawingVisualGeoCanvas
Inheritance Hierarchy
Members Summary
Public Constructors
DrawingVisualGeoCanvas()
Parameters
Protected Constructors
Public Methods
Clear(GeoBrush)
Return Value
Type:Void
Description:N/A
Parameters
DrawArc(GeoPen,DrawingRectangleF,Single,Single,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
startAngle
Type:Single
Description:N/A
sweepAngle
Type:Single
Description:N/A
DrawArc(GeoPen,Single,Single,Single,Single,Single,Single,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
x
Type:Single
Description:N/A
y
Type:Single
Description:N/A
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
startAngle
Type:Single
Description:N/A
sweepAngle
Type:Single
Description:N/A
DrawArea(Feature,GeoPen,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawArea(AreaBaseShape,GeoPen,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawArea(Feature,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawArea(AreaBaseShape,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Return Value
Type:Void
Description:N/A
Parameters
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Return Value
Type:Void
Description:N/A
Parameters
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawArea(IEnumerable<ScreenPointF[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Return Value
Type:Void
Description:N/A
Parameters
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawLine(Feature,GeoPen,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawLine(LineBaseShape,GeoPen,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
DrawLine(Feature,GeoPen,DrawingLevel,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawLine(LineBaseShape,GeoPen,DrawingLevel,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawLine(IEnumerable<ScreenPointF>,GeoPen,DrawingLevel,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawEllipse(Feature,Single,Single,GeoPen,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
DrawEllipse(PointBaseShape,Single,Single,GeoPen,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
DrawEllipse(Feature,Single,Single,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
DrawEllipse(PointBaseShape,Single,Single,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawEllipse(ScreenPointF,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Return Value
Type:Void
Description:N/A
Parameters
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
centerXInWorld
Type:Double
Description:N/A
centerYInWorld
Type:Double
Description:N/A
DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel,Single,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
centerXInWorld
Type:Double
Description:N/A
centerYInWorld
Type:Double
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
rotateAngle
Type:Single
Description:N/A
DrawScreenImageWithoutScaling(GeoImage,Single,Single,DrawingLevel,Single,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
centerXInScreen
Type:Single
Description:N/A
centerYInScreen
Type:Single
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
rotateAngle
Type:Single
Description:N/A
DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
centerXInWorld
Type:Double
Description:N/A
centerYInWorld
Type:Double
Description:N/A
widthInScreen
Type:Single
Description:N/A
heightInScreen
Type:Single
Description:N/A
DrawWorldImage(GeoImage,Double,Double,Double,DrawingLevel,Single,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
centerXInWorld
Type:Double
Description:N/A
centerYInWorld
Type:Double
Description:N/A
imageScale
Type:Double
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
rotateAngle
Type:Single
Description:N/A
DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel,Single,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
centerXInWorld
Type:Double
Description:N/A
centerYInWorld
Type:Double
Description:N/A
widthInScreen
Type:Single
Description:N/A
heightInScreen
Type:Single
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
rotateAngle
Type:Single
Description:N/A
DrawScreenImage(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single)
Return Value
Type:Void
Description:N/A
Parameters
centerXInScreen
Type:Single
Description:N/A
centerYInScreen
Type:Single
Description:N/A
widthInScreen
Type:Single
Description:N/A
heightInScreen
Type:Single
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
rotateAngle
Type:Single
Description:N/A
DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,Single,Single,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
text
Type:String
Description:N/A
upperLeftXInScreen
Type:Single
Description:N/A
upperLeftYInScreen
Type:Single
Description:N/A
DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,GeoPen,Single,Single,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
text
Type:String
Description:N/A
upperLeftXInScreen
Type:Single
Description:N/A
upperLeftYInScreen
Type:Single
Description:N/A
DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,Double,Double,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
text
Type:String
Description:N/A
upperLeftXInWorld
Type:Double
Description:N/A
upperLeftYInWorld
Type:Double
Description:N/A
DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,GeoPen,Double,Double,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
text
Type:String
Description:N/A
upperLeftXInWorld
Type:Double
Description:N/A
upperLeftYInWorld
Type:Double
Description:N/A
DrawText(String,GeoFont,GeoBrush,IEnumerable<ScreenPointF>,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
text
Type:String
Description:N/A
DrawText(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,DrawingTextAlignment)
Return Value
Type:Void
Description:N/A
Parameters
text
Type:String
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
DrawText(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,DrawingTextAlignment,Single)
Return Value
Type:Void
Description:N/A
Parameters
text
Type:String
Description:N/A
xOffset
Type:Single
Description:N/A
yOffset
Type:Single
Description:N/A
rotateAngle
Type:Single
Description:N/A
MeasureText(String,GeoFont)
Return Value
Parameters
text
Type:String
Description:N/A
BeginDrawing(Object,RectangleShape,GeographyUnit)
Return Value
Type:Void
Description:N/A
Parameters
geoImage
Type:Object
Description:N/A
EndDrawing()
Return Value
Type:Void
Description:N/A
Parameters
Flush()
Return Value
Type:Void
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
Protected Methods
BeginDrawingCore(Object,RectangleShape,GeographyUnit)
Return Value
Type:Void
Description:N/A
Parameters
nativeImage
Type:Object
Description:N/A
EndDrawingCore()
Return Value
Type:Void
Description:N/A
Parameters
DrawAreaCore(IEnumerable<ScreenPointF[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
Return Value
Type:Void
Description:N/A
Parameters
DrawLineCore(IEnumerable<ScreenPointF>,GeoPen,DrawingLevel,Single,Single)
This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.
Return Value
Type:Void
Description:N/A
Parameters
DrawEllipseCore(ScreenPointF,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Return Value
Type:Void
Description:N/A
Parameters
DrawScreenImageWithoutScalingCore(GeoImage,Single,Single,DrawingLevel,Single,Single,Single)
Drawing an image unscaled is faster than using the API that scales it.
Return Value
Type:Void
Description:N/A
Parameters
DrawScreenImageCore(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single)
Drawing an image scaled is slower than using the API that draws it unscaled.
Return Value
Type:Void
Description:N/A
Parameters
DrawTextCore(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,DrawingTextAlignment,Single)
This method is used to draw text on the GeoCanvas.The DrawingLevel allows you to specify the level you will draw on when drawing multiple text items. This is very useful when you want to draw a drop shadow, for example. You can draw the black backdrop on the lowest level with an offset, then draw the normal text on a higher level without an offset.
Return Value
Type:Void
Description:N/A
Parameters
MeasureTextCore(String,GeoFont)
Return Value
Parameters
GetCanvasWidthCore()
Return Value
Parameters
GetCanvasHeightCore()
Return Value
Parameters
FlushCore()
This method should be called when you are finished drawing. It will commit the image changes to the image you passed in on BeginDrawing. It will also set IsDrawing to false. After you call this method it will put the GeoCanvas into an invalid state, so if you then call any drawing methods it will raise an exception.
Return Value
Type:Void
Description:N/A
Parameters
DrawArcCore(GeoPen,Single,Single,Single,Single,Single,Single,DrawingLevel)
Return Value
Type:Void
Description:N/A
Parameters
x
Type:Single
Description:N/A
y
Type:Single
Description:N/A
width
Type:Single
Description:N/A
height
Type:Single
Description:N/A
startAngle
Type:Single
Description:N/A
sweepAngle
Type:Single
Description:N/A
OnDrawingProgressChanged(DrawingProgressChangedEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
ToWorldCoordinate(DrawingRectangleF)
Return Value
Parameters
ClearCore(GeoBrush)
Return Value
Type:Void
Description:N/A
Parameters
GetCanvasWidth()
Return Value
Type:Single
Description:N/A
Parameters
GetCanvasHeight()
Return Value
Type:Single
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
Public Properties
Dpi
Return Value
CurrentScale
Return Value
FontDisplayDensity
Return Value
DrawingQuality
Return Value
MapUnit
Return Value
Width
Return Value
Height
Return Value
CurrentWorldExtent
Return Value
SupportKeyColor
Return Value
KeyColors
Return Value
NativeImage
Return Value
IsDrawing
Return Value
ScaleFactor
Return Value
Protected Properties
Public Events
DrawingProgressChanged