This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.core.geocanvas [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.core.geocanvas [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.GeoCanvas ====== | ====== ThinkGeo.MapSuite.Core.GeoCanvas ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Class --> | ||
This class represents a canvas that is used to draw geographic shapes. It is intended to be inherited for the implementation of different drawing systems, such as GDI+ or WPF. | This class represents a canvas that is used to draw geographic shapes. It is intended to be inherited for the implementation of different drawing systems, such as GDI+ or WPF. | ||
- | === Remarks === | ||
- | This class allows you to implement different drawing systems, such as GDI+, GDI, or WPF. It can also be used for other systems, such as PDF. | ||
- | |||
- | The basic flow of the use of the class is to first call BeginDrawing and pass in an image along with its world extent. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.Core.GeoCanvas]] | + | ***ThinkGeo.MapSuite.Core.GeoCanvas** |
- | ***[[ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas]] | + | *[[ThinkGeo.MapSuite.Core.KmlGeoCanvas]] |
- | ***[[ThinkGeo.MapSuite.Core.KmlGeoCanvas]] | + | *[[ThinkGeo.MapSuite.Core.PrinterGeoCanvas]] |
- | ***[[ThinkGeo.MapSuite.Core.PrinterGeoCanvas]] | + | *[[ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas]] |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} GeoCanvas() ** |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GeoCanvas()|GeoCanvas]] | | | This method is the default constructor for the GeoCanvas. | | + | |
+ | * //This method is the default constructor for the GeoCanvas.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#BeginDrawing(Object, RectangleShape, GeographyUnit)|BeginDrawing]] | Object, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | This method begins the act of drawing on the GeoCanvas. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Clear(GeoBrush)|Clear]] | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | | This method clears the current GeoCanvas using the color specified. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#CloneDeep()|CloneDeep]] | | | Create a copy of GeoCanvas using the deep clone process. | | + | |
- | | {{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]] | | 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]] | | 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]] | | 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]] | | 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]] | | This method draws an area on the GeoCanvas. | | + | |
- | | {{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]] | | 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]] | | 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]] | | 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]] | | This method draws an area 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]] | | 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]] | | Draws a point 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]] | | 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]] | | 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]] | | 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]] | | 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]] | | 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]] | | 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]] | | Draws a point 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 | | 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 | | Draws the LineShape 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 | | 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]] | | 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]] | | 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 | | Draws a screen 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 | | Draws an unscaled image on the GeoCanvas. | | + | |
- | | {{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]] | | 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, 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 | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, Single, Single, DrawingLevel)|DrawTextWithScreenCoordinate]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]], [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]], Single, Single, [[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, 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]] | | | | + | |
- | | {{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]] | | 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]] | | | | + | |
- | | {{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 | | Draws a world 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 | | 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]] | | Draws a scaled 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]] | | 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 | | Draws an unscaled image on the GeoCanvas. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#EndDrawing()|EndDrawing]] | | | This method ends drawing and commits the drawing on the GeoCanvas. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Flush()|Flush]] | | | This method flush drawing and commits the drawing on the GeoCanvas. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetStreamFromGeoImage(GeoImage)|GetStreamFromGeoImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | | Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#MeasureText(String, GeoFont)|MeasureText]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToGeoImage(Object)|ToGeoImage]] | Object | | This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToNativeImage(GeoImage)|ToNativeImage]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | | This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //Create a copy of GeoCanvas using the deep clone process.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#BeginDrawingCore(Object, RectangleShape, GeographyUnit)|BeginDrawingCore]] | Object, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | This method begins the act of drawing on the GeoCanvas. | | + | * //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.// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ClearCore(GeoBrush)|ClearCore]] | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | | This method clears the current GeoCanvas using the color specified. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloneDeepCore()|CloneDeepCore]] | | | 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]] | | This method draws an 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]] | | Draws a 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 | | Draws the 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 | | 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 | | 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 | | This method allows you to draw text at the specified location, using the specified brush and font parameters. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#EndDrawingCore()|EndDrawingCore]] | | | This method ends drawing and commits the drawing on the GeoCanvas. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#FlushCore()|FlushCore]] | | | This method flush drawing and commits the drawing on the GeoCanvas. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasHeight(Object)|GetCanvasHeight]] | Object | | This method gets the canvas height of the passed-in native image object. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasHeightCore(Object)|GetCanvasHeightCore]] | Object | | This method gets the canvas height of the passed-in native image object. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasWidth(Object)|GetCanvasWidth]] | Object | | This method gets the canvas width of the passed-in native image object. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetCanvasWidthCore(Object)|GetCanvasWidthCore]] | Object | | This method gets the canvas width of the passed-in native image object. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MeasureTextCore(String, GeoFont)|MeasureTextCore]] | String, [[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | | This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingProgressChanged(DrawingProgressChangedEventArgs)|OnDrawingProgressChanged]] | [[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ToGeoImageCore(Object)|ToGeoImageCore]] | Object | | This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ToNativeImageCore(GeoImage)|ToNativeImageCore]] | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | | This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap. | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ClippingArea|ClippingArea]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | | | + | * Description:A cloned GeoCanvas. |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentScale|CurrentScale]] | Double | | This property gets the current scale of the canvas. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentWorldExtent|CurrentWorldExtent]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This property gets the adjusted current extent based on what was set when BeginDrawing was called. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Dpi|Dpi]] | Single | | 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]] | | This property returns the drawing quality when rendering on the GeoCanvas. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#HasKeyColor|HasKeyColor]] | Boolean | | This property indicates whether a GeoCanvas 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 | | This property gets the height of the canvas. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsDrawing|IsDrawing]] | Boolean | | This property gets the drawing status of the GeoCanvas. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#KeyColors|KeyColors]] | Collection<[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]]> | | 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]] | | This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#NativeImage|NativeImage]] | Object | | The same reference to the parameter 'nativeImage' in BeginDrawing function. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Width|Width]] | Single | | This property gets the width of the canvas. | | + | |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} Clear(GeoBrush) ** | ||
- | ==== Public Events ==== | + | * //This method clears the current GeoCanvas using the color specified.// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingProgressChanged|DrawingProgressChanged]] | [[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | | | | + | * //Use this method to clear the GeoCanvas.// |
- | ===== Public Constructors ===== | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:Void |
- | ==== GeoCanvas() ==== | + | * Description:N/A |
- | This method is the default constructor for the GeoCanvas. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Protected Constructors|Go Back]] | + | == Parameters == |
- | ===== Public Methods ===== | + | * //fillBrush// |
- | ==== BeginDrawing(Object, RectangleShape, GeographyUnit) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | This method begins the act of drawing on the GeoCanvas. | + | * Description:N/A |
- | === 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 === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,DrawingLevel) ** |
- | | 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 --> | + | * //This method draws an area on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Clear(GeoBrush) ==== | + | * //This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.// |
- | This method 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 === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | ==== CloneDeep() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | Create a copy of GeoCanvas using the deep clone process. | + | * Description:This parameter is the area feature. |
- | === 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 === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
+ | * Description:This parameter describes the outline GeoPen that will be used to draw the area. | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,DrawingLevel) ** |
- | ^ 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 === | + | * //This method draws an area on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | shape | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape to be drawn. | | + | * //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.// |
- | | 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 --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== DrawArea(IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Description:N/A |
- | 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. | + | == Parameters == |
- | === Return Value === | + | * //shape// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]] |
- | | 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. | | + | * Description:This parameter is the area shape. |
- | === Parameters === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | | 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. | | + | * Description:This parameter describes the outline GeoPen that will be used to draw the area. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoBrush,DrawingLevel) ** |
- | ^ 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 === | + | * //This method draws an area on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the AreaFeature to be drawn. | | + | * //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.// |
- | | 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 --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel) ==== | + | * Description:This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | == Parameters == |
- | === Return Value === | + | * //feature// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | | 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. | | + | * Description:This parameter is the AreaShape in well-known binary format. |
- | === Parameters === | + | * //fillBrush// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | | shape | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape to be drawn. | | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the AreaShape. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoBrush,DrawingLevel) ** |
- | ^ 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 === | + | * //This method draws an area on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the AreaFeature to be drawn. | | + | * //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.// |
- | | 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 --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== DrawArea(AreaBaseShape, GeoBrush, DrawingLevel) ==== | + | * Description:This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | == Parameters == |
- | === Return Value === | + | * //shape// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]] |
- | | 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. | | + | * Description:This parameter is the area shape to be drawn. |
- | === Parameters === | + | * //fillBrush// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | | shape | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape to be drawn. | | + | * Description:This parameter describes the fill Brush 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 --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawArea(Feature, GeoBrush, DrawingLevel) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel) ** |
- | ^ 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 === | + | * //This method draws an area on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the AreaShape in well-known binary format. | | + | * //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.// |
- | | 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 --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== DrawArea(AreaBaseShape, GeoPen, DrawingLevel) ==== | + | * Description:This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | == Parameters == |
- | === Return Value === | + | * //feature// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | | Void<!-- System.Void --> | | | + | * Description:This parameter is the AreaFeature to be drawn. |
- | === Parameters === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | | shape | [[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]]<!-- ThinkGeo.MapSuite.Core.AreaBaseShape --> | This parameter is the area shape. | | + | * Description:This parameter describes the outline GeoPen that will be used to draw the AreaShape. |
- | | 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 --> | + | * //fillBrush// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | ==== DrawArea(Feature, GeoPen, DrawingLevel) ==== | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the AreaShape. |
- | This method draws an area on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset. | + | * //drawingLevel// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel) ** |
- | | 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 --> | + | * //This method draws an area on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== DrawEllipse(Feature, Single, Single, GeoBrush, DrawingLevel) ==== | + | * //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.// |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | == Return Value == |
- | === Return Value === | + | * Type:Void |
- | ^ Return Type ^ Description ^ | + | * Description: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. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //shape// |
- | | centerPointFeature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the center point feature. | | + | * Type:[[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]] |
- | | width | Single<!-- System.Single --> | This parameter describes the width of the ellipse to be drawn. | | + | * Description:This parameter is the area shape 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 --> | + | * //outlinePen// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel) ==== | + | * Description:This parameter describes the outline pen that will be used to draw the AreaShape. |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | * //fillBrush// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter describes the fill Brush that will be used to draw the AreaShape. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //drawingLevel// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | | 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 --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** |
- | ==== DrawEllipse(Feature, Single, Single, GeoPen, DrawingLevel) ==== | + | |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | * //This method draws an area on the GeoCanvas.// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //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.// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the center point feature. | | + | * Description: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. |
- | | 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 --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | ==== DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | Draws a point on the GeoCanvas. | + | * Description:This parameter is the AreaFeature to be drawn. |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | * //outlinePen// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter describes the outline GeoPen that will be used to draw the AreaShape. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //fillBrush// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the center point feature. | | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the AreaShape. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, DrawingLevel) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoPen and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | * //xOffset// |
- | === Return Value === | + | * Type:Single |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the X offset for the feature that will be drawn. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //yOffset// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | + | * Description:This parameter determines the Y offset for the feature that will be drawn. |
- | | 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 --> | + | * //penBrushDrawingOrder// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] |
- | ==== DrawEllipse(ScreenPointF, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Description:This parameter determines the PenBrushingDrawingOrder used when drawing the area type feature. |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This method draws an area on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | screenPoint | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | This parameter is the center point in screen coordinate. | | + | * //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.// |
- | | 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 --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== DrawEllipse(PointBaseShape, Single, Single, GeoBrush, DrawingLevel) ==== | + | * Description: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. |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | == Parameters == |
- | === Return Value === | + | * //shape// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.AreaBaseShape|AreaBaseShape]] |
- | | Void<!-- System.Void --> | | | + | * Description:This parameter is the area shape to be drawn. |
- | === Parameters === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | + | * Description:This parameter describes the outline GeoPen that will be used to draw the AreaShape. |
- | | 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 --> | + | * //fillBrush// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | ==== DrawEllipse(PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the AreaShape. |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | * //drawingLevel// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //xOffset// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | shape | [[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]]<!-- ThinkGeo.MapSuite.Core.PointBaseShape --> | This parameter is the center point shape. | | + | * Description:This parameter determines the X offset for the feature to be drawn. |
- | | 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 --> | + | * //yOffset// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ==== DrawEllipse(Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel) ==== | + | * Description:This parameter determines the Y offset for the feature to be drawn. |
- | Draws a point on the GeoCanvas. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the GeoBrush, GeoPen, and the DrawingLevel you want to draw on. | + | |
- | === Remarks === | + | |
- | This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing many points. | + | * //penBrushDrawingOrder// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the PenBrushDrawingOrder used when drawing the area type feature. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawArea(IEnumerable<ScreenPointF[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** |
- | | 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 --> | + | * //This method draws an area on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== DrawLine(Feature, GeoPen, DrawingLevel, Single, Single) ==== | + | * //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.// |
- | 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 Value === | + | * Type:Void |
- | ^ Return Type ^ Description ^ | + | * Description: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. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //screenPoints// |
- | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the line feature to be drawn by GeoCannvas. | | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF[]|ScreenPointF[]]]> |
- | | linePen | [[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]]<!-- ThinkGeo.MapSuite.Core.GeoPen --> | This parameter describes the GeoPen that will be used to draw the line. | | + | * Description:This parameter is the AreaShape in well-known binary format. |
- | | 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 --> | + | * //outlinePen// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ==== DrawLine(IEnumerable<ScreenPointF>, GeoPen, DrawingLevel, Single, Single) ==== | + | * Description:This parameter describes the outline GeoPen that will be used to draw the AreaShape. |
- | 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. | + | * //fillBrush// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the AreaShape. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //drawingLevel// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | | 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. | | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | | 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 --> | + | * //xOffset// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ==== DrawLine(LineBaseShape, GeoPen, DrawingLevel, Single, Single) ==== | + | * Description:This parameter determines the X offset for the feature to be drawn. |
- | 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. | + | * //yOffset// |
- | === Return Value === | + | * Type:Single |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the Y offset for the feature to be drawn. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //penBrushDrawingOrder// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] |
- | | shape | [[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]]<!-- ThinkGeo.MapSuite.Core.LineBaseShape --> | This parameter is the line shape to be drawn by GeoCannvas. | | + | * Description:This parameter determines the PenBrushDrawingOrder used when drawing the area type 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. | | + | |
- | | 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 --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DrawLine(Feature,GeoPen,DrawingLevel) ** |
- | ==== 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. | + | * //Draws a line on the GeoCanvas.// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //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.// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | shape | [[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]]<!-- ThinkGeo.MapSuite.Core.LineBaseShape --> | This parameter is the line shape to be drawn by GeoCannvas. | | + | * Description:N/A |
- | | 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 --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | ==== DrawLine(Feature, GeoPen, DrawingLevel) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | Draws a line on the GeoCanvas. | + | * Description:This parameter is the line feature. |
- | === 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. | + | * //linePen// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter describes the GeoPen that will be used to draw the line. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //drawingLevel// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | | feature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | This parameter is the line feature. | | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | | 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 --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DrawLine(LineBaseShape,GeoPen,DrawingLevel) ** |
- | ==== 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 === | + | * //Draws a line on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | + | * //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.// |
- | | 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 --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== DrawScreenImageWithoutScaling(GeoImage, Single, Single, DrawingLevel, Single, Single, Single) ==== | + | * Description:N/A |
- | 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. | + | == Parameters == |
- | === Return Value === | + | * //shape// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]] |
- | | Void<!-- System.Void --> | | | + | * Description:This parameter is the line shape to be drawn by GeoCannvas. |
- | === Parameters === | + | * //linePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw unscaled. | | + | * Description:This parameter describes the GeoPen that will be used to draw the line. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawText(String, GeoFont, GeoBrush, IEnumerable<ScreenPointF>, DrawingLevel) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | 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 === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawLine(Feature,GeoPen,DrawingLevel,Single,Single) ** |
- | | 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 --> | + | * //Draws a line on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== DrawText(String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single) ==== | + | * //This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.// |
- | 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 === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | + | * Description:N/A |
- | | 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 --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | ==== DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, Single, Single, DrawingLevel) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | This method allows you to draw text at the specified location, using the specified brush and font parameters. | + | * Description:This parameter is the line feature to be drawn by GeoCannvas. |
- | === Overloads === | + | |
- | This overload allows you to specify the location in screen coordinates. | + | |
- | === Remarks === | + | |
- | This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing multiple text items. This is very useful when you want to draw a drop shadow, for example. You can draw the black backdrop on the lowest level with an offset, then draw the normal text on a higher level without an offset. | + | * //linePen// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter describes the GeoPen that will be used to draw the line. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //drawingLevel// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | | 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 --> | + | * //xOffset// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ==== DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, GeoPen, Single, Single, DrawingLevel) ==== | + | * Description:This parameter determines the X offset for the feature to be drawn. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //yOffset// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | text | String<!-- System.String --> | | | + | * Description:This parameter determines the Y offset for the feature to be drawn. |
- | | 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 --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DrawLine(LineBaseShape,GeoPen,DrawingLevel,Single,Single) ** |
- | ==== DrawTextWithWorldCoordinate(String, GeoFont, GeoBrush, Double, Double, DrawingLevel) ==== | + | |
- | This method allows you to draw text at the specified location, using the specified brush and font parameters. | + | |
- | === Overloads === | + | |
- | This overload allows you to specify the location in world coordinates. | + | |
- | === Remarks === | + | |
- | This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc. | + | |
- | The DrawingLevel allows you to specify the level you will draw on when drawing multiple text items. This is very useful when you want to draw a drop shadow, for example. You can draw the black backdrop on the lowest level with an offset, then draw the normal text on a higher level without an offset. | + | * //Draws a line on the GeoCanvas.// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //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.// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | + | * Description:N/A |
- | | 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 --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shape// |
- | ==== DrawTextWithWorldCoordinate(String, GeoFont, GeoBrush, GeoPen, Double, Double, DrawingLevel) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.LineBaseShape|LineBaseShape]] |
- | === Return Value === | + | * Description:This parameter is the line shape to be drawn by GeoCannvas. |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //linePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | | text | String<!-- System.String --> | | | + | * Description:This parameter describes the GeoPen that will be used to draw the line. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawWorldImage(GeoImage, Double, Double, Double, DrawingLevel, Single, Single, Single) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | 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 === | + | * //xOffset// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | + | * Description:This parameter determines the X offset for the feature to be drawn. |
- | | 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 --> | + | * //yOffset// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ==== DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel, Single, Single, Single) ==== | + | * Description:This parameter determines the Y offset for the feature to be drawn. |
- | 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 === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawLine(IEnumerable<ScreenPointF>,GeoPen,DrawingLevel,Single,Single) ** |
- | | 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 --> | + | * //Draws the LineShape on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== DrawWorldImage(GeoImage, Double, Double, Single, Single, DrawingLevel) ==== | + | * //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.// |
- | 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 === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | + | * Description:N/A |
- | | 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 --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //screenPoints// |
- | ==== DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel) ==== | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]> |
- | Draws an unscaled image on the GeoCanvas. | + | * Description:This parameter is the LineShape in well-known binary format. |
- | === 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. | + | * //linePen// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter describes the GeoPen that will be used to draw the LineShape. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //drawingLevel// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw unscaled. | | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | | 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 --> | + | * //xOffset// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ==== DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel, Single, Single, Single) ==== | + | * Description:This parameter determines the X offset for the feature to be drawn. |
- | 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. | + | * //yOffset// |
- | === Return Value === | + | * Type:Single |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the Y offset for the feature to be drawn. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,DrawingLevel) ** |
- | | 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 --> | + | * //Draws a point on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== EndDrawing() ==== | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.// |
- | This method 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 === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | ==== Equals(Object) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | === Return Value === | + | * Description:This parameter is the center point feature. |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | * //width// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | obj | Object<!-- System.Object --> | | | + | * Description:This parameter describes the width of the ellipse to be drawn. |
- | <!-- System.Object --> | + | * //height// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ==== Flush() ==== | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | 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 === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
+ | * Description:This parameter describes the outline GeoPen that will be used to draw the point. | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== GetHashCode() ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,DrawingLevel) ** |
- | <!-- System.Object --> | + | * //Draws a point on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetStreamFromGeoImage(GeoImage) ==== | + | * //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.// |
- | Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Stream<!-- System.IO.Stream --> | The returning stream retrieved from the passed-in image. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The parameter specifies the image to get the stream from. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shape// |
- | ==== GetType() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]] |
- | === Return Value === | + | * Description:This parameter is the center point shape. |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | * //width// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
+ | * Description:This parameter describes the width of the ellipse to be drawn. | ||
- | <!-- System.Object --> | + | * //height// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ==== MeasureText(String, GeoFont) ==== | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | 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 === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | | text | String<!-- System.String --> | This parameter represents the text you want to measure. | | + | * Description:This parameter describes the outline GeoPen that will be used to draw the point. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== ToGeoImage(Object) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. |
- | 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 === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoBrush,DrawingLevel) ** |
- | | nativeImage | Object<!-- System.Object --> | The target object to be converted. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //Draws a point on the GeoCanvas.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ToNativeImage(GeoImage) ==== | + | * //This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.// |
- | This method 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 === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The target geoImage to convert. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //centerPointFeature// |
- | ==== ToString() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | === Return Value === | + | * Description:This parameter is the center point feature. |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //width// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
+ | * Description:This parameter describes the width of the ellipse to be drawn. | ||
- | <!-- System.Object --> | + | * //height// |
- | [[#Public Methods|Go Back]] | + | * Type:Single |
- | ===== Protected Methods ===== | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | ==== 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 === | + | * //fillBrush// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | | nativeImage | Object<!-- System.Object --> | This parameter represents the image you want the GeoCanvas to draw on. | | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== ClearCore(GeoBrush) ==== | + | * Description:This parameter determines the DrawingLevel the the GeoBrush will draw on. |
- | 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. | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoBrush,DrawingLevel) ** |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //Draws a point on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | fillBrush | [[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]]<!-- ThinkGeo.MapSuite.Core.GeoBrush --> | This parameter specifies the the brush that will be used to clear the GeoCanvas. | | + | * //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.// |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== CloneDeepCore() ==== | + | * Description:N/A |
- | 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 === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //shape// |
+ | * Type:[[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]] | ||
+ | * Description:This parameter is the center point shape. | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //width// |
- | [[#Protected Methods|Go Back]] | + | * Type:Single |
- | ==== DrawAreaCore(IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Description:This parameter describes the width of the ellipse to be drawn. |
- | 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. | + | * //height// |
- | === Return Value === | + | * Type:Single |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | | 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 === | + | * //fillBrush// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | | 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. | | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. |
- | | 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 --> | + | * //drawingLevel// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== DrawEllipseCore(ScreenPointF, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder) ==== | + | * Description:This parameter determines the DrawingLevel the the GeoBrush will draw on. |
- | 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. | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel) ** |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //Draws a point on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | screenPoint | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | This parameter is the center point in well-known binary format. | | + | * //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.// |
- | | 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 screenPoint to be drawn. | | + | |
- | | yOffset | Single<!-- System.Single --> | This parameter determines the Y offset for the screenPoint 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 --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== DrawLineCore(IEnumerable<ScreenPointF>, GeoPen, DrawingLevel, Single, Single) ==== | + | * Description:N/A |
- | 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. | + | == Parameters == |
- | === Return Value === | + | * //feature// |
- | ^ Return Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | | Void<!-- System.Void --> | | | + | * Description:This parameter is the center point feature. |
- | === Parameters === | + | * //width// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | 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. | | + | * Description:This parameter describes the width of the ellipse to be drawn. |
- | | 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 --> | + | * //height// |
- | [[#Protected Methods|Go Back]] | + | * Type:Single |
- | ==== DrawScreenImageCore(GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single) ==== | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | 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 === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw. | | + | * Description:This parameter describes the outline GeoPen that will be used to draw the point. |
- | | 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 --> | + | * //fillBrush// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | ==== DrawScreenImageWithoutScalingCore(GeoImage, Single, Single, DrawingLevel, Single, Single, Single) ==== | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. |
- | 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 === | + | * //drawingLevel// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The image you want to draw unscaled. | | + | * Description:This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. |
- | | 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 --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel) ** |
- | ==== 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. | + | * //Draws a point on the GeoCanvas.// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //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.// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | text | String<!-- System.String --> | This parameter specifies the text you wish to draw. | | + | * Description:N/A |
- | | 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 --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //shape// |
- | ==== EndDrawingCore() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]] |
- | This method ends drawing and commits the drawing on the GeoCanvas. | + | * Description:This parameter is the center point shape. |
- | === Remarks === | + | |
- | This methods should be called when you are finished drawing. It will commit the image changes to the image you passed in on BeginDrawing. It will also set IsDrawing to false. After you call this method it will put the GeoCanvas into an invalid state, so if you then call any drawing methods it will raise an exception. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //width// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
+ | * Description:This parameter describes the width of the ellipse to be drawn. | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //height// |
- | [[#Protected Methods|Go Back]] | + | * Type:Single |
- | ==== Finalize() ==== | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //outlinePen// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
+ | * Description:This parameter describes the outline GeoPen that will be used to draw the point. | ||
- | <!-- System.Object --> | + | * //fillBrush// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | ==== FlushCore() ==== | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. |
- | 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 === | + | * //drawingLevel// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
+ | * Description:This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** |
- | ==== 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 === | + | * //Draws a point on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | nativeImage | Object<!-- System.Object --> | The native image that will be used to get the image height. | | + | * //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.// |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== GetCanvasHeightCore(Object) ==== | + | * Description:N/A |
- | 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 === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //feature// |
- | | nativeImage | Object<!-- System.Object --> | The native image will be used to get the image height. | | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:This parameter is the center point feature. | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //width// |
- | [[#Protected Methods|Go Back]] | + | * Type:Single |
- | ==== GetCanvasWidth(Object) ==== | + | * Description:This parameter describes the width of the ellipse to be drawn. |
- | 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 === | + | * //height// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | nativeImage | Object<!-- System.Object --> | The native image that will be used to get the image width. | | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //outlinePen// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ==== GetCanvasWidthCore(Object) ==== | + | * Description:This parameter describes the outline GeoPen that will be used to draw the point. |
- | 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 === | + | * //fillBrush// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | | nativeImage | Object<!-- System.Object --> | The native image that will be used to get the image width. | | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //drawingLevel// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== MeasureTextCore(String, GeoFont) ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. |
- | 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 === | + | * //xOffset// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | text | String<!-- System.String --> | This parameter represents the text you want to measure. | | + | * Description:This parameter determines the X offset for the ellipse to be drawn. |
- | | 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 --> | + | * //yOffset// |
- | [[#Protected Methods|Go Back]] | + | * Type:Single |
- | ==== MemberwiseClone() ==== | + | * Description:This parameter determines the Y offset for the ellipse to be drawn. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | * //penBrushDrawingOrder// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] |
+ | * Description:This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder) ** |
- | ==== OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //Draws a point on the GeoCanvas.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | e | [[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]]<!-- ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs --> | | | + | * //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.// |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== ToGeoImageCore(Object) ==== | + | * Description:N/A |
- | 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 === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //shape// |
- | | nativeImage | Object<!-- System.Object --> | The target object to be converted. | | + | * Type:[[ThinkGeo.MapSuite.Core.PointBaseShape|PointBaseShape]] |
+ | * Description:This parameter is the center point shape. | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //width// |
- | [[#Protected Methods|Go Back]] | + | * Type:Single |
- | ==== ToNativeImageCore(GeoImage) ==== | + | * Description:This parameter describes the width of the ellipse to be drawn. |
- | This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap. | + | |
- | === Remarks === | + | |
- | This method is a BaseClass API and will be used in its sub-concrete classes. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | The returning object containing the same information as the passed-in geoImage. | | + | |
- | === Parameters === | + | * //height// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Single |
- | | image | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | The target geoImage to convert. | | + | * Description:This parameter describes the height of the ellipse to be drawn. |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //outlinePen// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | ===== Public Properties ===== | + | * Description:This parameter describes the outline GeoPen that will be used to draw the point. |
- | ==== ClippingArea ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //fillBrush// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] |
- | ==== CurrentScale ==== | + | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. |
- | This property gets the current scale of the canvas. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Double<!-- System.Double --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | * //drawingLevel// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== CurrentWorldExtent ==== | + | * Description:This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. |
- | 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 --> | + | * //xOffset// |
- | [[#Public Properties|Go Back]] | + | * Type:Single |
- | ==== Dpi ==== | + | * Description:This parameter determines the X offset for the ellipse to be drawn. |
- | The DPI value for the final drawing result, only valid when HasDpi set to true. | + | |
- | === Return Value === | + | * //yOffset// |
- | ^ Return Type ^ | + | * Type:Single |
- | | Single<!-- System.Single --> | | + | * Description:This parameter determines the Y offset for the ellipse to be drawn. |
+ | |||
+ | * //penBrushDrawingOrder// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
+ | * Description:This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //screenPoint// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] | ||
+ | * Description:This parameter is the center point in screen coordinate. | ||
+ | |||
+ | * //width// | ||
+ | * Type:Single | ||
+ | * Description:This parameter describes the width of the ellipse to be drawn. | ||
+ | |||
+ | * //height// | ||
+ | * Type:Single | ||
+ | * Description:This parameter describes the height of the ellipse to be drawn. | ||
+ | |||
+ | * //outlinePen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter describes the outline GeoPen that will be used to draw the point. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the ellipse to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the ellipse to be drawn. | ||
+ | |||
+ | * //penBrushDrawingOrder// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw unscaled. | ||
+ | |||
+ | * //centerXInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The X coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //centerYInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The Y coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw unscaled. | ||
+ | |||
+ | * //centerXInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The X coordinate of the center point (in world coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //centerYInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The Y coordinate of the center point (in world coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the image to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the image to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the image to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw unscaled. | ||
+ | |||
+ | * //centerXInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //centerYInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the image to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the image to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the image to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw. | ||
+ | |||
+ | * //centerXInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The X coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //centerYInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The Y coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //widthInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The width you want to scale the image to. This is the width of the image that will be drawn. | ||
+ | |||
+ | * //heightInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The height you want to scale the image to. This is the height of the image that will be drawn. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw. | ||
+ | |||
+ | * //centerXInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The X coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //centerYInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The Y coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //imageScale// | ||
+ | * Type:Double | ||
+ | * Description:The scale at which you want to draw the image. The final width and height will be caculated based on the scale. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the image to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the image to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the image to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw. | ||
+ | |||
+ | * //centerXInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The X coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //centerYInWorld// | ||
+ | * Type:Double | ||
+ | * Description:The Y coordinate of the center point of where you want to draw the image. | ||
+ | |||
+ | * //widthInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The width you want to scale the image to. This is the width of the image that will be drawn. | ||
+ | |||
+ | * //heightInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The height you want to scale the image to. This is the height of the image that will be drawn. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the image to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the image to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the image to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw. | ||
+ | |||
+ | * //centerXInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //centerYInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //widthInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The width you want to scale the image to. This is the width of the image that will be drawn. | ||
+ | |||
+ | * //heightInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The height you want to scale the image to. This is the height of the image that will be drawn. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the image to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the image to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the image to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,Single,Single,DrawingLevel) ** | ||
+ | |||
+ | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// | ||
+ | == 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:This parameter specifies the text you wish to draw. | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:This parameter represents the font you wish to use to draw the text. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter specifies the kind of fill you want to use to draw the text. | ||
+ | |||
+ | * //upperLeftXInScreen// | ||
+ | * Type:Single | ||
+ | * Description:This parameter is the upper left horizontal point in screen coordinates of where you want to start drawing the text from. | ||
+ | |||
+ | * //upperLeftYInScreen// | ||
+ | * Type:Single | ||
+ | * Description:This parameter is the upper left vertical point in screen coordinates of where you want to start drawing the text from. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,GeoPen,Single,Single,DrawingLevel) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //haloPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //upperLeftXInScreen// | ||
+ | * Type:Single | ||
+ | * Description:N/A | ||
+ | |||
+ | * //upperLeftYInScreen// | ||
+ | * Type:Single | ||
+ | * Description:N/A | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,Double,Double,DrawingLevel) ** | ||
+ | |||
+ | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// | ||
+ | == 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:This parameter specifies the text you wish to draw. | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:This parameter represents the font you wish to use to draw the text. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter specifies the kind of fill you want to use to draw the text. | ||
+ | |||
+ | * //upperLeftXInWorld// | ||
+ | * Type:Double | ||
+ | * Description:This parameter is the upper left horizontal point in world coordinates of where you want to start drawing the text from. | ||
+ | |||
+ | * //upperLeftYInWorld// | ||
+ | * Type:Double | ||
+ | * Description:This parameter is the upper left horizontal point in world coordinates of where you want to start drawing the text from. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,GeoPen,Double,Double,DrawingLevel) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //haloPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //upperLeftXInWorld// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | * //upperLeftYInWorld// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DrawText(String,GeoFont,GeoBrush,IEnumerable<ScreenPointF>,DrawingLevel) ** | ||
+ | |||
+ | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:This parameter specifies the text you wish to draw. | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:This parameter represents the font you wish to use to draw the text. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter specifies the kind of fill you want to use to draw the text. | ||
+ | |||
+ | * //textPathInScreen// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]> | ||
+ | * Description:This parameter specifies the path on which to draw the text. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} DrawText(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,Single) ** | ||
+ | |||
+ | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:This parameter specifies the text you wish to draw. | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:This parameter represents the font you wish to use to draw the text. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter specifies the kind of fill you want to use to draw the text. | ||
+ | |||
+ | * //haloPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed. | ||
+ | |||
+ | * //textPathInScreen// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]> | ||
+ | * Description:This parameter specifies the path on which to draw the text. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the text to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the text to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the text to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} MeasureText(String,GeoFont) ** | ||
+ | |||
+ | * //This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.// | ||
+ | == Remarks == | ||
+ | * //This method is typically used for labeling, to determine whether labels overlap.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
+ | * Description:This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:This parameter represents the text you want to measure. | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:This parameter represents the font of the text you want to measure. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:This parameter represents the image you want the GeoCanvas to draw on. | ||
+ | |||
+ | * //worldExtent// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:This parameter is the world extent of the canvasImage. | ||
+ | |||
+ | * //drawingMapUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
+ | * Description:This parameter is the map unit of the canvasImage. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Object | ||
+ | * Description:The returning object containing the same information as the passed-in geoImage. | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The target geoImage to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The returning GeoImage containing the same information as the passed-in nativeImage. | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:The target object to be converted. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetStreamFromGeoImage(GeoImage) ** | ||
+ | |||
+ | * //Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Stream | ||
+ | * Description:The returning stream retrieved from the passed-in image. | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The parameter specifies the image to get the stream from. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //obj// | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //e// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} ToWorldCoordinate(DrawingRectangleF) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //drawingRectangle// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
+ | * Description:A cloned GeoCanvas. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter specifies the the brush that will be used to clear the GeoCanvas. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawAreaCore(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 == | ||
+ | * Type:Void | ||
+ | * Description: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 == | ||
+ | * //screenPoints// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF[]|ScreenPointF[]]]> | ||
+ | * Description:This parameter is the AreaShape in well-known binary format. | ||
+ | |||
+ | * //outlinePen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter describes the outline GeoPen that will be used to draw the AreaShape. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter describes the fill GeoBrush that will be used to draw the AreaShape. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the feature to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the feature to be drawn. | ||
+ | |||
+ | * //penBrushDrawingOrder// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
+ | * Description:This parameter determines the PenBrushDrawingOrder used when drawing the area type feature. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawLineCore(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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //screenPoints// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]> | ||
+ | * Description:This parameter is the LineShape in well-known binary format. | ||
+ | |||
+ | * //linePen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter describes the GeoPen that will be used to draw the LineShape. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel that the GeoPen will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the feature to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the feature to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawEllipseCore(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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //screenPoint// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] | ||
+ | * Description:This parameter is the center point in well-known binary format. | ||
+ | |||
+ | * //width// | ||
+ | * Type:Single | ||
+ | * Description:This parameter describes the width of the ellipse to be drawn. | ||
+ | |||
+ | * //height// | ||
+ | * Type:Single | ||
+ | * Description:This parameter describes the height of the ellipse to be drawn. | ||
+ | |||
+ | * //outlinePen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter describes the outline GeoPen that will be used to draw the point. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter describes the fill GeoBrush that will be used to draw the point. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the screenPoint to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the screenPoint to be drawn. | ||
+ | |||
+ | * //penBrushDrawingOrder// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PenBrushDrawingOrder|PenBrushDrawingOrder]] | ||
+ | * Description:This parameter determines the PenBrushDrawingOrder used when drawing the ellipse. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw unscaled. | ||
+ | |||
+ | * //centerXInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //centerYInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the image to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the image to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the image to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The image you want to draw. | ||
+ | |||
+ | * //centerXInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The X coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //centerYInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The Y coordinate of the center point (in screen coordinates) of where you want to draw the image. | ||
+ | |||
+ | * //widthInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The width you want to scale the image to. This is the width of the image that will be drawn. | ||
+ | |||
+ | * //heightInScreen// | ||
+ | * Type:Single | ||
+ | * Description:The height you want to scale the image to. This is the height of the image that will be drawn. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter determines the DrawingLevel the image will draw on. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the image to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the image to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the image to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawTextCore(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,DrawingLevel,Single,Single,Single) ** | ||
+ | |||
+ | * //This method allows you to draw text at the specified location, using the specified brush and font parameters.// | ||
+ | == 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:This parameter specifies the text you wish to draw. | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:This parameter represents the font you wish to use to draw the text. | ||
+ | |||
+ | * //fillBrush// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoBrush|GeoBrush]] | ||
+ | * Description:This parameter specifies the kind of fill you want to use to draw the text. | ||
+ | |||
+ | * //haloPen// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | ||
+ | * Description:This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed. | ||
+ | |||
+ | * //textPathInScreen// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]> | ||
+ | * Description:This parameter specifies the path on which to draw the text. | ||
+ | |||
+ | * //drawingLevel// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | ||
+ | * Description:This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels. | ||
+ | |||
+ | * //xOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the X offset for the text to be drawn. | ||
+ | |||
+ | * //yOffset// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the Y offset for the text to be drawn. | ||
+ | |||
+ | * //rotateAngle// | ||
+ | * Type:Single | ||
+ | * Description:This parameter determines the rotation angle for the text to be drawn. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MeasureTextCore(String,GeoFont) ** | ||
+ | |||
+ | * //This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.// | ||
+ | == Remarks == | ||
+ | * //This method is typically used for labeling, to determine whether labels overlap.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | ||
+ | * Description:This method returns the rectangle that contains the specified text, when that text is drawn with the specified font. | ||
+ | |||
+ | == Parameters == | ||
+ | * //text// | ||
+ | * Type:String | ||
+ | * Description:This parameter represents the text you want to measure. | ||
+ | |||
+ | * //font// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | ||
+ | * Description:This parameter represents the font of the text you want to measure. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:This parameter represents the image you want the GeoCanvas to draw on. | ||
+ | |||
+ | * //worldExtent// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:This parameter is the world extent of the canvasImage. | ||
+ | |||
+ | * //drawingMapUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
+ | * Description:This parameter is the map unit of the canvasImage. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} ToNativeImageCore(GeoImage) ** | ||
+ | |||
+ | * //This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap.// | ||
+ | == Remarks == | ||
+ | * //This method is a BaseClass API and will be used in its sub-concrete classes.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:The returning object containing the same information as the passed-in geoImage. | ||
+ | |||
+ | == Parameters == | ||
+ | * //image// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The target geoImage to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} ToGeoImageCore(Object) ** | ||
+ | |||
+ | * //This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap.// | ||
+ | == Remarks == | ||
+ | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:The returning GeoImage containing the same information as the passed-in nativeImage. | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:The target object to be converted. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:Single | ||
+ | * Description:The returning canvas width. | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:The native image that will be used to get the image width. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetCanvasWidthCore(Object) ** | ||
+ | |||
+ | * //This method gets the canvas width of the passed-in native image object.// | ||
+ | == Remarks == | ||
+ | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Single | ||
+ | * Description:The returning canvas width. | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:The native image that will be used to get the image width. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:Single | ||
+ | * Description:The returning canvas height. | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:The native image that will be used to get the image height. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetCanvasHeightCore(Object) ** | ||
+ | |||
+ | * //This method gets the canvas height of the passed-in native image object.// | ||
+ | == Remarks == | ||
+ | * //This method is a BaseClass API and will be implemented and used in its sub-concrete classes.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Single | ||
+ | * Description:The returning canvas height. | ||
+ | |||
+ | == Parameters == | ||
+ | * //nativeImage// | ||
+ | * Type:Object | ||
+ | * Description:The native image will be used to get the image height. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawEvalWaterMarked(String) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //waterMarkedString// | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawFullWaterMarked(String) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //waterMarkedString// | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} EndDrawingCore() ** | ||
+ | |||
+ | * //This method ends drawing and commits the drawing on the GeoCanvas.// | ||
+ | == Remarks == | ||
+ | * //This methods should be called when you are finished drawing. It will commit the image changes to the image you passed in on BeginDrawing. It will also set IsDrawing to false. After you call this method it will put the GeoCanvas into an invalid state, so if you then call any drawing methods it will raise an exception.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{wiki:PublicProperty.gif|}} ClippingArea ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} CurrentScale ** | ||
+ | |||
+ | This property gets the current scale of the canvas. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} DrawingQuality ** | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== DrawingQuality ==== | ||
This property returns the drawing quality when rendering on the GeoCanvas. | This property returns the drawing quality when rendering on the GeoCanvas. | ||
- | === Remarks === | + | == 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. | 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 Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]] |
- | | [[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]]<!-- ThinkGeo.MapSuite.Core.DrawingQuality --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | ** {{wiki:PublicProperty.gif|}} MapUnit ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== HasKeyColor ==== | + | This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas. |
- | This property indicates whether a GeoCanvas 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 == |
- | === Remarks === | + | N/A |
- | The default value is false. | + | == Return Value == |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | ** {{wiki:PublicProperty.gif|}} 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 == | ||
+ | * Type:Single | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Height ** | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Height ==== | ||
This property gets the height of the canvas. | This property gets the height of the canvas. | ||
- | === Remarks === | + | == Remarks == |
This property reflects the height of the canvas image that was passed in on BeginDrawing. | This property reflects the height of the canvas image that was passed in on BeginDrawing. | ||
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Single |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | ** {{wiki:PublicProperty.gif|}} CurrentWorldExtent ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== IsDrawing ==== | + | This property gets the adjusted current extent based on what was set when BeginDrawing was called. |
- | This property gets the drawing status of the GeoCanvas. | + | == Remarks == |
- | === 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. |
- | This property is set to true when the BeginDrawing method is called, and false after the EndDrawing method is called. | + | == Return Value == |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | ** {{wiki:PublicProperty.gif|}} HasKeyColor ** |
+ | |||
+ | This property indicates whether a GeoCanvas 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 false. | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} KeyColors ** | ||
- | <!-- 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. | Gets a value represents a collection of key colors. If HasKeyColor property is false, it will throw exception when you use KeyColors. | ||
- | === Remarks === | + | == Remarks == |
It will make these colors transparent when draw image. | It will make these colors transparent when draw image. | ||
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]]> |
- | | Collection<[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.GeoColor} --> | | + | |
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | ** {{wiki:PublicProperty.gif|}} NativeImage ** |
- | [[#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. | The same reference to the parameter 'nativeImage' in BeginDrawing function. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | N/A |
- | | Object<!-- System.Object --> | | + | == Return Value == |
+ | * Type:Object | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | ** {{wiki:PublicProperty.gif|}} IsDrawing ** |
- | [[#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 --> | + | This property gets the drawing status of the GeoCanvas. |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ===== Protected Properties ===== | + | This property is set to true when the BeginDrawing method is called, and false after the EndDrawing method is called. |
- | ===== Public Events ===== | + | == Return Value == |
- | ==== DrawingProgressChanged ==== | + | * Type:Boolean |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | ** {{wiki:PublicProperty.gif|}} Dpi ** |
- | | [[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]]<!-- ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs --> | | + | |
+ | The DPI value for the final drawing result, only valid when HasDpi set to true. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Single | ||
+ | |||
+ | ==== Protected Properties ==== | ||
+ | ** {{wiki:ProtectedProperty.gif|}} HasDrawn ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:ProtectedProperty.gif|}} IsCancelled ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ==== Public Events ==== | ||
+ | ** {{wiki:PublicEvent.gif|}} DrawingProgressChanged ** | ||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | __NOTOC__ | ||
- | [[Category:MapSuiteCore]] | ||
- | [[Category:ThinkGeo.MapSuite.Core]] | ||
- | [[Category:UpdateDocumentation]] | ||