This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.geocanvas [2015/09/21 01:03] admin |
thinkgeo.mapsuite.core.geocanvas [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.GeoCanvas ====== | ====== ThinkGeo.MapSuite.Core.GeoCanvas ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This class represents a canvas that is used to draw geographic shapes. It is intended to be inherited for the implementation of different drawing systems, such as GDI+ or WPF. | This class represents a canvas that is used to draw geographic shapes. It is intended to be inherited for the implementation of different drawing systems, such as GDI+ or WPF. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 5: | Line 8: | ||
***ThinkGeo.MapSuite.Core.GeoCanvas** | ***ThinkGeo.MapSuite.Core.GeoCanvas** | ||
*[[ThinkGeo.MapSuite.Core.KmlGeoCanvas]] | *[[ThinkGeo.MapSuite.Core.KmlGeoCanvas]] | ||
+ | *[[ThinkGeo.MapSuite.Core.PrinterGeoCanvas]] | ||
+ | *[[ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas]] | ||
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
Line 10: | Line 15: | ||
** {{wiki:ProtectedMethod.gif|}} GeoCanvas() ** | ** {{wiki:ProtectedMethod.gif|}} GeoCanvas() ** | ||
- | This method is the default constructor for the GeoCanvas. | + | * //This method is the default constructor for the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | None | + | * //None// |
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
Line 18: | Line 23: | ||
** {{wiki:PublicMethod.gif|}} CloneDeep() ** | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** | ||
- | Create a copy of GeoCanvas using the deep clone process. | + | * //Create a copy of GeoCanvas using the deep clone process.// |
== Remarks == | == 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. | + | * //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 == | == Return Value == | ||
Line 30: | Line 35: | ||
** {{wiki:PublicMethod.gif|}} Clear(GeoBrush) ** | ** {{wiki:PublicMethod.gif|}} Clear(GeoBrush) ** | ||
- | This method clears the current GeoCanvas using the color specified. | + | * //This method clears the current GeoCanvas using the color specified.// |
== Remarks == | == Remarks == | ||
- | Use this method to clear the GeoCanvas. | + | * //Use this method to clear the GeoCanvas.// |
== Return Value == | == Return Value == | ||
Line 46: | Line 51: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,DrawingLevel) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 70: | Line 75: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,DrawingLevel) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 94: | Line 99: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoBrush,DrawingLevel) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 118: | Line 123: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoBrush,DrawingLevel) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 142: | Line 147: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 170: | Line 175: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 198: | Line 203: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 238: | Line 243: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 278: | Line 283: | ||
** {{wiki:PublicMethod.gif|}} DrawArea(IEnumerable<ScreenPointF[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:PublicMethod.gif|}} DrawArea(IEnumerable<ScreenPointF[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 318: | Line 323: | ||
** {{wiki:PublicMethod.gif|}} DrawLine(Feature,GeoPen,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawLine(Feature,GeoPen,DrawingLevel) ** | ||
- | Draws a line on the GeoCanvas. | + | * //Draws a line on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 342: | Line 347: | ||
** {{wiki:PublicMethod.gif|}} DrawLine(LineBaseShape,GeoPen,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawLine(LineBaseShape,GeoPen,DrawingLevel) ** | ||
- | Draws a line on the GeoCanvas. | + | * //Draws a line on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 366: | Line 371: | ||
** {{wiki:PublicMethod.gif|}} DrawLine(Feature,GeoPen,DrawingLevel,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawLine(Feature,GeoPen,DrawingLevel,Single,Single) ** | ||
- | Draws a line on the GeoCanvas. | + | * //Draws a line on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 398: | Line 403: | ||
** {{wiki:PublicMethod.gif|}} DrawLine(LineBaseShape,GeoPen,DrawingLevel,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawLine(LineBaseShape,GeoPen,DrawingLevel,Single,Single) ** | ||
- | Draws a line on the GeoCanvas. | + | * //Draws a line on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 430: | Line 435: | ||
** {{wiki:PublicMethod.gif|}} DrawLine(IEnumerable<ScreenPointF>,GeoPen,DrawingLevel,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawLine(IEnumerable<ScreenPointF>,GeoPen,DrawingLevel,Single,Single) ** | ||
- | Draws the LineShape on the GeoCanvas. | + | * //Draws the LineShape on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 462: | Line 467: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,DrawingLevel) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 494: | Line 499: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,DrawingLevel) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 526: | Line 531: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoBrush,DrawingLevel) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 558: | Line 563: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoBrush,DrawingLevel) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 590: | Line 595: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 626: | Line 631: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 662: | Line 667: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 710: | Line 715: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 758: | Line 763: | ||
** {{wiki:PublicMethod.gif|}} DrawEllipse(ScreenPointF,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:PublicMethod.gif|}} DrawEllipse(ScreenPointF,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 806: | Line 811: | ||
** {{wiki:PublicMethod.gif|}} DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel) ** | ||
- | Draws an unscaled image on the GeoCanvas. | + | * //Draws an unscaled image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn. | + | * //Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn.// |
== Return Value == | == Return Value == | ||
Line 834: | Line 839: | ||
** {{wiki:PublicMethod.gif|}} DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel,Single,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel,Single,Single,Single) ** | ||
- | Draws an unscaled image on the GeoCanvas. | + | * //Draws an unscaled image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn. | + | * //Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn.// |
== Return Value == | == Return Value == | ||
Line 874: | Line 879: | ||
** {{wiki:PublicMethod.gif|}} DrawScreenImageWithoutScaling(GeoImage,Single,Single,DrawingLevel,Single,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawScreenImageWithoutScaling(GeoImage,Single,Single,DrawingLevel,Single,Single,Single) ** | ||
- | Draws an unscaled image on the GeoCanvas. | + | * //Draws an unscaled image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn. | + | * //Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn.// |
== Return Value == | == Return Value == | ||
Line 914: | Line 919: | ||
** {{wiki:PublicMethod.gif|}} DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel) ** | ||
- | Draws a scaled image on the GeoCanvas. | + | * //Draws a scaled image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image scaled is slower than using the API that draws it unscaled. | + | * //Drawing an image scaled is slower than using the API that draws it unscaled.// |
== Return Value == | == Return Value == | ||
Line 950: | Line 955: | ||
** {{wiki:PublicMethod.gif|}} DrawWorldImage(GeoImage,Double,Double,Double,DrawingLevel,Single,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawWorldImage(GeoImage,Double,Double,Double,DrawingLevel,Single,Single,Single) ** | ||
- | Draws a world image on the GeoCanvas. | + | * //Draws a world image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image scaled is slower than using the API that draws it unscaled. | + | * //Drawing an image scaled is slower than using the API that draws it unscaled.// |
== Return Value == | == Return Value == | ||
Line 994: | Line 999: | ||
** {{wiki:PublicMethod.gif|}} DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel,Single,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel,Single,Single,Single) ** | ||
- | Draws a world image on the GeoCanvas. | + | * //Draws a world image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image scaled is slower than using the API that draws it unscaled. | + | * //Drawing an image scaled is slower than using the API that draws it unscaled.// |
== Return Value == | == Return Value == | ||
Line 1042: | Line 1047: | ||
** {{wiki:PublicMethod.gif|}} DrawScreenImage(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawScreenImage(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single) ** | ||
- | Draws a screen image on the GeoCanvas. | + | * //Draws a screen image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image scaled is slower than using the API that draws it unscaled. | + | * //Drawing an image scaled is slower than using the API that draws it unscaled.// |
== Return Value == | == Return Value == | ||
Line 1090: | Line 1095: | ||
** {{wiki:PublicMethod.gif|}} DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,Single,Single,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,Single,Single,DrawingLevel) ** | ||
- | This method allows you to draw text at the specified location, using the specified brush and font parameters. | + | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc.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. | + | * //This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc.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 == | == Return Value == | ||
Line 1126: | Line 1131: | ||
** {{wiki:PublicMethod.gif|}} DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,GeoPen,Single,Single,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,GeoPen,Single,Single,DrawingLevel) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1166: | Line 1171: | ||
** {{wiki:PublicMethod.gif|}} DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,Double,Double,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,Double,Double,DrawingLevel) ** | ||
- | This method allows you to draw text at the specified location, using the specified brush and font parameters. | + | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc.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. | + | * //This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc.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 == | == Return Value == | ||
Line 1202: | Line 1207: | ||
** {{wiki:PublicMethod.gif|}} DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,GeoPen,Double,Double,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,GeoPen,Double,Double,DrawingLevel) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1242: | Line 1247: | ||
** {{wiki:PublicMethod.gif|}} DrawText(String,GeoFont,GeoBrush,IEnumerable<ScreenPointF>,DrawingLevel) ** | ** {{wiki:PublicMethod.gif|}} DrawText(String,GeoFont,GeoBrush,IEnumerable<ScreenPointF>,DrawingLevel) ** | ||
- | This method allows you to draw text at the specified location, using the specified brush and font parameters. | + | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1274: | Line 1279: | ||
** {{wiki:PublicMethod.gif|}} DrawText(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,Single) ** | ** {{wiki:PublicMethod.gif|}} DrawText(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,Single) ** | ||
- | This method allows you to draw text at the specified location, using the specified brush and font parameters. | + | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1322: | Line 1327: | ||
** {{wiki:PublicMethod.gif|}} MeasureText(String,GeoFont) ** | ** {{wiki:PublicMethod.gif|}} MeasureText(String,GeoFont) ** | ||
- | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | + | * //This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.// |
== Remarks == | == Remarks == | ||
- | This method is typically used for labeling, to determine whether labels overlap. | + | * //This method is typically used for labeling, to determine whether labels overlap.// |
== Return Value == | == Return Value == | ||
Line 1342: | Line 1347: | ||
** {{wiki:PublicMethod.gif|}} BeginDrawing(Object,RectangleShape,GeographyUnit) ** | ** {{wiki:PublicMethod.gif|}} BeginDrawing(Object,RectangleShape,GeographyUnit) ** | ||
- | This method begins the act of drawing on the GeoCanvas. | + | * //This method begins the act of drawing on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This is the first method that needs to be called before any drawing takes place. Calling this method will set the IsDrawing property to true. When you finish drawing, you must call EndDrawing to commit the changes to the image. | + | * //This is the first method that needs to be called before any drawing takes place. Calling this method will set the IsDrawing property to true. When you finish drawing, you must call EndDrawing to commit the changes to the image.// |
== Return Value == | == Return Value == | ||
Line 1366: | Line 1371: | ||
** {{wiki:PublicMethod.gif|}} ToNativeImage(GeoImage) ** | ** {{wiki:PublicMethod.gif|}} ToNativeImage(GeoImage) ** | ||
- | This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a NativeImage. | + | * //This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be implemented and used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1382: | Line 1387: | ||
** {{wiki:PublicMethod.gif|}} ToGeoImage(Object) ** | ** {{wiki:PublicMethod.gif|}} ToGeoImage(Object) ** | ||
- | This method converts an oboject to a GeoImage. In GdiPlus, this object is often a NativeImage. | + | * //This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be implemented and used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1398: | Line 1403: | ||
** {{wiki:PublicMethod.gif|}} EndDrawing() ** | ** {{wiki:PublicMethod.gif|}} EndDrawing() ** | ||
- | This method ends drawing and commits the drawing on the GeoCanvas. | + | * //This method ends drawing and commits the drawing on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 1410: | Line 1415: | ||
** {{wiki:PublicMethod.gif|}} GetStreamFromGeoImage(GeoImage) ** | ** {{wiki:PublicMethod.gif|}} GetStreamFromGeoImage(GeoImage) ** | ||
- | Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class. | + | * //Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1426: | Line 1431: | ||
** {{wiki:PublicMethod.gif|}} Flush() ** | ** {{wiki:PublicMethod.gif|}} Flush() ** | ||
- | This method flush drawing and commits the drawing on the GeoCanvas. | + | * //This method flush drawing and commits the drawing on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 1438: | Line 1443: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1450: | Line 1455: | ||
** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1466: | Line 1471: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1478: | Line 1483: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1491: | Line 1496: | ||
** {{wiki:ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1505: | Line 1510: | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} jhk=(DrawingRectangleF) ** | + | ** {{wiki:ProtectedMethod.gif|}} ToWorldCoordinate(DrawingRectangleF) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1516: | Line 1521: | ||
== Parameters == | == Parameters == | ||
- | * //3WQ=// | + | * //drawingRectangle// |
* Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
* Description:N/A | * Description:N/A | ||
Line 1523: | Line 1528: | ||
** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ||
- | Create a copy of GeoCanvas using the deep clone process. The default implementation uses serialization. | + | * //Create a copy of GeoCanvas using the deep clone process. The default implementation uses serialization.// |
== Remarks == | == 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. | + | * //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 == | == Return Value == | ||
Line 1535: | Line 1540: | ||
** {{wiki:ProtectedMethod.gif|}} ClearCore(GeoBrush) ** | ** {{wiki:ProtectedMethod.gif|}} ClearCore(GeoBrush) ** | ||
- | This method clears the current GeoCanvas using the color specified. | + | * //This method clears the current GeoCanvas using the color specified.// |
== Remarks == | == Remarks == | ||
- | Use this method to clear the GeoCanvas.This method is designed to be overridden by the deriving class. | + | * //Use this method to clear the GeoCanvas.This method is designed to be overridden by the deriving class.// |
== Return Value == | == Return Value == | ||
Line 1551: | Line 1556: | ||
** {{wiki:ProtectedMethod.gif|}} DrawAreaCore(IEnumerable<ScreenPointF[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:ProtectedMethod.gif|}} DrawAreaCore(IEnumerable<ScreenPointF[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | This method draws an area on the GeoCanvas. | + | * //This method draws an area on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 1591: | Line 1596: | ||
** {{wiki:ProtectedMethod.gif|}} DrawLineCore(IEnumerable<ScreenPointF>,GeoPen,DrawingLevel,Single,Single) ** | ** {{wiki:ProtectedMethod.gif|}} DrawLineCore(IEnumerable<ScreenPointF>,GeoPen,DrawingLevel,Single,Single) ** | ||
- | Draws the LineShape on the GeoCanvas. | + | * //Draws the LineShape on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 1623: | Line 1628: | ||
** {{wiki:ProtectedMethod.gif|}} DrawEllipseCore(ScreenPointF,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ** {{wiki:ProtectedMethod.gif|}} DrawEllipseCore(ScreenPointF,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** | ||
- | Draws a point on the GeoCanvas. | + | * //Draws a point on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points. | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a 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 drawing many points.// |
== Return Value == | == Return Value == | ||
Line 1671: | Line 1676: | ||
** {{wiki:ProtectedMethod.gif|}} DrawScreenImageWithoutScalingCore(GeoImage,Single,Single,DrawingLevel,Single,Single,Single) ** | ** {{wiki:ProtectedMethod.gif|}} DrawScreenImageWithoutScalingCore(GeoImage,Single,Single,DrawingLevel,Single,Single,Single) ** | ||
- | Draws an unscaled image on the GeoCanvas. | + | * //Draws an unscaled image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image unscaled is faster than using the API that scales it. | + | * //Drawing an image unscaled is faster than using the API that scales it.// |
== Return Value == | == Return Value == | ||
Line 1711: | Line 1716: | ||
** {{wiki:ProtectedMethod.gif|}} DrawScreenImageCore(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single) ** | ** {{wiki:ProtectedMethod.gif|}} DrawScreenImageCore(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single) ** | ||
- | Draws a scaled image on the GeoCanvas. | + | * //Draws a scaled image on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | Drawing an image scaled is slower than using the API that draws it unscaled. | + | * //Drawing an image scaled is slower than using the API that draws it unscaled.// |
== Return Value == | == Return Value == | ||
Line 1759: | Line 1764: | ||
** {{wiki:ProtectedMethod.gif|}} DrawTextCore(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,Single) ** | ** {{wiki:ProtectedMethod.gif|}} DrawTextCore(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,Single) ** | ||
- | This method allows you to draw text at the specified location, using the specified brush and font parameters. | + | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 1807: | Line 1812: | ||
** {{wiki:ProtectedMethod.gif|}} MeasureTextCore(String,GeoFont) ** | ** {{wiki:ProtectedMethod.gif|}} MeasureTextCore(String,GeoFont) ** | ||
- | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | + | * //This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.// |
== Remarks == | == Remarks == | ||
- | This method is typically used for labeling, to determine whether labels overlap. | + | * //This method is typically used for labeling, to determine whether labels overlap.// |
== Return Value == | == Return Value == | ||
Line 1827: | Line 1832: | ||
** {{wiki:ProtectedMethod.gif|}} BeginDrawingCore(Object,RectangleShape,GeographyUnit) ** | ** {{wiki:ProtectedMethod.gif|}} BeginDrawingCore(Object,RectangleShape,GeographyUnit) ** | ||
- | This method begins the act of drawing on the GeoCanvas. | + | * //This method begins the act of drawing on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This is the first method that needs to be called before any drawing takes place. Calling this method will set the IsDrawing property to true. When you finish drawing, you must call EndDrawing to commit the changes to the image. | + | * //This is the first method that needs to be called before any drawing takes place. Calling this method will set the IsDrawing property to true. When you finish drawing, you must call EndDrawing to commit the changes to the image.// |
== Return Value == | == Return Value == | ||
Line 1851: | Line 1856: | ||
** {{wiki:ProtectedMethod.gif|}} ToNativeImageCore(GeoImage) ** | ** {{wiki:ProtectedMethod.gif|}} ToNativeImageCore(GeoImage) ** | ||
- | This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a NativeImage. | + | * //This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1867: | Line 1872: | ||
** {{wiki:ProtectedMethod.gif|}} ToGeoImageCore(Object) ** | ** {{wiki:ProtectedMethod.gif|}} ToGeoImageCore(Object) ** | ||
- | This method converts an oboject to a GeoImage. In GdiPlus, this object is often a NativeImage. | + | * //This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be implemented and used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1883: | Line 1888: | ||
** {{wiki:ProtectedMethod.gif|}} GetCanvasWidth(Object) ** | ** {{wiki:ProtectedMethod.gif|}} GetCanvasWidth(Object) ** | ||
- | This method gets the canvas width of the passed-in native image object. | + | * //This method gets the canvas width of the passed-in native image object.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be implemented and used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1899: | Line 1904: | ||
** {{wiki:ProtectedMethod.gif|}} GetCanvasWidthCore(Object) ** | ** {{wiki:ProtectedMethod.gif|}} GetCanvasWidthCore(Object) ** | ||
- | This method gets the canvas width of the passed-in native image object. | + | * //This method gets the canvas width of the passed-in native image object.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be implemented and used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1915: | Line 1920: | ||
** {{wiki:ProtectedMethod.gif|}} GetCanvasHeight(Object) ** | ** {{wiki:ProtectedMethod.gif|}} GetCanvasHeight(Object) ** | ||
- | This method gets the canvas height of the passed-in native image object. | + | * //This method gets the canvas height of the passed-in native image object.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be implemented and used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1931: | Line 1936: | ||
** {{wiki:ProtectedMethod.gif|}} GetCanvasHeightCore(Object) ** | ** {{wiki:ProtectedMethod.gif|}} GetCanvasHeightCore(Object) ** | ||
- | This method gets the canvas height of the passed-in native image object. | + | * //This method gets the canvas height of the passed-in native image object.// |
== Remarks == | == Remarks == | ||
- | This method is a BaseClass API and will be implemented and used in its sub-concrete classes. | + | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// |
== Return Value == | == Return Value == | ||
Line 1945: | Line 1950: | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} nBs=(String) ** | + | ** {{wiki:ProtectedMethod.gif|}} DrawEvalWaterMarked(String) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1956: | Line 1961: | ||
== Parameters == | == Parameters == | ||
- | * //uWQ=// | + | * //waterMarkedString// |
* Type:String | * Type:String | ||
* Description:N/A | * Description:N/A | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} nxs=(String) ** | + | ** {{wiki:ProtectedMethod.gif|}} DrawFullWaterMarked(String) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1972: | Line 1977: | ||
== Parameters == | == Parameters == | ||
- | * //umQ=// | + | * //waterMarkedString// |
* Type:String | * Type:String | ||
* Description:N/A | * Description:N/A | ||
Line 1979: | Line 1984: | ||
** {{wiki:ProtectedMethod.gif|}} EndDrawingCore() ** | ** {{wiki:ProtectedMethod.gif|}} EndDrawingCore() ** | ||
- | This method ends drawing and commits the drawing on the GeoCanvas. | + | * //This method ends drawing and commits the drawing on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | This methods 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. | + | * //This methods 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 == | == Return Value == | ||
Line 1991: | Line 1996: | ||
** {{wiki:ProtectedMethod.gif|}} FlushCore() ** | ** {{wiki:ProtectedMethod.gif|}} FlushCore() ** | ||
- | This method flush drawing and commits the drawing on the GeoCanvas. | + | * //This method flush drawing and commits the drawing on the GeoCanvas.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 2003: | Line 2008: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 2015: | Line 2020: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Object | * Type:Object | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} 3mQ=() ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
* Description:N/A | * Description:N/A | ||
Line 2135: | Line 2128: | ||
==== Protected Properties ==== | ==== Protected Properties ==== | ||
- | ** {{wiki:ProtectedProperty.gif|}} r2Q= ** | + | ** {{wiki:ProtectedProperty.gif|}} HasDrawn ** |
N/A | N/A | ||
Line 2143: | Line 2136: | ||
* Type:Boolean | * Type:Boolean | ||
- | ** {{wiki:ProtectedProperty.gif|}} tGQ= ** | + | ** {{wiki:ProtectedProperty.gif|}} IsCancelled ** |
N/A | N/A |