====== ThinkGeo.MapSuite.WindowsPhoneCore.GeoCanvas ====== {{section>upgrade_map_suite_to_10.0}} ===== Inheritance Hierarchy ===== *System.Object **[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoCanvas]] ***[[ThinkGeo.MapSuite.WindowsPhoneCore.WpfGeoCanvas]] ***[[ThinkGeo.MapSuite.WindowsPhoneCore.WriteableBitmapGeoCanvas]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GeoCanvas()|GeoCanvas]] | | | This method is the default constructor for the GeoCanvas. | ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#BeginDrawing(Object, RectangleShape, GeographyUnit)|BeginDrawing]] | Object, [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | | This method begins the act of drawing on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#Clear(GeoBrush)|Clear]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | | This method clears the current GeoCanvas using the color specified. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoPen, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(IEnumerable, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawArea]] | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]][]>, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoPen, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel, Double, Double, PenBrushDrawingOrder)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Double, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method draws an area on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(ScreenPoint, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoPen, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoPen, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a point on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(IEnumerable, GeoPen, DrawingLevel, Single, Single)|DrawLine]] | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]>, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single | | Draws the LineShape on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(LineBaseShape, GeoPen, DrawingLevel)|DrawLine]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.LineBaseShape|LineBaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a line on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(Feature, GeoPen, DrawingLevel)|DrawLine]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a line on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(LineBaseShape, GeoPen, DrawingLevel, Single, Single)|DrawLine]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.LineBaseShape|LineBaseShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single | | Draws a line on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(Feature, GeoPen, DrawingLevel, Single, Single)|DrawLine]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single | | Draws a line on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawScreenImage(GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImage]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Single, Single, Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws a screen image on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawScreenImageWithoutScaling(GeoImage, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImageWithoutScaling]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws an unscaled image on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawText(String, GeoFont, GeoBrush, GeoPen, IEnumerable, DrawingLevel, Single, Single, Single)|DrawText]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]>, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawText(String, GeoFont, GeoBrush, IEnumerable, DrawingLevel)|DrawText]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]>, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, Single, Single, DrawingLevel)|DrawTextWithScreenCoordinate]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawTextWithWorldCoordinate(String, GeoFont, GeoBrush, Double, Double, DrawingLevel)|DrawTextWithWorldCoordinate]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], Double, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel, Single, Single, Single)|DrawWorldImage]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Double, Double, Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws a world image on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImage(GeoImage, Double, Double, Double, DrawingLevel, Single, Single, Single)|DrawWorldImage]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Double, Double, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws a world image on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel)|DrawWorldImage]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Double, Double, Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws a scaled image on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel)|DrawWorldImageWithoutScaling]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Double, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | | Draws an unscaled image on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel, Single, Single, Single)|DrawWorldImageWithoutScaling]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Double, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws an unscaled image on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#EndDrawing()|EndDrawing]] | | | This method ends drawing and commits the drawing on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#Flush()|Flush]] | | | This method flush drawing and commits the drawing on the GeoCanvas. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetStreamFromGeoImage(GeoImage)|GetStreamFromGeoImage]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | | Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#MeasureText(String, GeoFont)|MeasureText]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | | {{wiki:PublicMethod.gif|Public Method}}[[#ToGeoImage(Object)|ToGeoImage]] | Object | | This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap. | | {{wiki:PublicMethod.gif|Public Method}}[[#ToNativeImage(GeoImage)|ToNativeImage]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | | This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap. | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | ==== Protected Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#BeginDrawingCore(Object, RectangleShape, GeographyUnit)|BeginDrawingCore]] | Object, [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | | This method begins the act of drawing on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ClearCore(GeoBrush)|ClearCore]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | | This method clears the current GeoCanvas using the color specified. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawAreaCore(IEnumerable, GeoPen, GeoBrush, DrawingLevel, Double, Double, PenBrushDrawingOrder)|DrawAreaCore]] | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]][]>, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Double, Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | This method draws an area on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawEllipseCore(ScreenPoint, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipseCore]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | Draws a point on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawLineCore(IEnumerable, GeoPen, DrawingLevel, Single, Single)|DrawLineCore]] | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]>, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single | | Draws the LineShape on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawScreenImageCore(GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImageCore]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Single, Single, Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws a scaled image on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawScreenImageWithoutScalingCore(GeoImage, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImageWithoutScalingCore]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]], Single, Single, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws an unscaled image on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawTextCore(String, GeoFont, GeoBrush, GeoPen, IEnumerable, DrawingLevel, Single, Single, Single)|DrawTextCore]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]], IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]>, [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]], Single, Single, Single | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#EndDrawingCore()|EndDrawingCore]] | | | This method ends drawing and commits the drawing on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#FlushCore()|FlushCore]] | | | This method flush drawing and commits the drawing on the GeoCanvas. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasHeight(Object)|GetCanvasHeight]] | Object | | This method gets the canvas height of the passed-in native image object. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasHeightCore(Object)|GetCanvasHeightCore]] | Object | | This method gets the canvas height of the passed-in native image object. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasWidth(Object)|GetCanvasWidth]] | Object | | This method gets the canvas width of the passed-in native image object. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasWidthCore(Object)|GetCanvasWidthCore]] | Object | | This method gets the canvas width of the passed-in native image object. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MeasureTextCore(String, GeoFont)|MeasureTextCore]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingProgressChanged(DrawingProgressChangedEventArgs)|OnDrawingProgressChanged]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ToGeoImageCore(Object)|ToGeoImageCore]] | Object | | This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ToNativeImageCore(GeoImage)|ToNativeImageCore]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | | This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap. | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentWorldExtent|CurrentWorldExtent]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | | This property gets the adjusted current extent based on what was set when BeginDrawing was called. | | {{wiki:PublicProperty.gif|Public Property}}[[#Dpi|Dpi]] | Single | | | | {{wiki:PublicProperty.gif|Public Property}}[[#Height|Height]] | Double | | This property gets the height of the canvas. | | {{wiki:PublicProperty.gif|Public Property}}[[#IsDrawing|IsDrawing]] | Boolean | | This property gets the drawing status of the GeoCanvas. | | {{wiki:PublicProperty.gif|Public Property}}[[#MapUnit|MapUnit]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | | This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas. | | {{wiki:PublicProperty.gif|Public Property}}[[#NativeImage|NativeImage]] | Object | | The same reference to the parameter 'nativeImage' in BeginDrawing function. | | {{wiki:PublicProperty.gif|Public Property}}[[#Width|Width]] | Double | | This property gets the width of the canvas. | ==== Protected Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ ==== Public Events ==== ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingProgressChanged|DrawingProgressChanged]] | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | | | ===== Public Constructors ===== ===== Protected Constructors ===== ==== GeoCanvas() ==== This method is the default constructor for the GeoCanvas. === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Constructors|Go Back]] ===== Public Methods ===== ==== BeginDrawing(Object, RectangleShape, GeographyUnit) ==== This method begins the act of drawing on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | This parameter represents the image you want the GeoCanvas to draw on. | | worldExtent | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | This parameter is the world extent of the canvasImage. | | drawingMapUnit | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the map unit of the canvasImage. | [[#Public Methods|Go Back]] ==== Clear(GeoBrush) ==== This method clears the current GeoCanvas using the color specified. === Remarks === Use this method to clear the GeoCanvas. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | | [[#Public Methods|Go Back]] ==== DrawArea(Feature, GeoBrush, DrawingLevel) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the AreaShape in well-known binary format. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawArea(AreaBaseShape, GeoPen, DrawingLevel) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]] | This parameter is the area shape. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the area. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawArea(IEnumerable, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== This method draws an area on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | screenPoints | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]][]> | This parameter is the AreaShape in well-known binary format. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Single | This parameter determines the X offset for the feature to be drawn. | | yOffset | Single | This parameter determines the Y offset for the feature to be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | This parameter determines the PenBrushDrawingOrder used when drawing the area type feature. | [[#Public Methods|Go Back]] ==== DrawArea(Feature, GeoPen, DrawingLevel) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the area feature. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the area. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawArea(AreaBaseShape, GeoBrush, DrawingLevel) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]] | This parameter is the area shape to be drawn. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill Brush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel, Double, Double, PenBrushDrawingOrder) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the AreaFeature to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Double | This parameter determines the X offset for the feature that will be drawn. | | yOffset | Double | This parameter determines the Y offset for the feature that will be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | This parameter determines the PenBrushingDrawingOrder used when drawing the area type feature. | [[#Public Methods|Go Back]] ==== DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]] | This parameter is the area shape to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Single | This parameter determines the X offset for the feature to be drawn. | | yOffset | Single | This parameter determines the Y offset for the feature to be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | This parameter determines the PenBrushDrawingOrder used when drawing the area type feature. | [[#Public Methods|Go Back]] ==== DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the AreaFeature to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel) ==== This method draws an area on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaBaseShape|AreaBaseShape]] | This parameter is the area shape to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline pen that will be used to draw the AreaShape. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill Brush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the center point feature. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | [[#Public Methods|Go Back]] ==== DrawEllipse(PointBaseShape, Single, Single, GeoBrush, DrawingLevel) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]] | This parameter is the center point shape. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the the GeoBrush will draw on. | [[#Public Methods|Go Back]] ==== DrawEllipse(ScreenPoint, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | screenPoint | [[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]] | This parameter is the center point in screen coordinate. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | xOffset | Single | This parameter determines the X offset for the ellipse to be drawn. | | yOffset | Single | This parameter determines the Y offset for the ellipse to be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | | [[#Public Methods|Go Back]] ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]] | This parameter is the center point shape. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | xOffset | Single | This parameter determines the X offset for the ellipse to be drawn. | | yOffset | Single | This parameter determines the Y offset for the ellipse to be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | [[#Public Methods|Go Back]] ==== DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the center point feature. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | xOffset | Single | This parameter determines the X offset for the ellipse to be drawn. | | yOffset | Single | This parameter determines the Y offset for the ellipse to be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | [[#Public Methods|Go Back]] ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]] | This parameter is the center point shape. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | [[#Public Methods|Go Back]] ==== DrawEllipse(Feature, Single, Single, GeoBrush, DrawingLevel) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | centerPointFeature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the center point feature. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the the GeoBrush will draw on. | [[#Public Methods|Go Back]] ==== DrawEllipse(Feature, Single, Single, GeoPen, DrawingLevel) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the center point feature. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, DrawingLevel) ==== Draws a point on the GeoCanvas. === Overloads === This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.PointBaseShape|PointBaseShape]] | This parameter is the center point shape. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawLine(IEnumerable, GeoPen, DrawingLevel, Single, Single) ==== Draws the LineShape on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | screenPoints | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]> | This parameter is the LineShape in well-known binary format. | | linePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the GeoPen that will be used to draw the LineShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Single | This parameter determines the X offset for the feature to be drawn. | | yOffset | Single | This parameter determines the Y offset for the feature to be drawn. | [[#Public Methods|Go Back]] ==== DrawLine(LineBaseShape, GeoPen, DrawingLevel) ==== Draws a line on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.LineBaseShape|LineBaseShape]] | This parameter is the line shape to be drawn by GeoCannvas. | | linePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the GeoPen that will be used to draw the line. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawLine(Feature, GeoPen, DrawingLevel) ==== Draws a line on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the line feature. | | linePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the GeoPen that will be used to draw the line. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | [[#Public Methods|Go Back]] ==== DrawLine(LineBaseShape, GeoPen, DrawingLevel, Single, Single) ==== Draws a line on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | shape | [[ThinkGeo.MapSuite.WindowsPhoneCore.LineBaseShape|LineBaseShape]] | This parameter is the line shape to be drawn by GeoCannvas. | | linePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the GeoPen that will be used to draw the line. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Single | This parameter determines the X offset for the feature to be drawn. | | yOffset | Single | This parameter determines the Y offset for the feature to be drawn. | [[#Public Methods|Go Back]] ==== DrawLine(Feature, GeoPen, DrawingLevel, Single, Single) ==== Draws a line on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | feature | [[ThinkGeo.MapSuite.WindowsPhoneCore.Feature|Feature]] | This parameter is the line feature to be drawn by GeoCannvas. | | linePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the GeoPen that will be used to draw the line. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Single | This parameter determines the X offset for the feature to be drawn. | | yOffset | Single | This parameter determines the Y offset for the feature to be drawn. | [[#Public Methods|Go Back]] ==== DrawScreenImage(GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single) ==== Draws a screen image on the GeoCanvas. === Remarks === Drawing an image scaled is slower than using the API that draws it unscaled. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw. | | centerXInScreen | Single | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | centerYInScreen | Single | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | widthInScreen | Single | The width you want to scale the image to. This is the width of the image that will be drawn. | | heightInScreen | Single | The height you want to scale the image to. This is the height of the image that will be drawn. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | | xOffset | Single | This parameter determines the X offset for the image to be drawn. | | yOffset | Single | This parameter determines the Y offset for the image to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the image to be drawn. | [[#Public Methods|Go Back]] ==== DrawScreenImageWithoutScaling(GeoImage, Single, Single, DrawingLevel, Single, Single, Single) ==== Draws an unscaled image on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw unscaled. | | centerXInScreen | Single | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | centerYInScreen | Single | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | | xOffset | Single | This parameter determines the X offset for the image to be drawn. | | yOffset | Single | This parameter determines the Y offset for the image to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the image to be drawn. | [[#Public Methods|Go Back]] ==== DrawText(String, GeoFont, GeoBrush, GeoPen, IEnumerable, DrawingLevel, Single, Single, Single) ==== This method allows you to draw text at the specified location, using the specified brush and font parameters. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | text | String | This parameter specifies the text you wish to draw. | | font | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | This parameter represents the font you wish to use to draw the text. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter specifies the kind of fill you want to use to draw the text. | | haloPen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed. | | textPathInScreen | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]> | This parameter specifies the path on which to draw the text. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | | xOffset | Single | This parameter determines the X offset for the text to be drawn. | | yOffset | Single | This parameter determines the Y offset for the text to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the text to be drawn. | [[#Public Methods|Go Back]] ==== DrawText(String, GeoFont, GeoBrush, IEnumerable, DrawingLevel) ==== This method allows you to draw text at the specified location, using the specified brush and font parameters. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | text | String | This parameter specifies the text you wish to draw. | | font | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | This parameter represents the font you wish to use to draw the text. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter specifies the kind of fill you want to use to draw the text. | | textPathInScreen | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]> | This parameter specifies the path on which to draw the text. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | [[#Public Methods|Go Back]] ==== 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. === Overloads === This overload allows you to specify the location in screen coordinates. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | text | String | This parameter specifies the text you wish to draw. | | font | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | This parameter represents the font you wish to use to draw the text. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter specifies the kind of fill you want to use to draw the text. | | upperLeftXInScreen | Single | This parameter is the upper left horizontal point in screen coordinates of where you want to start drawing the text from. | | upperLeftYInScreen | Single | This parameter is the upper left vertical point in screen coordinates of where you want to start drawing the text from. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | [[#Public Methods|Go Back]] ==== 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. === Overloads === This overload allows you to specify the location in world coordinates. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | text | String | This parameter specifies the text you wish to draw. | | font | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | This parameter represents the font you wish to use to draw the text. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter specifies the kind of fill you want to use to draw the text. | | upperLeftXInWorld | Double | This parameter is the upper left horizontal point in world coordinates of where you want to start drawing the text from. | | upperLeftYInWorld | Double | This parameter is the upper left horizontal point in world coordinates of where you want to start drawing the text from. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | [[#Public Methods|Go Back]] ==== DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel, Single, Single, Single) ==== Draws a world image on the GeoCanvas. === Remarks === Drawing an image scaled is slower than using the API that draws it unscaled. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw. | | centerXInWorld | Double | The X coordinate of the center point of where you want to draw the image. | | centerYInWorld | Double | The Y coordinate of the center point of where you want to draw the image. | | widthInScreen | Single | The width you want to scale the image to. This is the width of the image that will be drawn. | | heightInScreen | Single | The height you want to scale the image to. This is the height of the image that will be drawn. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | | xOffset | Single | This parameter determines the X offset for the image to be drawn. | | yOffset | Single | This parameter determines the Y offset for the image to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the image to be drawn. | [[#Public Methods|Go Back]] ==== DrawWorldImage(GeoImage, Double, Double, Double, DrawingLevel, Single, Single, Single) ==== Draws a world image on the GeoCanvas. === Remarks === Drawing an image scaled is slower than using the API that draws it unscaled. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw. | | centerXInWorld | Double | The X coordinate of the center point of where you want to draw the image. | | centerYInWorld | Double | The Y coordinate of the center point of where you want to draw the image. | | imageScale | Double | The scale at which you want to draw the image. The final width and height will be caculated based on the scale. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | | xOffset | Single | This parameter determines the X offset for the image to be drawn. | | yOffset | Single | This parameter determines the Y offset for the image to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the image to be drawn. | [[#Public Methods|Go Back]] ==== DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel) ==== Draws a scaled image on the GeoCanvas. === Remarks === Drawing an image scaled is slower than using the API that draws it unscaled. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw. | | centerXInWorld | Double | The X coordinate of the center point of where you want to draw the image. | | centerYInWorld | Double | The Y coordinate of the center point of where you want to draw the image. | | widthInScreen | Single | The width you want to scale the image to. This is the width of the image that will be drawn. | | heightInScreen | Single | The height you want to scale the image to. This is the height of the image that will be drawn. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | [[#Public Methods|Go Back]] ==== DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel) ==== Draws an unscaled image on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw unscaled. | | centerXInWorld | Double | The X coordinate of the center point of where you want to draw the image. | | centerYInWorld | Double | The Y coordinate of the center point of where you want to draw the image. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | [[#Public Methods|Go Back]] ==== DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel, Single, Single, Single) ==== Draws an unscaled image on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw unscaled. | | centerXInWorld | Double | The X coordinate of the center point (in world coordinates) of where you want to draw the image. | | centerYInWorld | Double | The Y coordinate of the center point (in world coordinates) of where you want to draw the image. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | | xOffset | Single | This parameter determines the X offset for the image to be drawn. | | yOffset | Single | This parameter determines the Y offset for the image to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the image to be drawn. | [[#Public Methods|Go Back]] ==== EndDrawing() ==== This method ends drawing and commits the drawing on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== Equals(Object) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | obj | Object | | [[#Public Methods|Go Back]] ==== Flush() ==== This method flush drawing and commits the drawing on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetHashCode() ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== 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. === Return Value === ^ Return Type ^ Description ^ | Stream | The returning stream retrieved from the passed-in image. | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The parameter specifies the image to get the stream from. | [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== MeasureText(String, GeoFont) ==== This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. === Remarks === This method is typically used for labeling, to determine whether labels overlap. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingRectangleF|DrawingRectangleF]] | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | === Parameters === ^ Name ^ Type ^ Description ^ | text | String | This parameter represents the text you want to measure. | | font | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | This parameter represents the font of the text you want to measure. | [[#Public Methods|Go Back]] ==== ToGeoImage(Object) ==== This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap. === Remarks === This method is a BaseClass API and will be implemented and used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The returning GeoImage containing the same information as the passed-in nativeImage. | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | The target object to be converted. | [[#Public Methods|Go Back]] ==== ToNativeImage(GeoImage) ==== This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap. === Remarks === This method is a BaseClass API and will be implemented and used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | Object | The returning object containing the same information as the passed-in geoImage. | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The target geoImage to convert. | [[#Public Methods|Go Back]] ==== ToString() ==== === Return Value === ^ Return Type ^ Description ^ | String | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== BeginDrawingCore(Object, RectangleShape, GeographyUnit) ==== This method begins the act of drawing on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | This parameter represents the image you want the GeoCanvas to draw on. | | worldExtent | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | This parameter is the world extent of the canvasImage. | | drawingMapUnit | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | This parameter is the map unit of the canvasImage. | [[#Protected Methods|Go Back]] ==== ClearCore(GeoBrush) ==== This method clears the current GeoCanvas using the color specified. === Remarks === Use this method to clear the GeoCanvas. This method is designed to be overridden by the deriving class. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter specifies the the brush that will be used to clear the GeoCanvas. | [[#Protected Methods|Go Back]] ==== DrawAreaCore(IEnumerable, GeoPen, GeoBrush, DrawingLevel, Double, Double, PenBrushDrawingOrder) ==== This method draws an area on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | 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. | === Parameters === ^ Name ^ Type ^ Description ^ | screenPoints | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]][]> | This parameter is the AreaShape in well-known binary format. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Double | This parameter determines the X offset for the feature to be drawn. | | yOffset | Double | This parameter determines the Y offset for the feature to be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | This parameter determines the PenBrushDrawingOrder used when drawing the area type feature. | [[#Protected Methods|Go Back]] ==== DrawEllipseCore(ScreenPoint, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== Draws a point on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | screenPoint | [[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]] | This parameter is the center point in well-known binary format. | | width | Single | This parameter describes the width of the ellipse to be drawn. | | height | Single | This parameter describes the height of the ellipse to be drawn. | | outlinePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the outline GeoPen that will be used to draw the point. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter describes the fill GeoBrush that will be used to draw the point. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | xOffset | Single | This parameter determines the X offset for the screenPoint to be drawn. | | yOffset | Single | This parameter determines the Y offset for the screenPoint to be drawn. | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.WindowsPhoneCore.PenBrushDrawingOrder|PenBrushDrawingOrder]] | This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | [[#Protected Methods|Go Back]] ==== DrawLineCore(IEnumerable, GeoPen, DrawingLevel, Single, Single) ==== Draws the LineShape on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | screenPoints | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]> | This parameter is the LineShape in well-known binary format. | | linePen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter describes the GeoPen that will be used to draw the LineShape. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel that the GeoPen will draw on. | | xOffset | Single | This parameter determines the X offset for the feature to be drawn. | | yOffset | Single | This parameter determines the Y offset for the feature to be drawn. | [[#Protected Methods|Go Back]] ==== DrawScreenImageCore(GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single) ==== Draws a scaled image on the GeoCanvas. === Remarks === Drawing an image scaled is slower than using the API that draws it unscaled. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw. | | centerXInScreen | Single | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | centerYInScreen | Single | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | widthInScreen | Single | The width you want to scale the image to. This is the width of the image that will be drawn. | | heightInScreen | Single | The height you want to scale the image to. This is the height of the image that will be drawn. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | | xOffset | Single | This parameter determines the X offset for the image to be drawn. | | yOffset | Single | This parameter determines the Y offset for the image to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the image to be drawn. | [[#Protected Methods|Go Back]] ==== DrawScreenImageWithoutScalingCore(GeoImage, Single, Single, DrawingLevel, Single, Single, Single) ==== Draws an unscaled image on the GeoCanvas. === Remarks === Drawing an image unscaled is faster than using the API that scales it. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The image you want to draw unscaled. | | centerXInScreen | Single | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | centerYInScreen | Single | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter determines the DrawingLevel the image will draw on. | | xOffset | Single | This parameter determines the X offset for the image to be drawn. | | yOffset | Single | This parameter determines the Y offset for the image to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the image to be drawn. | [[#Protected Methods|Go Back]] ==== DrawTextCore(String, GeoFont, GeoBrush, GeoPen, IEnumerable, DrawingLevel, Single, Single, Single) ==== This method allows you to draw text at the specified location, using the specified brush and font parameters. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | text | String | This parameter specifies the text you wish to draw. | | font | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | This parameter represents the font you wish to use to draw the text. | | fillBrush | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush|GeoBrush]] | This parameter specifies the kind of fill you want to use to draw the text. | | haloPen | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoPen|GeoPen]] | This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed. | | textPathInScreen | IEnumerable<[[ThinkGeo.MapSuite.WindowsPhoneCore.ScreenPoint|ScreenPoint]]> | This parameter specifies the path on which to draw the text. | | drawingLevel | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingLevel|DrawingLevel]] | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | | xOffset | Single | This parameter determines the X offset for the text to be drawn. | | yOffset | Single | This parameter determines the Y offset for the text to be drawn. | | rotateAngle | Single | This parameter determines the rotation angle for the text to be drawn. | [[#Protected Methods|Go Back]] ==== EndDrawingCore() ==== This method ends drawing and commits the drawing on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== FlushCore() ==== This method flush drawing and commits the drawing on the GeoCanvas. === 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. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== GetCanvasHeight(Object) ==== This method gets the canvas height of the passed-in native image object. === Remarks === This method is a BaseClass API and will be implemented and used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | Double | The returning canvas height. | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | The native image that will be used to get the image height. | [[#Protected Methods|Go Back]] ==== GetCanvasHeightCore(Object) ==== This method gets the canvas height of the passed-in native image object. === Remarks === This method is a BaseClass API and will be implemented and used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | Double | The returning canvas height. | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | The native image will be used to get the image height. | [[#Protected Methods|Go Back]] ==== GetCanvasWidth(Object) ==== This method gets the canvas width of the passed-in native image object. === Remarks === This method is a BaseClass API and will be implemented and used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | Double | The returning canvas width. | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | The native image that will be used to get the image width. | [[#Protected Methods|Go Back]] ==== GetCanvasWidthCore(Object) ==== This method gets the canvas width of the passed-in native image object. === Remarks === This method is a BaseClass API and will be implemented and used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | Double | The returning canvas width. | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | The native image that will be used to get the image width. | [[#Protected Methods|Go Back]] ==== MeasureTextCore(String, GeoFont) ==== This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. === Remarks === This method is typically used for labeling, to determine whether labels overlap. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingRectangleF|DrawingRectangleF]] | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | === Parameters === ^ Name ^ Type ^ Description ^ | text | String | This parameter represents the text you want to measure. | | font | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont|GeoFont]] | This parameter represents the font of the text you want to measure. | [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | | [[#Protected Methods|Go Back]] ==== ToGeoImageCore(Object) ==== This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap. === Remarks === This method is a BaseClass API and will be implemented and used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The returning GeoImage containing the same information as the passed-in nativeImage. | === Parameters === ^ Name ^ Type ^ Description ^ | nativeImage | Object | The target object to be converted. | [[#Protected Methods|Go Back]] ==== ToNativeImageCore(GeoImage) ==== This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap. === Remarks === This method is a BaseClass API and will be used in its sub-concrete classes. === Return Value === ^ Return Type ^ Description ^ | Object | The returning object containing the same information as the passed-in geoImage. | === Parameters === ^ Name ^ Type ^ Description ^ | image | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage|GeoImage]] | The target geoImage to convert. | [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== CurrentWorldExtent ==== This property gets the adjusted current extent based on what was set when BeginDrawing was called. === Remarks === The extent that gets passed in on BeginDrawing is adjusted for the height and width of the physical media being drawn on. For example if the current extent is wider than taller but the bitmap being drawn on is square then the current extent needs to be adjusted. The extent will be adjusted larger so that we ensure that the entire original extent will still be represented. === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape|RectangleShape]] | [[#Public Properties|Go Back]] ==== Dpi ==== === Return Value === ^ Return Type ^ | Single | [[#Public Properties|Go Back]] ==== Height ==== This property gets the height of the canvas. === Remarks === This property reflects the height of the canvas image that was passed in on BeginDrawing. === Return Value === ^ Return Type ^ | Double | [[#Public Properties|Go Back]] ==== IsDrawing ==== This property gets the drawing status of the GeoCanvas. === Remarks === This property is set to true when the BeginDrawing method is called, and false after the EndDrawing method is called. === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== MapUnit ==== This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas. === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit|GeographyUnit]] | [[#Public Properties|Go Back]] ==== NativeImage ==== The same reference to the parameter 'nativeImage' in BeginDrawing function. === Return Value === ^ Return Type ^ | Object | [[#Public Properties|Go Back]] ==== Width ==== This property gets the width of the canvas. === Remarks === This property reflects the width of the canvas image that was passed in on BeginDrawing. === Return Value === ^ Return Type ^ | Double | [[#Public Properties|Go Back]] ===== Protected Properties ===== ===== Public Events ===== ==== DrawingProgressChanged ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.WindowsPhoneCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | [[#Public Events|Go Back]] __NOTOC__ [[Category:WindowsPhoneMapSuiteCore]] [[Category:ThinkGeo.MapSuite.WindowsPhoneCore]] [[Category:UpdateDocumentation]]