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/18 05:42] 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 12: | 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 20: | 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 32: | 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 48: | 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 72: | 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 96: | 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 120: | 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 144: | 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 172: | 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 200: | 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 240: | 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 280: | 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 320: | 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 344: | 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 368: | 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 400: | 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 432: | 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 464: | 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 496: | 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 528: | 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 560: | 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 592: | 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 628: | 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 664: | 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 712: | 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 760: | 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 808: | 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 836: | 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 876: | 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 916: | 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 952: | 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 996: | 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 1044: | 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 1092: | 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 1128: | 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 1168: | 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 1204: | 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 1244: | 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 1276: | 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 1324: | 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 1344: | 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 1368: | 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 Bitmap. | + | * //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 1384: | 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 Bitmap. | + | * //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 1400: | 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 1412: | 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 1428: | 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 1440: | 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 1452: | 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 1468: | 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 1480: | 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 1493: | 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 1507: | Line 1510: | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} KRY=(DrawingRectangleF) ** | + | ** {{wiki:ProtectedMethod.gif|}} ToWorldCoordinate(DrawingRectangleF) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1525: | 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 1537: | 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 1553: | 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 1593: | 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 1625: | 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 1673: | 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 1713: | 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 1761: | 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 1809: | 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 1829: | 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 1853: | 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 Bitmap. | + | * //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 1869: | 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 Bitmap. | + | * //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 1885: | 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 1901: | 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 1917: | 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 1933: | 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 1947: | Line 1950: | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} 6xU=(String) ** | + | ** {{wiki:ProtectedMethod.gif|}} DrawEvalWaterMarked(String) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1963: | Line 1966: | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} 7BU=(String) ** | + | ** {{wiki:ProtectedMethod.gif|}} DrawFullWaterMarked(String) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 1981: | 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 1993: | 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 2005: | 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 2017: | Line 2020: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 2125: | Line 2128: | ||
==== Protected Properties ==== | ==== Protected Properties ==== | ||
- | ** {{wiki:ProtectedProperty.gif|}} IRY= ** | + | ** {{wiki:ProtectedProperty.gif|}} HasDrawn ** |
N/A | N/A | ||
Line 2133: | Line 2136: | ||
* Type:Boolean | * Type:Boolean | ||
- | ** {{wiki:ProtectedProperty.gif|}} IxY= ** | + | ** {{wiki:ProtectedProperty.gif|}} IsCancelled ** |
N/A | N/A |