User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.geotexturebrush

ThinkGeo.MapSuite.WindowsPhoneCore.GeoTextureBrush

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Class –> This class is used to fill an area with a image texture.

Remarks

This class is used to fill an area with a image texture. For example, you may have a small bitmap that looks like marble, which you can then use to fill in an area feature.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGeoTextureBrush GeoImage This is a constructor for the class.
Public MethodGeoTextureBrush GeoImage, DrawingRectangleF This is a constructor for the class.
Public MethodGeoTextureBrush GeoImage, GeoWrapMode This is a constructor for the class.
Public MethodGeoTextureBrush GeoImage, GeoWrapMode, DrawingRectangleF This is a constructor for the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyDrawingRectangleF DrawingRectangleF This property gets and sets the screen rectangle used to fill the texture.
Public PropertyGeoImage GeoImage This property gets and sets the GeoImage used for the texture fill.
Public PropertyGeoWrapMode GeoWrapMode This property gets and sets the wrap mode that is used to determine how an area is filled if the area is larger than the texture.
Public PropertyId Int64 GeoBrush The id of the GeoBrush. This is always used as a key when in the cached brushes.
Public PropertyOpacity Double GeoBrush

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GeoTextureBrush(GeoImage)

This is a constructor for the class.

Overloads

This overload allows you to pass in the image for the texture.

Remarks

You will use this constructor when you want to use the Tile wrap mode and you want the image fill to encompass the entire shape.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> This parameter is the image you want to use as the texture.

Go Back

GeoTextureBrush(GeoImage, DrawingRectangleF)

This is a constructor for the class.

Overloads

This constructor allows you to pass in the image as well as a screen rectangle that determines how much of the area is filled.

Remarks

This method allows you to pass in a rectangle in screen coordinates to determine how much of the area is textured.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> This parameter is the image you want to use as the texture.
rectangleF DrawingRectangleF<!– ThinkGeo.MapSuite.WindowsPhoneCore.DrawingRectangleF –> This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture.

Go Back

GeoTextureBrush(GeoImage, GeoWrapMode)

This is a constructor for the class.

Overloads

This constructor allows you to pass in the image and the wrap mode.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> This parameter is the image you want to use as the texture.
wrapMode GeoWrapMode<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoWrapMode –> This parameter determines the way the texture wraps when the area to fill is larger than the texture.

Go Back

GeoTextureBrush(GeoImage, GeoWrapMode, DrawingRectangleF)

This is a constructor for the class.

Overloads

This constructor allows you to pass in the image as well as a screen rectangle that determines how much of the area is filled along with the wrap mode.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> This parameter is the image you want to use as the texture.
wrapMode GeoWrapMode<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoWrapMode –> This parameter determines the way the texture wraps when the area to fill is larger than the texture.
rectangleF DrawingRectangleF<!– ThinkGeo.MapSuite.WindowsPhoneCore.DrawingRectangleF –> This parameter is a rectangle (in screen coordinates) that specifies the area you want to use for the texture.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

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

Parameters

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

<!– System.Object –> 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

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

DrawingRectangleF

This property gets and sets the screen rectangle used to fill the texture.

Return Value

Return Type
DrawingRectangleF<!– ThinkGeo.MapSuite.WindowsPhoneCore.DrawingRectangleF –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoTextureBrush –> Go Back

GeoImage

This property gets and sets the GeoImage used for the texture fill.

Return Value

Return Type
GeoImage<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoTextureBrush –> Go Back

GeoWrapMode

This property gets and sets the wrap mode that is used to determine how an area is filled if the area is larger than the texture.

Remarks

This property gets and sets the wrap mode that is used to determine how an area is filled if the area is larger than the texture.

Return Value

Return Type
GeoWrapMode<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoWrapMode –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoTextureBrush –> Go Back

Id

The id of the GeoBrush. This is always used as a key when in the cached brushes.

Return Value

Return Type
Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –> Go Back

Opacity

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoBrush –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.windowsphonecore.geotexturebrush.txt · Last modified: 2017/03/16 21:59 (external edit)