User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.webimage

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.WebImage

<!– Class –> Represents a small image that displays on the map.

Remarks

The <strong>WebImage</strong> object represents a small image on the map. The <strong>WebImage</strong> class has many properties that determine the apprearance of the image. Currently, the WebImage is used for creating markers.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodWebImage Initialize a new instance of the WebImage class.
Public MethodWebImage String Initialize a new instance of the WebImage class.
Public MethodWebImage Int32, Int32 Initialize a new instance of the WebImage class.
Public MethodWebImage Int32, Int32, Single, Single Initialize a new instance of the WebImage class.
Public MethodWebImage String, Int32, Int32 Initialize a new instance of the WebImage class.
Public MethodWebImage String, Int32, Int32, Single, Single Initialize a new instance of the WebImage class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodCloneShallow Creates a shallow copy of the current WebImage object.
Public MethodEquals Object Object
Public MethodFromJson String
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToJson Returns a JSON string that contains the information for creating a client image object at the client side.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyFontColor GeoColor Gets or sets the color of the text on the image.
Public PropertyFontStyle GeoFont Gets or sets the style applied to the text on the image.
Public PropertyImageHeight Int32 Gets or sets the height of the web image.
Public PropertyImageOffsetX Single Gets or sets the image's X offset.
Public PropertyImageOffsetY Single Gets or sets the image's Y offset.
Public PropertyImageVirtualPath String Gets or sets the virtual path of the image file.
Public PropertyImageWidth Int32 Gets or sets the width of the web image.
Public PropertyRotationAngle Single Gets or sets the rotation angle of the web image.
Public PropertyText String Gets or sets the text displayed on the image.
Public PropertyTextBackgroundColor GeoColor Gets or sets the background color of the text on the image.
Public PropertyTextOffsetX Single Gets or sets the X offset of the text on the image.
Public PropertyTextOffsetY Single Gets or sets the Y offset of the text on the image.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

WebImage()

Initialize a new instance of the WebImage class.

Overloads

Initialize a new instance of the WebImage class.

Parameters

Name Type Description

Go Back

WebImage(String)

Initialize a new instance of the WebImage class.

Overloads

Initialize a new instance of the WebImage class.

Parameters

Name Type Description
imageVirtualPath String<!– System.String –> The virtual path of the image.

Go Back

WebImage(Int32, Int32)

Initialize a new instance of the WebImage class.

Overloads

Initialize a new instance of the WebImage class.

Parameters

Name Type Description
imageWidth Int32<!– System.Int32 –> The width of the image.
imageHeight Int32<!– System.Int32 –> The height of the image.

Go Back

WebImage(Int32, Int32, Single, Single)

Initialize a new instance of the WebImage class.

Overloads

Initialize a new instance of the WebImage class.

Parameters

Name Type Description
imageWidth Int32<!– System.Int32 –> The width of the image.
imageHeight Int32<!– System.Int32 –> The height of the image.
imageOffsetX Single<!– System.Single –> The offset X of the image.
imageOffsetY Single<!– System.Single –> The offset Y of the image.

Go Back

WebImage(String, Int32, Int32)

Initialize a new instance of the WebImage class.

Overloads

Initialize a new instance of the WebImage class.

Parameters

Name Type Description
imageVirtualPath String<!– System.String –> The virtual path of the image.
imageWidth Int32<!– System.Int32 –> The width of the image.
imageHeight Int32<!– System.Int32 –> The height of the image.

Go Back

WebImage(String, Int32, Int32, Single, Single)

Initialize a new instance of the WebImage class.

Overloads

Initialize a new instance of the WebImage class.

Parameters

Name Type Description
imageVirtualPath String<!– System.String –> The virtual path of the image.
imageWidth Int32<!– System.Int32 –> The width of the image.
imageHeight Int32<!– System.Int32 –> The height of the image.
imageOffsetX Single<!– System.Single –> The offset X of the image.
imageOffsetY Single<!– System.Single –> The offset Y of the image.

Go Back

Protected Constructors

Public Methods

CloneShallow()

Creates a shallow copy of the current WebImage object.

Return Value

Return Type Description
WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

FromJson(String)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
jsonString String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToJson()

Returns a JSON string that contains the information for creating a client image object at the client side.

Return Value

Return Type Description
String<!– System.String –> A JSON string that contains the information for creating a client image object at the client side.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

FontColor

Gets or sets the color of the text on the image.

Return Value

Return Type
GeoColor<!– ThinkGeo.MapSuite.Core.GeoColor –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

FontStyle

Gets or sets the style applied to the text on the image.

Return Value

Return Type
GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

ImageHeight

Gets or sets the height of the web image.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

ImageOffsetX

Gets or sets the image's X offset.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

ImageOffsetY

Gets or sets the image's Y offset.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

ImageVirtualPath

Gets or sets the virtual path of the image file.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

ImageWidth

Gets or sets the width of the web image.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

RotationAngle

Gets or sets the rotation angle of the web image.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

Text

Gets or sets the text displayed on the image.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

TextBackgroundColor

Gets or sets the background color of the text on the image.

Return Value

Return Type
GeoColor<!– ThinkGeo.MapSuite.Core.GeoColor –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

TextOffsetX

Gets or sets the X offset of the text on the image.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

TextOffsetY

Gets or sets the Y offset of the text on the image.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.webimage.1440040132.txt.gz · Last modified: 2015/09/21 03:36 (external edit)