This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.core.gdiplusgeocanvas [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas ====== | ||
| - | |||
| - | |||
| - | |||
| - | <!-- Class --> | ||
| - | This class represents a canvas that is used to draw geographic shapes with GDI+. | ||
| - | === Remarks === | ||
| - | This class allows you to use GDI+ drawing to render your features. | ||
| - | |||
| - | The basic flow of the use of the class is to first call BeginDrawing and pass in a image along with its world extent. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | **[[ThinkGeo.MapSuite.Core.GeoCanvas]] | ||
| - | ***[[ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas]] | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GdiPlusGeoCanvas()|GdiPlusGeoCanvas]] | | | This method is the default constructor for the GdiPlusGeoCanvas. | | ||
| - | |||
| - | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#BeginDrawing(Object, RectangleShape, GeographyUnit)|BeginDrawing]] | Object, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method begins the act of drawing on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Clear(GeoBrush)|Clear]] | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method clears the current GeoCanvas using the color specified. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#CloneDeep()|CloneDeep]] | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Create a copy of GeoCanvas using the deep clone process. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertGeoImageToMemoryStream(GeoImage)|ConvertGeoImageToMemoryStream]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | | This method converts a GeoImage to a memory stream. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertGeoImageToMemoryStream(GeoImage, ImageFormat)|ConvertGeoImageToMemoryStream]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], ImageFormat | | This method converts a GeoImage to a memory stream. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CreateGeoImage(Int32, Int32)|CreateGeoImage]] | Int32, Int32 | | This method returns a GeoImage based on the height and width you provide. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoPen, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoPen, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawArea]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawArea]] | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawArea]] | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]][]>, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel)|DrawArea]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method draws an area on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoPen, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoPen, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawEllipse(ScreenPointF, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipse]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a point on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(LineBaseShape, GeoPen, DrawingLevel, Single, Single)|DrawLine]] | [[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a line on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(LineBaseShape, GeoPen, DrawingLevel)|DrawLine]] | [[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a line on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(Feature, GeoPen, DrawingLevel)|DrawLine]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a line on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(IEnumerable<ScreenPointF>, GeoPen, DrawingLevel, Single, Single)|DrawLine]] | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]>, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws the LineShape on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawLine(Feature, GeoPen, DrawingLevel, Single, Single)|DrawLine]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a line on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawScreenImage(GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Single, Single, Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a screen image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawScreenImageWithoutScaling(Bitmap, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImageWithoutScaling]] | Bitmap, Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws an unscaled image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawScreenImageWithoutScaling(GeoImage, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImageWithoutScaling]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws an unscaled image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawText(String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single)|DrawText]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]>, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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<ScreenPointF>, DrawingLevel)|DrawText]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]>, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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, GeoPen, Single, Single, DrawingLevel)|DrawTextWithScreenCoordinate]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, Single, Single, DrawingLevel)|DrawTextWithScreenCoordinate]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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, GeoPen, Double, Double, DrawingLevel)|DrawTextWithWorldCoordinate]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], Double, Double, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawTextWithWorldCoordinate(String, GeoFont, GeoBrush, Double, Double, DrawingLevel)|DrawTextWithWorldCoordinate]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], Double, Double, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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, Double, DrawingLevel, Single, Single, Single)|DrawWorldImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Double, Double, Double, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a world image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel)|DrawWorldImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Double, Double, Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a scaled image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel, Single, Single, Single)|DrawWorldImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Double, Double, Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws a world image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel)|DrawWorldImageWithoutScaling]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Double, Double, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws an unscaled image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel, Single, Single, Single)|DrawWorldImageWithoutScaling]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Double, Double, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Draws an unscaled image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImageWithoutScaling(Bitmap, Double, Double, DrawingLevel, Single, Single, Single)|DrawWorldImageWithoutScaling]] | Bitmap, Double, Double, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | | Draws an unscaled image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawWorldImageWithoutScaling(Bitmap, Double, Double, DrawingLevel)|DrawWorldImageWithoutScaling]] | Bitmap, Double, Double, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | | Draws an unscaled image on the GeoCanvas. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#EndDrawing()|EndDrawing]] | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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}}{{wiki:Static.gif|Static Member}}[[#FillBackground(GeoImage, GeoBrush)|FillBackground]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | | This method fills the specified GeoImage with the specified GeoBrush. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Flush()|Flush]] | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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.Core.GeoImage|GeoImage]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method returns a stream that represents the GeoImage in TIFF format. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#MeasureText(String, GeoFont)|MeasureText]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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 | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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.Core.GeoImage|GeoImage]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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.Core.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method begins the act of drawing on the GeoCanvas. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ClearCore(GeoBrush)|ClearCore]] | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method clears the current GeoCanvas using the color specified. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloneDeepCore()|CloneDeepCore]] | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Create a copy of GeoCanvas using the deep clone process. The default implementation uses serialization. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawAreaCore(IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawAreaCore]] | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]][]>, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method draws the area on the GeoCanvas. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawEllipseCore(ScreenPointF, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)|DrawEllipseCore]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], Single, Single, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | Draws the point on the GeoCanvas. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawLineCore(IEnumerable<ScreenPointF>, GeoPen, DrawingLevel, Single, Single)|DrawLineCore]] | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]>, [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | Draws a LineShape on the GeoCanvas. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawScreenImageCore(GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImageCore]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Single, Single, Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | Draws a scaled image on the GeoCanvas. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawScreenImageWithoutScalingCore(GeoImage, Single, Single, DrawingLevel, Single, Single, Single)|DrawScreenImageWithoutScalingCore]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]], Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | Draws an unscaled image on the GeoCanvas. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawTextCore(String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single)|DrawTextCore]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]], IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]>, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]], Single, Single, Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | 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]] | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | 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]] | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method flush drawing and commits the drawing on the GeoCanvas. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasHeight(Object)|GetCanvasHeight]] | Object | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method gets the canvas height of the passed-in native image object. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasHeightCore(Object)|GetCanvasHeightCore]] | Object | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method gets the canvas height of the specified native image object. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasWidth(Object)|GetCanvasWidth]] | Object | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This method gets the canvas width of the passed-in native image object. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasWidthCore(Object)|GetCanvasWidthCore]] | Object | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method gets the canvas width of the specified native image object. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MeasureTextCore(String, GeoFont)|MeasureTextCore]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | 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.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ToGeoImageCore(Object)|ToGeoImageCore]] | Object | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method returns a GeoImage from a native image object. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ToNativeImageCore(GeoImage)|ToNativeImageCore]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This method returns a native image object from the specified GeoCanvas. | | ||
| - | |||
| - | ==== Public Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ClippingArea|ClippingArea]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#CompositingQuality|CompositingQuality]] | CompositingQuality | | This property returns or sets the quality level to use during compositing. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentScale|CurrentScale]] | Double | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This property gets the current scale of the canvas. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentWorldExtent|CurrentWorldExtent]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This property gets the adjusted current extent based on what was set when BeginDrawing was called. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Dpi|Dpi]] | Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | The DPI value for the final drawing result, only valid when HasDpi set to true. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingQuality|DrawingQuality]] | [[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This property returns the drawing quality when rendering on the GeoCanvas. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#HasKeyColor|HasKeyColor]] | Boolean | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]](overriden) | This property indicates whether a GdiPlusGeoCanvas has the KeyColor or not. If it has no KeyColor, it will throw an exception when you get or set the value of KeyColors property. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Height|Height]] | Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This property gets the height of the canvas. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#InterpolationMode|InterpolationMode]] | InterpolationMode | | Gets or sets the interpolation mode associated with this System.Drawing.Graphics. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#IsDrawing|IsDrawing]] | Boolean | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This property gets the drawing status of the GeoCanvas. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#KeyColors|KeyColors]] | Collection<[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]]> | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | Gets a value represents a collection of key colors. If HasKeyColor property is false, it will throw exception when you use KeyColors. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#MapUnit|MapUnit]] | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#NativeImage|NativeImage]] | Object | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | The same reference to the parameter 'nativeImage' in BeginDrawing function. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#SmoothingMode|SmoothingMode]] | SmoothingMode | | This property returns or sets the rendering quality for this GeoCanvas. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#TextRenderingHint|TextRenderingHint]] | TextRenderingHint | | This property returns or sets the rendering mode for text associated with this GeoCanvas. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Width|Width]] | Single | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 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.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | | | ||
| - | |||
| - | ===== Public Constructors ===== | ||
| - | ==== GdiPlusGeoCanvas() ==== | ||
| - | This method is the default constructor for the GdiPlusGeoCanvas. | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ===== Protected Constructors ===== | ||
| - | ===== 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | This parameter represents the image you want the GeoCanvas to draw on. | | ||
| - | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter is the world extent of the canvasImage. | | ||
| - | | drawingMapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.Core.GeographyUnit --> | This parameter is the map unit of the canvasImage. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== CloneDeep() ==== | ||
| - | Create a copy of GeoCanvas using the deep clone process. | ||
| - | === Remarks === | ||
| - | The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | A cloned GeoCanvas. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ConvertGeoImageToMemoryStream(GeoImage) ==== | ||
| - | <!-- static --> | ||
| - | This method converts a GeoImage to a memory stream. | ||
| - | === Overloads === | ||
| - | This overload saves the bytes to the memory stream in TIFF format. | ||
| - | === Remarks === | ||
| - | This method is used to get a TIFF memory stream from a GeoImage using the canvas-specific methods. If you need to get a format other than TIFF, you can use the other overload which allows you to specify the output format. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | MemoryStream<!-- System.IO.MemoryStream --> | This method converts a GeoImage to a memory stream. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This parameter is the GeoImage you want to convert to a stream. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ConvertGeoImageToMemoryStream(GeoImage, ImageFormat) ==== | ||
| - | <!-- static --> | ||
| - | This method converts a GeoImage to a memory stream. | ||
| - | === Overloads === | ||
| - | This overload saves the bytes to the memory stream in the format you specify. | ||
| - | === Remarks === | ||
| - | This method allows you to save the GeoImage to any format you specify. This allows you to convert it to a PNG, or a variety of other formats, and then save it to disk. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | MemoryStream<!-- System.IO.MemoryStream --> | The return is a memory stream with the bytes formatted according to the image format you specify. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This parameter is the GeoImage you want to convert to a memory stream. | | ||
| - | | imageFormat | ImageFormat<!-- System.Drawing.Imaging.ImageFormat --> | This parameter is the image format you want the stream to be in. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== CreateGeoImage(Int32, Int32) ==== | ||
| - | <!-- static --> | ||
| - | This method returns a GeoImage based on the height and width you provide. | ||
| - | === Remarks === | ||
| - | You can use this static member to easily create a GeoCanvas. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This method returns a GeoImage based on the height and width you provide. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | width | Int32<!-- System.Int32 --> | This parameter is the width of the GeoImage. | | ||
| - | | height | Int32<!-- System.Int32 --> | This parameter is the height of the GeoImage. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(AreaBaseShape, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.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.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape to be drawn. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill Brush that will be used to draw the AreaShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(Feature, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.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.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the AreaShape in well-known binary format. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(AreaBaseShape, GeoPen, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | shape | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the area. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(Feature, GeoPen, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the area feature. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the area. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(Feature, 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<!-- System.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.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the AreaFeature to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the feature that will be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the feature that will be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | This parameter determines the PenBrushingDrawingOrder used when drawing the area type feature. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(AreaBaseShape, 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<!-- System.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.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the feature to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the feature to be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | This parameter determines the PenBrushDrawingOrder used when drawing the area type feature. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(IEnumerable<ScreenPointF[]>, 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<!-- System.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.Core.ScreenPointF|ScreenPointF]][]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF[[]]} --> | This parameter is the AreaShape in well-known binary format. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the feature to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the feature to be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | This parameter determines the PenBrushDrawingOrder used when drawing the area type feature. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.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.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline pen that will be used to draw the AreaShape. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill Brush that will be used to draw the AreaShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.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.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the AreaFeature to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the AreaShape. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(Feature, Single, Single, GeoPen, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the center point feature. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(Feature, Single, Single, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | centerPointFeature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the center point feature. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the the GeoBrush will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(PointBaseShape, Single, Single, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the the GeoBrush will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the center point feature. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(Feature, 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the center point feature. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the ellipse to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the ellipse to be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(PointBaseShape, 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the ellipse to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the ellipse to be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawEllipse(ScreenPointF, 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | screenPoint | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | This parameter is the center point in screen coordinate. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the ellipse to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the ellipse to be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | shape | [[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]]<!-- ThinkGeo.MapSuite.Core.LineBaseShape --> | This parameter is the line shape to be drawn by GeoCannvas. | | ||
| - | | linePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the GeoPen that will be used to draw the line. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the feature to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the feature to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | shape | [[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]]<!-- ThinkGeo.MapSuite.Core.LineBaseShape --> | This parameter is the line shape to be drawn by GeoCannvas. | | ||
| - | | linePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the GeoPen that will be used to draw the line. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the line feature. | | ||
| - | | linePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the GeoPen that will be used to draw the line. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawLine(IEnumerable<ScreenPointF>, 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | screenPoints | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} --> | This parameter is the LineShape in well-known binary format. | | ||
| - | | linePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the GeoPen that will be used to draw the LineShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the feature to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the feature to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the line feature to be drawn by GeoCannvas. | | ||
| - | | linePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the GeoPen that will be used to draw the line. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the feature to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the feature to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | ||
| - | | centerXInScreen | Single<!-- System.Single --> | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | centerYInScreen | Single<!-- System.Single --> | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | widthInScreen | Single<!-- System.Single --> | The width you want to scale the image to. This is the width of the image that will be drawn. | | ||
| - | | heightInScreen | Single<!-- System.Single --> | The height you want to scale the image to. This is the height of the image that will be drawn. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawScreenImageWithoutScaling(Bitmap, 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | Bitmap<!-- System.Drawing.Bitmap --> | The image you want to draw unscaled. | | ||
| - | | centerXInScreen | Single<!-- System.Single --> | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | centerYInScreen | Single<!-- System.Single --> | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw unscaled. | | ||
| - | | centerXInScreen | Single<!-- System.Single --> | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | centerYInScreen | Single<!-- System.Single --> | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawText(String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single) ==== | ||
| - | This method allows you to draw text at the specified location, using the specified brush and font parameters. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | This parameter represents the font you wish to use to draw the text. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter specifies the kind of fill you want to use to draw the text. | | ||
| - | | haloPen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed. | | ||
| - | | textPathInScreen | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} --> | This parameter specifies the path on which to draw the text. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the text to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the text to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the text to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawText(String, GeoFont, GeoBrush, IEnumerable<ScreenPointF>, DrawingLevel) ==== | ||
| - | This method allows you to draw text at the specified location, using the specified brush and font parameters. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | This parameter represents the font you wish to use to draw the text. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter specifies the kind of fill you want to use to draw the text. | | ||
| - | | textPathInScreen | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} --> | This parameter specifies the path on which to draw the text. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, GeoPen, Single, Single, DrawingLevel) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | text | String<!-- System.String --> | | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | | | ||
| - | | haloPen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | | | ||
| - | | upperLeftXInScreen | Single<!-- System.Single --> | | | ||
| - | | upperLeftYInScreen | Single<!-- System.Single --> | | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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. | ||
| - | === 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | This parameter represents the font you wish to use to draw the text. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter specifies the kind of fill you want to use to draw the text. | | ||
| - | | upperLeftXInScreen | Single<!-- System.Single --> | This parameter is the upper left horizontal point in screen coordinates of where you want to start drawing the text from. | | ||
| - | | upperLeftYInScreen | Single<!-- System.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.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawTextWithWorldCoordinate(String, GeoFont, GeoBrush, GeoPen, Double, Double, DrawingLevel) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | text | String<!-- System.String --> | | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | | | ||
| - | | haloPen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | | | ||
| - | | upperLeftXInWorld | Double<!-- System.Double --> | | | ||
| - | | upperLeftYInWorld | Double<!-- System.Double --> | | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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. | ||
| - | === 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | This parameter represents the font you wish to use to draw the text. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter specifies the kind of fill you want to use to draw the text. | | ||
| - | | upperLeftXInWorld | Double<!-- System.Double --> | This parameter is the upper left horizontal point in world coordinates of where you want to start drawing the text from. | | ||
| - | | upperLeftYInWorld | Double<!-- System.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.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | ||
| - | | centerXInWorld | Double<!-- System.Double --> | The X coordinate of the center point of where you want to draw the image. | | ||
| - | | centerYInWorld | Double<!-- System.Double --> | The Y coordinate of the center point of where you want to draw the image. | | ||
| - | | imageScale | Double<!-- System.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.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | ||
| - | | centerXInWorld | Double<!-- System.Double --> | The X coordinate of the center point of where you want to draw the image. | | ||
| - | | centerYInWorld | Double<!-- System.Double --> | The Y coordinate of the center point of where you want to draw the image. | | ||
| - | | widthInScreen | Single<!-- System.Single --> | The width you want to scale the image to. This is the width of the image that will be drawn. | | ||
| - | | heightInScreen | Single<!-- System.Single --> | The height you want to scale the image to. This is the height of the image that will be drawn. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | ||
| - | | centerXInWorld | Double<!-- System.Double --> | The X coordinate of the center point of where you want to draw the image. | | ||
| - | | centerYInWorld | Double<!-- System.Double --> | The Y coordinate of the center point of where you want to draw the image. | | ||
| - | | widthInScreen | Single<!-- System.Single --> | The width you want to scale the image to. This is the width of the image that will be drawn. | | ||
| - | | heightInScreen | Single<!-- System.Single --> | The height you want to scale the image to. This is the height of the image that will be drawn. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw unscaled. | | ||
| - | | centerXInWorld | Double<!-- System.Double --> | The X coordinate of the center point of where you want to draw the image. | | ||
| - | | centerYInWorld | Double<!-- System.Double --> | The Y coordinate of the center point of where you want to draw the image. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw unscaled. | | ||
| - | | centerXInWorld | Double<!-- System.Double --> | The X coordinate of the center point (in world coordinates) of where you want to draw the image. | | ||
| - | | centerYInWorld | Double<!-- System.Double --> | The Y coordinate of the center point (in world coordinates) of where you want to draw the image. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawWorldImageWithoutScaling(Bitmap, 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. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | Bitmap<!-- System.Drawing.Bitmap --> | The image you want to draw unscaled. | | ||
| - | | centerXInWorld | Double<!-- System.Double --> | The X coordinate of the center point (in world coordinates) of where you want to draw the image. | | ||
| - | | centerYInWorld | Double<!-- System.Double --> | The Y coordinate of the center point (in world coordinates) of where you want to draw the image. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset (in pixels) for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset (in pixels) for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== DrawWorldImageWithoutScaling(Bitmap, Double, Double, DrawingLevel) ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | Bitmap<!-- System.Drawing.Bitmap --> | The image you want to draw unscaled. | | ||
| - | | centerXInWorld | Double<!-- System.Double --> | The X coordinate of the center point (in world coordinates) of where you want to draw the image. | | ||
| - | | centerYInWorld | Double<!-- System.Double --> | The Y coordinate of the center point (in world coordinates) of where you want to draw the image. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== Equals(Object) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Boolean<!-- System.Boolean --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | obj | Object<!-- System.Object --> | | | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== FillBackground(GeoImage, GeoBrush) ==== | ||
| - | <!-- static --> | ||
| - | This method fills the specified GeoImage with the specified GeoBrush. | ||
| - | === Remarks === | ||
| - | This method allows you to fill a GeoImage with the specific fill style of the GeoBrush you pass in. It is useful for setting backgrounds. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This parameter is the GeoImage you want to set the background on. | | ||
| - | | brush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter is the GeoBrush you want to fill the background with. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetHashCode() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetStreamFromGeoImage(GeoImage) ==== | ||
| - | This method returns a stream that represents the GeoImage in TIFF format. | ||
| - | === Remarks === | ||
| - | This method allows you to get the stream out of a GeoImage. The stream is a memory stream and the bytes are in TIFF format. Once you have the stream, you can then save it to whatever format you need. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Stream<!-- System.IO.Stream --> | This method returns a stream that represents the GeoImage in TIFF format. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This parameter is the GeoImage you want to convert to a stream. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetType() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Type<!-- System.Type --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#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.Core.DrawingRectangleF|DrawingRectangleF]]<!-- ThinkGeo.MapSuite.Core.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<!-- System.String --> | This parameter represents the text you want to measure. | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | This parameter represents the font of the text you want to measure. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The returning GeoImage containing the same information as the passed-in nativeImage. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | The target object to be converted. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#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<!-- System.Object --> | The returning object containing the same information as the passed-in geoImage. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The target geoImage to convert. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToString() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | This parameter represents the image you want the GeoCanvas to draw on. | | ||
| - | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter is the world extent of the canvasImage. | | ||
| - | | drawingMapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.Core.GeographyUnit --> | This parameter is the map unit of the canvasImage. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter specifies the the brush that will be used to clear the GeoCanvas. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== CloneDeepCore() ==== | ||
| - | Create a copy of GeoCanvas using the deep clone process. The default implementation uses serialization. | ||
| - | === Remarks === | ||
| - | The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | A cloned GeoCanvas. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== DrawAreaCore(IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | ||
| - | This method draws the 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | screenPoints | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]][]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF[[]]} --> | This parameter is the area point in screen coordinates. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the area. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the GeoBrush that will be used to draw the area. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the area to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the area to be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | This parameter determines pen and brush drawing order. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== DrawEllipseCore(ScreenPointF, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | ||
| - | Draws the 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | screenPoint | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | This parameter is the point in screen coordinates. | | ||
| - | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | ||
| - | | height | Single<!-- System.Single --> | This parameter describes the height of the ellipse to be drawn. | | ||
| - | | outlinePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the outline GeoPen that will be used to draw the point. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter describes the fill GeoBrush that will be used to draw the point. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset of the ellipse to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset of the ellipse to be drawn. | | ||
| - | | penBrushDrawingOrder | [[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]]<!-- ThinkGeo.MapSuite.Core.PenBrushDrawingOrder --> | This parameter determines pen and brush drawing order. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== DrawLineCore(IEnumerable<ScreenPointF>, GeoPen, DrawingLevel, Single, Single) ==== | ||
| - | Draws a 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | screenPoints | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} --> | This parameter represents the line points in screen coordinates. | | ||
| - | | linePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the GeoPen that will be used to draw the LineShape. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel that the GeoPen will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the line to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the line to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | ||
| - | | centerXInScreen | Single<!-- System.Single --> | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | centerYInScreen | Single<!-- System.Single --> | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | widthInScreen | Single<!-- System.Single --> | The width you want to scale the image to. This is the width at which the image will be drawn. | | ||
| - | | heightInScreen | Single<!-- System.Single --> | The height you want to scale the image to. This is the height at which the image will be drawn. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw unscaled. | | ||
| - | | centerXInScreen | Single<!-- System.Single --> | The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | centerYInScreen | Single<!-- System.Single --> | The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter determines the DrawingLevel the image will draw on. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the image to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the image to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the image to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== DrawTextCore(String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single) ==== | ||
| - | This method allows you to draw text at the specified location, using the specified brush and font parameters. | ||
| - | === 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | This parameter represents the font you wish to use to draw the text. | | ||
| - | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter specifies the kind of fill you want to use to draw the text. | | ||
| - | | haloPen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed. | | ||
| - | | textPathInScreen | IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} --> | This parameter specifies the path on which to draw the text. | | ||
| - | | drawingLevel | [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]<!-- ThinkGeo.MapSuite.Core.DrawingLevel --> | This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | | ||
| - | | xOffset | Single<!-- System.Single --> | This parameter determines the X offset for the text to be drawn. | | ||
| - | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the text to be drawn. | | ||
| - | | rotateAngle | Single<!-- System.Single --> | This parameter determines the rotation angle for the text to be drawn. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== EndDrawingCore() ==== | ||
| - | 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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== Finalize() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#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<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#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 ^ | ||
| - | | Single<!-- System.Single --> | The returning canvas height. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | The native image that will be used to get the image height. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== GetCanvasHeightCore(Object) ==== | ||
| - | This method gets the canvas height of the specified native image object. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Single<!-- System.Single --> | The returning canvas height. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | The native image will be used to get the canvas height. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#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 ^ | ||
| - | | Single<!-- System.Single --> | The returning canvas width. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | The native image that will be used to get the image width. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== GetCanvasWidthCore(Object) ==== | ||
| - | This method gets the canvas width of the specified native image object. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Single<!-- System.Single --> | The returning canvas width. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | The native image will be used to get the canvas width. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#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.Core.DrawingRectangleF|DrawingRectangleF]]<!-- ThinkGeo.MapSuite.Core.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<!-- System.String --> | This parameter represents the text you want to measure. | | ||
| - | | font | [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]]<!-- ThinkGeo.MapSuite.Core.GeoFont --> | This parameter represents the font of the text you want to measure. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== MemberwiseClone() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object<!-- System.Object --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | e | [[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]]<!-- ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== ToGeoImageCore(Object) ==== | ||
| - | This method returns a GeoImage from a native image object. | ||
| - | === Remarks === | ||
| - | This method will allows you to convert your native image object to a GeoImage. Many times, when you work with a GeoCanvas, you may not know the format of the native image. Using this method you can always convert it back to a GeoImage, which is a stream of a TIFF. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This method returns a GeoImage from a native image object. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | nativeImage | Object<!-- System.Object --> | This parameter is the native image object you want to convert to a GeoImage. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== ToNativeImageCore(GeoImage) ==== | ||
| - | This method returns a native image object from the specified GeoCanvas. | ||
| - | === Remarks === | ||
| - | It is faster to provide a native image object to the canvas for drawing. In some cases, you may not know what the native image type is. For example, for GDI+ it is a bitmap class, but in GDI it may be a handled to an HBitmap. If you are not sure how to create the native image object, you should first create a GeoImage and then call this method and it will pass back the native image object. You can then use it to get excellent drawing performance on the GeoCanvas. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object<!-- System.Object --> | This method returns a native image object from the specified GeoCanvas. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This parameter is the GeoCanvas you want to convert to a native image. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | ==== ClippingArea ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== CompositingQuality ==== | ||
| - | This property returns or sets the quality level to use during compositing. | ||
| - | === Remarks === | ||
| - | This property is used for GDI+ drawing. The excerpt below is from the GDI+ documentation: | ||
| - | |||
| - | Compositing is done during rendering when the source pixels are combined with the destination pixels to produce the resultant pixels. The quality of compositing directly relates to the visual quality of the output and is inversely proportional to the render time. The higher the quality, the slower the render time. This is because the higher the quality level, the more surrounding pixels need to be taken into account during the composite. The linear quality setting (AssumeLinear) compromises by providing better quality than the default quality at a slightly lower speed. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | CompositingQuality<!-- System.Drawing.Drawing2D.CompositingQuality --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== CurrentScale ==== | ||
| - | This property gets the current scale of the canvas. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Double<!-- System.Double --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== 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.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== Dpi ==== | ||
| - | The DPI value for the final drawing result, only valid when HasDpi set to true. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Single<!-- System.Single --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== DrawingQuality ==== | ||
| - | This property returns the drawing quality when rendering on the GeoCanvas. | ||
| - | === Remarks === | ||
| - | The DrawingQuality specifies whether BaseLineShapes, BasePointShapes, and BaseAreaShapes use anti-aliasing methods or other techniques that control the quality. In some cases you may want a higher quality rendering, and in other cases higher speed is more desirable. It is up to the implementer of the derived GeoCanvas class to control exactly what this setting means. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]]<!-- ThinkGeo.MapSuite.Core.DrawingQuality --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== HasKeyColor ==== | ||
| - | This property indicates whether a GdiPlusGeoCanvas has the KeyColor or not. If it has no KeyColor, it will throw an exception when you get or set the value of KeyColors property. | ||
| - | === Remarks === | ||
| - | The default value is true. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Boolean<!-- System.Boolean --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas(overriden) --> | ||
| - | [[#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 ^ | ||
| - | | Single<!-- System.Single --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== InterpolationMode ==== | ||
| - | Gets or sets the interpolation mode associated with this System.Drawing.Graphics. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | InterpolationMode<!-- System.Drawing.Drawing2D.InterpolationMode --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#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<!-- System.Boolean --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== KeyColors ==== | ||
| - | Gets a value represents a collection of key colors. If HasKeyColor property is false, it will throw exception when you use KeyColors. | ||
| - | === Remarks === | ||
| - | It will make these colors transparent when draw image. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Collection<[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.GeoColor} --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== MapUnit ==== | ||
| - | This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.Core.GeographyUnit --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== NativeImage ==== | ||
| - | The same reference to the parameter 'nativeImage' in BeginDrawing function. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Object<!-- System.Object --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== SmoothingMode ==== | ||
| - | This property returns or sets the rendering quality for this GeoCanvas. | ||
| - | === Remarks === | ||
| - | This property is used for GDI+ drawing. The excerpt below is from the GDI+ documentation: | ||
| - | |||
| - | The smoothing mode specifies whether lines, curves, and the edges of filled areas use smoothing (also called antialiasing). One exception is that path gradient brushes do not obey the smoothing mode. Areas filled using a PathGradientBrush are rendered the same way (aliased) regardless of the SmoothingMode property. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | SmoothingMode<!-- System.Drawing.Drawing2D.SmoothingMode --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== TextRenderingHint ==== | ||
| - | This property returns or sets the rendering mode for text associated with this GeoCanvas. | ||
| - | === Remarks === | ||
| - | This property is used for GDI+ drawing. The excerpt below is from the GDI+ documentation: | ||
| - | |||
| - | The text rendering hint specifies whether text renders with antialiasing. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | TextRenderingHint<!-- System.Drawing.Text.TextRenderingHint --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas --> | ||
| - | [[#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 ^ | ||
| - | | Single<!-- System.Single --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
| - | ==== DrawingProgressChanged ==== | ||
| - | === Event Arguments === | ||
| - | ^ Event Arguments ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]]<!-- ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
| - | [[#Public Events|Go Back]] | ||
| - | |||
| - | __NOTOC__ | ||
| - | [[Category:MapSuiteCore]] | ||
| - | [[Category:ThinkGeo.MapSuite.Core]] | ||
| - | [[Category:UpdateDocumentation]] | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.